/// <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; }
/// <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; }
/// <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, "") { }