public StorageAddress(StorageProtocolType protocol, string service, string address, string parameter) { Protocol = protocol; StorageService = service ?? throw new ArgumentNullException(nameof(service)); Address = address ?? throw new ArgumentNullException(nameof(address)); Parameter = parameter ?? throw new ArgumentNullException(nameof(parameter)); }
public StorageProtocolSpecificData(StorageProtocolType ProtocolType, uint DataType, uint ProtocolDataRequestValue, uint ProtocolDataRequestSubValue, uint ProtocolDataLength, uint FixedProtocolReturnData) => (this.ProtocolType, this.DataType, this.ProtocolDataRequestValue, this.ProtocolDataRequestSubValue, ProtocolDataOffset, this.ProtocolDataLength, this.FixedProtocolReturnData, Reserved)