Role builders' base class.
Inheritance Hierarchy
Object | ||
RoleBuilder<(Of <(<'TRole>)>)> | ||
RoleBuilderBase<(Of <(<'TRole, TImplementation>)>)> |
Assembly: Epic.Core
Declaration Syntax
C# |
[SerializableAttribute] public abstract class RoleBuilderBase<TRole, TImplementation> : RoleBuilder<TRole> where TRole : class where TImplementation : RoleBase, TRole
Generic Template Parameters
- TRole
- Role builded.
- TImplementation
- Concrete role class.
Members
All Members | Constructors | Methods | |||
Member | Description | |
---|---|---|
RoleBuilderBase<(Of <(<'TRole, TImplementation>)>)>()()()() |
Constructor.
| |
BuildRole(IPrincipal) |
Builds the role. Overrides and seals the
BuildRole(IPrincipal) template
method. Calls CreateRoleFor(IPrincipal).
(Overrides RoleBuilder<(Of <(<'TRole>)>)>.BuildRole(IPrincipal).) | |
CreateRoleFor(IPrincipal) |
Creates the TRole instance for player.
|