/** <inheritdoc /> */
        public T ReadBinary <T>(BinaryReader reader, Type type, int pos)
        {
            var holder = new DateTimeHolder(reader);

            return(TypeCaster <T> .Cast(holder.Item));
        }
Exemple #2
0
 /// <summary>
 /// Checks equality.
 /// </summary>
 private bool Equals(DateTimeHolder other)
 {
     return(_item.Equals(other._item));
 }