Class NOPSession
Represents a session that does nothing and returns fake user
Inheritance
System.Object
NOPSession
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: NFX.dll
Syntax
public sealed class NOPSession : ISession, IEndableInstance
Properties
ID
Declaration
Property Value
Type |
Description |
System.Guid |
|
Instance
Returns a singlelton instance of the NOPSession
Declaration
public static NOPSession Instance { get; }
Property Value
IsEnded
Declaration
public bool IsEnded { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsJustLoggedIn
Declaration
public bool IsJustLoggedIn { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsNew
Declaration
public bool IsNew { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[Object]
Declaration
public object this[object key] { get; set; }
Parameters
Type |
Name |
Description |
System.Object |
key |
|
Property Value
Type |
Description |
System.Object |
|
Items
Declaration
public IDictionary<object, object> Items { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.Object, System.Object> |
|
LanguageISOCode
Declaration
public string LanguageISOCode { get; }
Property Value
Type |
Description |
System.String |
|
LastLoginType
Declaration
public SessionLoginType LastLoginType { get; }
Property Value
LastLoginUTC
Declaration
public DateTime? LastLoginUTC { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
OldID
Declaration
public Guid? OldID { get; }
Property Value
Type |
Description |
System.Nullable<System.Guid> |
|
User
Declaration
public User User { get; set; }
Property Value
Methods
Acquire()
Declaration
End()
Declaration
HasJustLoggedIn(SessionLoginType)
Declaration
public void HasJustLoggedIn(SessionLoginType loginType)
Parameters
RegenerateID()
Declaration
public void RegenerateID()
Release()
Declaration
Implements
Extension Methods