Class Id
Assembly: OpenSearch.Client.dll
Syntax
public class Id : IEquatable<Id>, IUrlParameter
Constructors
|
Edit this page
View Source
Id(long)
Declaration
Parameters
Type |
Name |
Description |
long |
id |
|
|
Edit this page
View Source
Id(object)
Declaration
public Id(object document)
Parameters
Type |
Name |
Description |
object |
document |
|
|
Edit this page
View Source
Id(string)
Declaration
Parameters
Type |
Name |
Description |
string |
id |
|
Methods
|
Edit this page
View Source
Equals(Id)
Declaration
public bool Equals(Id other)
Parameters
Type |
Name |
Description |
Id |
other |
|
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
From<T>(T)
Declaration
public static Id From<T>(T document) where T : class
Parameters
Type |
Name |
Description |
T |
document |
|
Returns
Type Parameters
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Edit this page
View Source
operator ==(Id, Id)
Declaration
public static bool operator ==(Id left, Id right)
Parameters
Type |
Name |
Description |
Id |
left |
|
Id |
right |
|
Returns
|
Edit this page
View Source
implicit operator Id(Guid)
Declaration
public static implicit operator Id(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
|
Edit this page
View Source
implicit operator Id(long)
Declaration
public static implicit operator Id(long id)
Parameters
Type |
Name |
Description |
long |
id |
|
Returns
|
Edit this page
View Source
implicit operator Id(string)
Declaration
public static implicit operator Id(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
|
Edit this page
View Source
operator !=(Id, Id)
Declaration
public static bool operator !=(Id left, Id right)
Parameters
Type |
Name |
Description |
Id |
left |
|
Id |
right |
|
Returns
Implements
Extension Methods