Class RosterQueryParameter
Represents a query parameter
Inherited Members
Namespace: Microsoft.GNS.Roster.DataAccess
Assembly: Microsoft.GNS.Roster.DataAccess.dll
Syntax
public class RosterQueryParameter
Constructors
View SourceRosterQueryParameter(string, object)
Initializes a new instance of the RosterQueryParameter class.
Declaration
public RosterQueryParameter(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
string | name | The parameter name. |
object | value | The parameter value. |
Properties
View SourceName
Gets the query parameter name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Value
Gets the query parameter value.
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
object |
Methods
View SourceEquals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
Operators
View Sourceoperator ==(RosterQueryParameter, RosterQueryParameter)
Declaration
public static bool operator ==(RosterQueryParameter param1, RosterQueryParameter param2)
Parameters
Type | Name | Description |
---|---|---|
RosterQueryParameter | param1 | |
RosterQueryParameter | param2 |
Returns
Type | Description |
---|---|
bool |
operator !=(RosterQueryParameter, RosterQueryParameter)
Declaration
public static bool operator !=(RosterQueryParameter param1, RosterQueryParameter param2)
Parameters
Type | Name | Description |
---|---|---|
RosterQueryParameter | param1 | |
RosterQueryParameter | param2 |
Returns
Type | Description |
---|---|
bool |