/// <summary>
 /// Initializes a new instance of the ReferenceInputProperties class
 /// with required arguments.
 /// </summary>
 public ReferenceInputProperties(ReferenceInputDataSource dataSource, Serialization serialization)
     : this()
 {
     if (dataSource == null)
     {
         throw new ArgumentNullException("dataSource");
     }
     if (serialization == null)
     {
         throw new ArgumentNullException("serialization");
     }
     this.DataSource    = dataSource;
     this.Serialization = serialization;
 }
 /// <summary>
 /// Initializes a new instance of the ReferenceInputProperties class
 /// with required arguments.
 /// </summary>
 public ReferenceInputProperties(ReferenceInputDataSource dataSource, Serialization serialization)
     : this()
 {
     if (dataSource == null)
     {
         throw new ArgumentNullException("dataSource");
     }
     if (serialization == null)
     {
         throw new ArgumentNullException("serialization");
     }
     this.DataSource = dataSource;
     this.Serialization = serialization;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the ReferenceInputProperties class.
 /// </summary>
 /// <param name="serialization">Describes how data from an input is
 /// serialized or how data is serialized when written to an output.
 /// Required on PUT (CreateOrReplace) requests.</param>
 /// <param name="diagnostics">Describes conditions applicable to the
 /// Input, Output, or the job overall, that warrant customer
 /// attention.</param>
 /// <param name="etag">The current entity tag for the input. This is an
 /// opaque string. You can use it to detect whether the resource has
 /// changed between requests. You can also use it in the If-Match or
 /// If-None-Match headers for write operations for optimistic
 /// concurrency.</param>
 /// <param name="datasource">Describes an input data source that
 /// contains reference data. Required on PUT (CreateOrReplace)
 /// requests.</param>
 public ReferenceInputProperties(Serialization serialization = default(Serialization), Diagnostics diagnostics = default(Diagnostics), string etag = default(string), ReferenceInputDataSource datasource = default(ReferenceInputDataSource))
     : base(serialization, diagnostics, etag)
 {
     Datasource = datasource;
     CustomInit();
 }