Role builder public contract. Enforce TRole to be a pure interface.
            
Inheritance Hierarchy
| Object | ||
| RoleBuilder<(Of <(<'TRole>)>)> | ||
| RoleBuilderBase<(Of <(<'TRole, TImplementation>)>)> | ||
Assembly: Epic.Core
Declaration Syntax
| C# | 
[SerializableAttribute] public abstract class RoleBuilder<TRole> where TRole : class
Generic Template Parameters
- TRole
 - Type (interface) of role that the builder can build.
 
Members
| All Members | Methods | ||||
| Member | Description | |
|---|---|---|
| Build(IPrincipal) | 
            Build the TRole for player. Template method.
              | |
| BuildRole(IPrincipal) | 
            Build the TRole for player.
              | 
Exceptions
| Exception | Condition | 
|---|---|
| InvalidOperationException | 
            Is thrown on type initialization if TRole is not an interface.
             | 
