Show / Hide Table of Contents

Interface IMaintenanceSession

Represents AMI interaction session.

Namespace: DotNext.Maintenance
Assembly: DotNext.MaintenanceServices.dll
Syntax
public interface IMaintenanceSession

Properties

View Source

Context

Gets a context that can be used to exchange information between command executions.

Declaration
ITypeMap Context { get; }
Property Value
Type Description
ITypeMap
View Source

Identity

Gets identity of the user started this session.

Declaration
IIdentity Identity { get; }
Property Value
Type Description
IIdentity
See Also
LinuxUdsPeerIdentity
View Source

IsInteractive

Gets or sets a value indicating that the current session is interactive.

Declaration
bool IsInteractive { get; set; }
Property Value
Type Description
bool
View Source

Principal

Gets or sets the user started this session.

Declaration
IPrincipal? Principal { get; set; }
Property Value
Type Description
IPrincipal

null means unauthenticated session.

View Source

ResponseWriter

Gets command response writer.

Declaration
TextWriter ResponseWriter { get; }
Property Value
Type Description
TextWriter

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾