UtilityExchange 1.0.8
See the version list below for details.
dotnet add package UtilityExchange --version 1.0.8
NuGet\Install-Package UtilityExchange -Version 1.0.8
<PackageReference Include="UtilityExchange" Version="1.0.8" />
paket add UtilityExchange --version 1.0.8
#r "nuget: UtilityExchange, 1.0.8"
// Install UtilityExchange as a Cake Addin #addin nuget:?package=UtilityExchange&version=1.0.8 // Install UtilityExchange as a Cake Tool #tool nuget:?package=UtilityExchange&version=1.0.8
Библиотека позволяет реализовать обмен кастомных документов откуда и куда угодно.
ExchangeDocument - документ обмена - обертка для коллекции объектов обмена IExchangeObject, с одинаковым UniqueId и ItemType.
Есть реализация IExchangeObject - ExchangeObject, в котором UniqueId генерируется по свойствам объекта, помеченных UniquePropertyAttribute или задается явно через конструктор.
DocumentExchanger - непосредственно обмен, состоящий из двух объектов:
1. IExchangeDocumentFinder - поиск документа
2. IExchangeDocumentExchanger - обмен документа
Вызвав метод ExchangeDocument(), произойдет IEnumerable<ExchangeDocument> = IExchangeDocumentFinder.Find(), а затем foreach IExchangeDocumentExchanger.Exchange(ExchangeDocument).
Будут возбуждены события:
DocumentFinded - документ найден;
DocumentExchanged - обмен документа произведен удачно;
DocumentNotExchanged - обмен завершился с ошибкой.
Также есть обертка над DocumentExchanger - IStartStopExchanger. Постоянное выполнение DocumentExchanger.ExchangeDocument()
RuntimeExchanger : IStartStopExchanger - постоянный обмен в реальном времени;
IntervalExchanger : RuntimeExchanger - обмен через интервал;
TimeSpanExchanger : RuntimeExchanger - обмен по расписанию.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.58 | 837 | 11/9/2018 |
1.0.57 | 838 | 7/20/2018 |
1.0.56 | 845 | 7/20/2018 |
1.0.55 | 901 | 6/14/2018 |
1.0.54 | 966 | 12/25/2017 |
1.0.53 | 906 | 11/15/2017 |
1.0.52 | 868 | 11/15/2017 |
1.0.51 | 846 | 11/15/2017 |
1.0.50 | 881 | 11/14/2017 |
1.0.49 | 872 | 11/14/2017 |
1.0.48 | 894 | 10/10/2017 |
1.0.47 | 880 | 10/5/2017 |
1.0.46 | 879 | 9/26/2017 |
1.0.45 | 889 | 9/25/2017 |
1.0.44 | 920 | 9/21/2017 |
1.0.43 | 911 | 9/6/2017 |
1.0.42 | 905 | 9/6/2017 |
1.0.41 | 904 | 9/5/2017 |
1.0.40 | 916 | 9/5/2017 |
1.0.39 | 897 | 9/4/2017 |
1.0.38 | 914 | 9/4/2017 |
1.0.37 | 919 | 9/4/2017 |
1.0.36 | 925 | 8/15/2017 |
1.0.35 | 880 | 8/15/2017 |
1.0.34 | 910 | 7/6/2017 |
1.0.33 | 901 | 7/6/2017 |
1.0.32 | 930 | 7/4/2017 |
1.0.31 | 997 | 6/20/2017 |
1.0.30 | 970 | 6/20/2017 |
1.0.29 | 970 | 6/20/2017 |
1.0.28 | 954 | 6/20/2017 |
1.0.27 | 895 | 6/20/2017 |
1.0.26 | 898 | 6/20/2017 |
1.0.25 | 933 | 6/19/2017 |
1.0.24 | 901 | 6/19/2017 |
1.0.23 | 895 | 6/19/2017 |
1.0.22 | 902 | 6/19/2017 |
1.0.21 | 942 | 6/19/2017 |
1.0.20 | 907 | 6/19/2017 |
1.0.19 | 925 | 6/19/2017 |
1.0.18 | 910 | 6/19/2017 |
1.0.17 | 957 | 6/19/2017 |
1.0.16 | 918 | 6/19/2017 |
1.0.15 | 949 | 6/19/2017 |
1.0.14 | 946 | 6/16/2017 |
1.0.13 | 921 | 6/16/2017 |
1.0.12 | 915 | 6/16/2017 |
1.0.11 | 897 | 6/16/2017 |
1.0.10 | 996 | 6/16/2017 |
1.0.9 | 927 | 6/16/2017 |
1.0.8 | 916 | 6/16/2017 |
1.0.7 | 951 | 6/16/2017 |
1.0.6 | 933 | 6/16/2017 |
1.0.5 | 939 | 6/16/2017 |
1.0.4 | 923 | 6/16/2017 |
1.0.3 | 926 | 6/15/2017 |
1.0.2 | 959 | 6/15/2017 |
1.0.1 | 1,028 | 6/15/2017 |
1.0.0 | 960 | 6/15/2017 |
ExchangeDocumentExchanger: подробная обработка ошибок