Esempio n. 1
0
 /// <summary>
 /// Encodes an array type.
 /// Returns a pair of encoders that must be used in the order they appear in the parameter list.
 /// </summary>
 /// <param name="elementType">Use first, to encode the type of the element.</param>
 /// <param name="arrayShape">Use second, to encode the shape of the array.</param>
 public void Array(out SignatureTypeEncoder elementType, out ArrayShapeEncoder arrayShape)
 {
     Builder.WriteByte((byte)SignatureTypeCode.Array);
     elementType = this;
     arrayShape  = new ArrayShapeEncoder(Builder);
 }
Esempio n. 2
0
 public void Array(out SignatureTypeEncoder elementType, out ArrayShapeEncoder arrayShape)
 {
     Builder.WriteByte((byte)SignatureTypeCode.Array);
     elementType = this;
     arrayShape = new ArrayShapeEncoder(Builder);
 }