コード例 #1
0
 /// <summary>
 /// Initialise a new instance of RequestNetworkData with specific parameters.
 /// </summary>
 /// <param name="type">The type of the request. Whether it's requesting data or NetworkId or something else.</param>
 /// <param name="data">The Network data to submit with the Request.</param>
 public RequestNetworkData(RequestNetworkDataType type, INetworkData data)
     : this(type, "")
 {
     _data = data;
 }
コード例 #2
0
 /// <summary>
 /// Initialise a new instance of RequestNetworkData with specific parameters.
 /// </summary>
 /// <param name="type">The type of the request. Whether it's requesting data or NetworkId or something else.</param>
 /// <param name="networkId">NetworkId to transmit with the Request.</param>
 public RequestNetworkData(RequestNetworkDataType type, string networkId)
 {
     _type = type;
     _name = networkId;
 }
コード例 #3
0
 /// <summary>
 /// Initialise a new instance of RequestNetworkData with specific parameters.
 /// </summary>
 /// <param name="type">The type of the request. Whether it's requesting data or NetworkId or something else.</param>
 public RequestNetworkData(RequestNetworkDataType type)
     : this(type, "")
 {
 }