Class ProtoPreconditions
Inherited Members
Namespace: Google.Protobuf
Assembly: Google.Protobuf.dll
Syntax
public static class ProtoPreconditions
Methods
CheckNotNull<T>(T, string)
Declaration
public static T CheckNotNull<T>(T value, string name) where T : class
Parameters
Type | Name | Description |
---|---|---|
T | value | |
string | name |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |