public bool EqualsType(MySubType other) { return(Bool == other.Bool && Int32 == other.Int32 && UInt32 == other.UInt32 && Int64 == other.Int64 && UInt64 == other.UInt64 && Float32.Equals(other.Float32) && Float64.Equals(other.Float64) && Enum == other.Enum && string.Equals(Str, other.Str)); }
public void Init( ) { BoolSlice = new List <bool>(); Int32Slice = new List <int>(); UInt32Slice = new List <uint>(); Int64Slice = new List <long>(); UInt64Slice = new List <ulong>(); Float32Slice = new List <float>(); Float64Slice = new List <double>(); StrSlice = new List <string>(); EnumSlice = new List <MyEnum>(); Struct = (MySubType)InputStream.CreateStruct(typeof(MySubType)); }