Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ODataInstanceAnnotation class.
 /// </summary>
 public ODataInstanceAnnotation(string name = default(string), ODataValue value = default(ODataValue), ODataTypeAnnotation typeAnnotation = default(ODataTypeAnnotation))
 {
     Name           = name;
     Value          = value;
     TypeAnnotation = typeAnnotation;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ODataError class.
 /// </summary>
 public ODataError(string errorCode = default(string), string message = default(string), string target = default(string), IList <ODataErrorDetail> details = default(IList <ODataErrorDetail>), ODataInnerError innerError = default(ODataInnerError), IList <ODataInstanceAnnotation> instanceAnnotations = default(IList <ODataInstanceAnnotation>), ODataTypeAnnotation typeAnnotation = default(ODataTypeAnnotation))
 {
     ErrorCode           = errorCode;
     Message             = message;
     Target              = target;
     Details             = details;
     InnerError          = innerError;
     InstanceAnnotations = instanceAnnotations;
     TypeAnnotation      = typeAnnotation;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ODataValue class.
 /// </summary>
 public ODataValue(ODataTypeAnnotation typeAnnotation = default(ODataTypeAnnotation))
 {
     TypeAnnotation = typeAnnotation;
     CustomInit();
 }