ReadOnlyCollectionCodec<T>
class
Namespace: Orleans.Serialization.Codecs
Serializer for
System.Collections.ObjectModel.ReadOnlyCollection. public sealed class ReadOnlyCollectionCodec<T> : GeneralizedReferenceTypeSurrogateCodec<ReadOnlyCollection<T>, ReadOnlyCollectionSurrogate<T>>Constructors
ReadOnlyCollectionCodec<T>(IValueSerializer<ReadOnlyCollectionSurrogate<T>>)Initializes a new instance of theOrleans.Serialization.Codecs.ReadOnlyCollectionCodecclass.
Methods
ConvertFromSurrogate(ReadOnlyCollectionSurrogate<T>)Converts a value from the surrogate type to the field type.ConvertToSurrogate(ReadOnlyCollection<T>, ReadOnlyCollectionSurrogate<T>)Converts a value to the surrogate type.
