예제 #1
0
 private void LazinateNonLazinatorInterchangeableStruct()
 {
     if (LazinatorMemoryStorage.Length == 0)
     {
         _NonLazinatorInterchangeableStruct = default(NonLazinatorInterchangeableStruct);
     }
     else
     {
         LazinatorMemory childData = GetChildSlice(LazinatorMemoryStorage, _NonLazinatorInterchangeableStruct_ByteIndex, _NonLazinatorInterchangeableStruct_ByteLength, null); _NonLazinatorInterchangeableStruct = ConvertFromBytes_NonLazinatorInterchangeableStruct(childData);
     }
     _NonLazinatorInterchangeableStruct_Accessed = true;
 }
예제 #2
0
 public NonLazinatorInterchangeStruct(
     NonLazinatorInterchangeableStruct nonLazinatorInterchangeableStruct) : this()
 {
     MyString = nonLazinatorInterchangeableStruct.MyString;
     MyInt    = (int)_privateFieldInfoForMyInt.GetValue(nonLazinatorInterchangeableStruct);
 }