Method AddRawParameterStruct
AddRawParameterStruct<T>(ref T)
Adds a new parameter to the list. There must be only one instance per parameter type.
Declaration
public void AddRawParameterStruct<T>(ref T parameter) where T : unmanaged, INetworkParameter
Parameters
Type | Name | Description |
---|---|---|
T | parameter | The parameter to add. |
Type Parameters
Name | Description |
---|---|
T | The type of INetworkParameter to add. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Throws an argument exception if the paramter type is already in the list or if it contains invalid values. |