Class RoleName
Implements
Inherited Members
Namespace: Akka.Remote.TestKit
Assembly: Akka.Remote.TestKit.dll
Syntax
public sealed class RoleName : IEquatable<RoleName>
Constructors
| Edit this page View SourceRoleName(string)
Declaration
public RoleName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Properties
| Edit this page View SourceName
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceEquals(RoleName)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(RoleName other)
Parameters
| Type | Name | Description |
|---|---|---|
| RoleName | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
Equals(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
| Edit this page 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
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Overrides
Operators
| Edit this page View Sourceoperator ==(RoleName, RoleName)
Compares two specified RoleName for equality.
Declaration
public static bool operator ==(RoleName left, RoleName right)
Parameters
| Type | Name | Description |
|---|---|---|
| RoleName | left | The first RoleName used for comparison |
| RoleName | right | The second RoleName used for comparison |
Returns
| Type | Description |
|---|---|
| bool |
|
operator !=(RoleName, RoleName)
Compares two specified RoleName for inequality.
Declaration
public static bool operator !=(RoleName left, RoleName right)
Parameters
| Type | Name | Description |
|---|---|---|
| RoleName | left | The first RoleName used for comparison |
| RoleName | right | The second RoleName used for comparison |
Returns
| Type | Description |
|---|---|
| bool |
|
Edit this page