Achieve the specified role.
Assembly: Epic.Core
Declaration Syntax
C# |
void Achieve<TRole>( out TRole role ) where TRole : class
Generic Template Parameters
- TRole
- The type of the role to achieve.
Parameters
- role (TRole%)
- User's role, entry point to a specific context boundary in the domain.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The Owner can not achieve
the required TRole. |