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, Boolean)
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 | Boolean | 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
- Boolean:
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
- Int32:
An integer value that specifies a hash value for this object.