Class RequestResponseMappings
A utility class which serves the reponse types for requests, and vice-versa. Made to mitigate poor early design choices.
Inheritance
System.Object
RequestResponseMappings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FosterBuster.IU880B.Utilities
Assembly: IU880B.dll
Syntax
public static class RequestResponseMappings
Methods
| Improve this Doc View SourceGetRequestTypeFor(Type)
Gets the TxHciMessage equivalent for the passed type
of RxHciMessage.
Declaration
public static Type GetRequestTypeFor(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | the type to look up. |
Returns
Type | Description |
---|---|
System.Type | The equivalent TxHciMessage for the passed |
GetResponseTypeFor(Type)
Gets the RxHciMessage equivalent for the passed type
of TxHciMessage.
Declaration
public static Type GetResponseTypeFor(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | the type to look up. |
Returns
Type | Description |
---|---|
System.Type | The equivalent RxHciMessage for the passed |