public void WriteStruct(INdrStructure structure)
        {
            bool conformant = false;

            if (structure is INdrConformantStructure conformant_structure)
            {
                conformant = SetupConformance(conformant_structure.GetConformantDimensions());
                System.Diagnostics.Debug.Assert(_conformance_position.HasValue);
            }

            structure.Marshal(this);

            if (conformant)
            {
                System.Diagnostics.Debug.Assert(!_conformance_position.HasValue);
            }
        }
예제 #2
0
 private void WriteStructInternal(INdrStructure structure)
 {
     Align(structure.GetAlignment());
     structure.Marshal(this);
 }
예제 #3
0
 public void WriteStruct(INdrStructure structure)
 {
     structure.Marshal(this);
 }