Interface IMaintenanceSession
Represents AMI interaction session.
Namespace: DotNext.Maintenance
Assembly: DotNext.MaintenanceServices.dll
Syntax
public interface IMaintenanceSession
Properties
| Edit this page View SourceContext
Gets a context that can be used to exchange information between command executions.
Declaration
ITypeMap Context { get; }
Property Value
Type | Description |
---|---|
ITypeMap |
Identity
Gets identity of the user started this session.
Declaration
IIdentity Identity { get; }
Property Value
Type | Description |
---|---|
IIdentity |
See Also
| Edit this page View SourceIsInteractive
Gets or sets a value indicating that the current session is interactive.
Declaration
bool IsInteractive { get; set; }
Property Value
Type | Description |
---|---|
bool |
Principal
Gets or sets the user started this session.
Declaration
IPrincipal? Principal { get; set; }
Property Value
Type | Description |
---|---|
IPrincipal | null means unauthenticated session. |
ResponseWriter
Gets command response writer.
Declaration
TextWriter ResponseWriter { get; }
Property Value
Type | Description |
---|---|
TextWriter |