◆ SyncBase() [1/2]
◆ SyncBase() [2/2]
T InternalValue
Definition: SyncBase.cs:16
◆ DecodeFrom()
75 bool isDefault = reader.ReadBoolean();
76 T newVal =
default(T);
78 newVal = (T)_codec.
Decode(reader);
80 if (!context.ValidateValue ||
this.Validate(
this.InternalValue, newVal, context))
BinaryDecoder Decode
Definition: TypeCodec.cs:15
T InternalValue
Definition: SyncBase.cs:16
◆ EncodeTo()
67 bool isDefault = this.IsDefault;
68 writer.Write(isDefault);
BinaryEncoder Encode
Definition: TypeCodec.cs:14
T InternalValue
Definition: SyncBase.cs:16
◆ Equals()
117 if (obj is SyncBase<T>)
static readonly IEqualityComparer< T > Comparer
Definition: SyncBase.cs:13
T InternalValue
Definition: SyncBase.cs:16
◆ GetHashCode()
T InternalValue
Definition: SyncBase.cs:16
◆ Load()
T InternalValue
Definition: SyncBase.cs:16
◆ operator T()
124 return sync.InternalValue;
◆ operator!=() [1/2]
134 return !
Comparer.Equals(left.InternalValue, right);
static readonly IEqualityComparer< T > Comparer
Definition: SyncBase.cs:13
◆ operator!=() [2/2]
144 return !
Comparer.Equals(left.InternalValue, right.InternalValue);
static readonly IEqualityComparer< T > Comparer
Definition: SyncBase.cs:13
◆ operator==() [1/2]
129 return Comparer.Equals(left.InternalValue, right);
static readonly IEqualityComparer< T > Comparer
Definition: SyncBase.cs:13
◆ operator==() [2/2]
139 return Comparer.Equals(left.InternalValue, right.InternalValue);
static readonly IEqualityComparer< T > Comparer
Definition: SyncBase.cs:13
◆ Persist()
T InternalValue
Definition: SyncBase.cs:16
◆ ToString()
T InternalValue
Definition: SyncBase.cs:16
static readonly string TypeName
Definition: SyncBase.cs:14
◆ Comparer
◆ InternalValue
◆ TypeName
The documentation for this class was generated from the following file: