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);
            }
        }
Ejemplo n.º 2
0
 private void WriteStructInternal(INdrStructure structure)
 {
     Align(structure.GetAlignment());
     structure.Marshal(this);
 }
Ejemplo n.º 3
0
 public void WriteStruct(INdrStructure structure)
 {
     structure.Marshal(this);
 }