Fork me on GitHubEpicdominant domains
APIEpic.OrganizationWorkingSessionBase

WorkingSessionBase
Base class for working sessions.
Inheritance Hierarchy
Object
WorkingSessionBase

Assembly: Epic.Core

Declaration Syntax
C#
[SerializableAttribute]
public abstract class WorkingSessionBase : IWorkingSession, 
	IDisposable
Members
All MembersConstructorsMethodsProperties  



MemberDescription
WorkingSessionBase(String, IPrincipal)
Initializes a new instance of the WorkingSessionBase class.
Achieve<(Of <<'(TRole>)>>)(TRole%)
Achieve the specified role.
BeforeDispose()()()()
Template method for disposition. Called just before the disposition follow on the achieved roles.
CanAchieve<(Of <<'(TRole>)>>)()()()()
Indicates whether the owner can achieve the specified role.
Dispose()()()()
Releases all resource used by the WorkingSessionBase object.
GetRoleBuilder<(Of <<'(TRole>)>>)()()()()
Gets the role builder for TRole.
Identifier
Unique identifier of the working session.
IsAllowed<(Of <<'(TRole>)>>)()()()()
Determines whether the owner of the working session is allowed to achieve TRole.
Leave<(Of <<'(TRole>)>>)(TRole%)
Leave the specified role. After calling this method, your role will be disposed and the reference to role will be set to nullNothingnullptr.
Owner
Working session's owner.
ThrowAfterDisposition()()()()
Throws ObjectDisposedException when the session has been disposition.
blog comments powered by Disqus