Table of Contents

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 AuthorityType
other AuthorityType

Returns

bool

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 AuthorityType
other AuthorityType

Returns

bool

ControlsInput(AuthorityType)

Returns true if this type of authority controls input.

public static bool ControlsInput(this AuthorityType authorityType)

Parameters

authorityType AuthorityType

Returns

bool

ControlsState(AuthorityType)

Returns true if this type of authority controls state.

public static bool ControlsState(this AuthorityType authorityType)

Parameters

authorityType AuthorityType

Returns

bool

Subtract(AuthorityType, AuthorityType)

public static AuthorityType Subtract(this AuthorityType authorityType, AuthorityType other)

Parameters

authorityType AuthorityType
other AuthorityType

Returns

AuthorityType