Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Classes
Package Loyc.SyncLib.Impl

Classes

struct  ArrayBuilder< T >
 
struct  AsISyncField< SyncManager, T >
 An adapter from SyncFieldFunc_Ref{S,T} to ISyncField{S,T} More...
 
struct  AsISyncObject< SyncManager, T >
 An adapter from SyncObjectFunc{S,T} to ISyncObject{S,T}. More...
 
struct  CollectionBuilder< TList, T >
 Helper type for reading ICollection{T} types. More...
 
interface  IListBuilder< out TList, T >
 An interface implemented by adapters that help read and write lists of various types, e.g. ListBuilder{T}. The adapter can be used to read a collection once or write it once, but not both. More...
 
struct  ListBuilder< T >
 
struct  ListLoader< SyncManager, TList, T, ListBuilder, SyncItem >
 
struct  ListSaver< SyncManager, List, T, SyncItem >
 Contains a sync function for saving a IReadOnlyCollection{T}. Requires and assumes that IsSaving is true in the ISyncManager provided. More...
 
struct  ListSaverC< SyncManager, List, T, SyncItem >
 A variation of ListSaver<...> for lists that implement ICollection{T}. More...
 
struct  MemoryBuilder< T >
 
class  ObjectSyncher
 A helper for reading/writing data using a SyncObjectFunc{SyncManager, T}. More...
 
struct  ObjectSyncher< SyncManager, SyncObj, T >
 A helper for reading/writing objects and structs via ISyncObject{SyncManager, T}. More...
 
struct  ScannerSaver< SyncManager, Scanner, T, SyncItem >
 Contains a sync function for saving an IScanner{T}. Requires and assumes that IsWriting is true in the ISyncManager provided. More...
 
struct  SyncDateAsDayNumber< SyncManager >
 
struct  SyncEnumAsString< SyncManager, E >
 
struct  SyncLibStringBuilder
 Helper type for reading StringBuilder. This is actually used to help read strings in case they don't have a length prefix. More...
 
struct  SyncList< SM, T, List, SyncItem >
 Contains an implementation of ISyncField for any ICollection{T} type. The constructor requires a synchronizer that implements ISyncField{SM, T}. More...
 
struct  SyncList< SM, T, SyncItem >
 Contains implementations of ISyncField for several types of lists. The constructor requires a synchronizer that implements ISyncField{SM, T}. More...
 
struct  SyncObjectList< SM, T >
 Contains implementations of ISyncField for several types of lists. The constructor needs a SyncObjectFunc{SM, T} delegate to synchronize each list item. More...
 
struct  SyncObjectList< SM, T, SyncObj >
 Contains implementations of ISyncField for several types of lists. The constructor requires a synchronizer that implements ISyncObject{SM, T}. More...
 
struct  SyncPrimitive< SyncManager >
 
struct  SyncTime< SM >
 The default synchronizer for times and dates (DateTime, DateTimeOffset and TimeSpan), used by the Sync extension methods in SyncTimeExt. In plain-text formats, values are written as strings in the same way as Newtonsoft.Json (see SyncTimeAsString{SM}); otherwise they are written as integers (see SyncTimeAsTicks{SM}). When reading, the type of the field in the data stream (if available) determines which representation is parsed, so either representation can be read back. More...
 
struct  SyncTimeAsString< SM >
 Synchronizes DateTime, DateTimeOffset and TimeSpan values as strings. By default the formats match Newtonsoft.Json: ISO-8601 for DateTime — written in one of three forms according to its DateTimeKind (see SyncDateTimeHelper.NewtonsoftDateFormat) — and for DateTimeOffset, and constant ("c") format for TimeSpan. A different format can be chosen via the constructor. All strings are written and parsed with the invariant culture. More...
 
struct  SyncTimeAsTicks< SM >
 Synchronizes date/time values as integers: DateTime as the 64-bit value of DateTime.ToBinary (which equals Ticks when the DateTimeKind is Unspecified, and preserves the Kind otherwise), TimeSpan as TimeSpan.Ticks, and DateTimeOffset — the one type here that does not fit in 64 bits — as a tuple of two integers: Ticks, and the UTC offset in minutes. More...
 
class  WriterStateBase