Class AuthorityModeExtensions
- Namespace
- Coherence
- Assembly
- Coherence.Common.dll
public static class AuthorityModeExtensions
- Inheritance
-
AuthorityModeExtensions
Methods
CanTransfer(AuthorityType, AuthorityType)
Returns true if a given AuthorityType has sufficient rights to transfer specific AuthorityType.
public static bool CanTransfer(this AuthorityType authorityType, AuthorityType other)
Parameters
authorityType
AuthorityTypeother
AuthorityType
Returns
Contains(AuthorityType, AuthorityType)
Returns true if other
is a subset of this authority type.
public static bool Contains(this AuthorityType authorityType, AuthorityType other)
Parameters
authorityType
AuthorityTypeother
AuthorityType
Returns
ControlsInput(AuthorityType)
Returns true if this type of authority controls input.
public static bool ControlsInput(this AuthorityType authorityType)
Parameters
authorityType
AuthorityType
Returns
ControlsState(AuthorityType)
Returns true if this type of authority controls state.
public static bool ControlsState(this AuthorityType authorityType)
Parameters
authorityType
AuthorityType
Returns
Subtract(AuthorityType, AuthorityType)
public static AuthorityType Subtract(this AuthorityType authorityType, AuthorityType other)
Parameters
authorityType
AuthorityTypeother
AuthorityType