UtilityExchange 1.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package UtilityExchange --version 1.0.8
NuGet\Install-Package UtilityExchange -Version 1.0.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UtilityExchange" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UtilityExchange --version 1.0.8
#r "nuget: UtilityExchange, 1.0.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 807 11/9/2018
1.0.57 813 7/20/2018
1.0.56 817 7/20/2018
1.0.55 873 6/14/2018
1.0.54 937 12/25/2017
1.0.53 876 11/15/2017
1.0.52 842 11/15/2017
1.0.51 818 11/15/2017
1.0.50 863 11/14/2017
1.0.49 844 11/14/2017
1.0.48 866 10/10/2017
1.0.47 851 10/5/2017
1.0.46 851 9/26/2017
1.0.45 866 9/25/2017
1.0.44 894 9/21/2017
1.0.43 885 9/6/2017
1.0.42 878 9/6/2017
1.0.41 872 9/5/2017
1.0.40 888 9/5/2017
1.0.39 869 9/4/2017
1.0.38 888 9/4/2017
1.0.37 893 9/4/2017
1.0.36 897 8/15/2017
1.0.35 851 8/15/2017
1.0.34 882 7/6/2017
1.0.33 877 7/6/2017
1.0.32 901 7/4/2017
1.0.31 967 6/20/2017
1.0.30 947 6/20/2017
1.0.29 942 6/20/2017
1.0.28 918 6/20/2017
1.0.27 872 6/20/2017
1.0.26 869 6/20/2017
1.0.25 903 6/19/2017
1.0.24 876 6/19/2017
1.0.23 871 6/19/2017
1.0.22 878 6/19/2017
1.0.21 912 6/19/2017
1.0.20 897 6/19/2017
1.0.19 901 6/19/2017
1.0.18 885 6/19/2017
1.0.17 931 6/19/2017
1.0.16 893 6/19/2017
1.0.15 922 6/19/2017
1.0.14 918 6/16/2017
1.0.13 896 6/16/2017
1.0.12 881 6/16/2017
1.0.11 867 6/16/2017
1.0.10 972 6/16/2017
1.0.9 895 6/16/2017
1.0.8 882 6/16/2017
1.0.7 924 6/16/2017
1.0.6 907 6/16/2017
1.0.5 913 6/16/2017
1.0.4 912 6/16/2017
1.0.3 904 6/15/2017
1.0.2 935 6/15/2017
1.0.1 997 6/15/2017
1.0.0 935 6/15/2017

ExchangeDocumentExchanger: подробная обработка ошибок