IntelliPromptSessionType Class
Represents the default implementation of a class that represents an IntelliPrompt session type.
public class IntelliPromptSessionType : IIntelliPromptSessionType, IKeyedObject
- Inheritance:
- object object
- Implements:
- IIntelliPromptSessionType IKeyedObject
Constructors
IntelliPromptSessionType(string)
Initializes a new instance of the IntelliPromptSessionType
class.
public IntelliPromptSessionType(string key)
Parameter | Type | Description |
---|---|---|
key | string | The key of the session type. |
IntelliPromptSessionType(string, bool)
Initializes a new instance of the IntelliPromptSessionType
class.
public IntelliPromptSessionType(string key, bool areMultipleSessionsAllowed)
Parameter | Type | Description |
---|---|---|
key | string | The key of the session type. |
areMultipleSessionsAllowed | bool | Whether multiple sessions of this type are permitted. |
Properties
AreMultipleSessionsAllowed
Gets whether multiple sessions of this type are permitted.
public bool AreMultipleSessionsAllowed { get; }
Property Value
- bool:
true
if multiple sessions of this type are permitted; otherwise,false
.
Key
Gets the string key that uniquely identifies the session type.
public string Key { get; }
Property Value
- string:
The string key that uniquely identifies the session type.
Methods
GetHashCode()
Returns a hash code for this object.
public override int GetHashCode()
Returns
- int:
An integer value that specifies a hash value for this object.