Trivial implementation of text transformation session interface
Inheritance Hierarchy
System.Object
  System.Collections.Generic.Dictionary<String, Object>
    Microsoft.VisualStudio.TextTemplating.TextTemplatingSession
Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating.12.0 (in Microsoft.VisualStudio.TextTemplating.12.0.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class TextTemplatingSession _
    Inherits Dictionary(Of String, Object) _
    Implements ITextTemplatingSession, IEquatable(Of ITextTemplatingSession),  _
    IEquatable(Of Guid), IDictionary(Of String, Object),  _
    ICollection(Of KeyValuePair(Of String, Object)), IEnumerable(Of KeyValuePair(Of String, Object)),  _
    IEnumerable, ISerializable
[SerializableAttribute]
public sealed class TextTemplatingSession : Dictionary<string, Object>, 
    ITextTemplatingSession, IEquatable<ITextTemplatingSession>, IEquatable<Guid>, 
    IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, 
    IEnumerable<KeyValuePair<string, Object>>, IEnumerable, ISerializable
[SerializableAttribute]
public ref class TextTemplatingSession sealed : public Dictionary<String^, Object^>, 
    ITextTemplatingSession, IEquatable<ITextTemplatingSession^>, IEquatable<Guid>, 
    IDictionary<String^, Object^>, ICollection<KeyValuePair<String^, Object^>>, 
    IEnumerable<KeyValuePair<String^, Object^>>, IEnumerable, 
    ISerializable
[<Sealed>]
[<SerializableAttribute>]
type TextTemplatingSession =  
    class 
        inherit Dictionary<string, Object>
        interface ITextTemplatingSession 
        interface IEquatable<ITextTemplatingSession>
        interface IEquatable<Guid>
        interface IDictionary<string, Object>
        interface ICollection<KeyValuePair<string, Object>>
        interface IEnumerable<KeyValuePair<string, Object>>
        interface IEnumerable 
        interface ISerializable 
    end
public final class TextTemplatingSession extends Dictionary<String, Object> implements ITextTemplatingSession, IEquatable<ITextTemplatingSession>, IEquatable<Guid>, IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable, ISerializable
The TextTemplatingSession type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TextTemplatingSession() | |
| .gif) | TextTemplatingSession(Guid) | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Comparer | Gets the IEqualityComparer<T> that is used to determine equality of keys for the dictionary. (Inherited from Dictionary<String, Object>.) | 
| .gif) | Count | Gets the number of key/value pairs contained in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) | Id | The identity of the session | 
| .gif) | Item | Gets or sets the value associated with the specified key. (Inherited from Dictionary<String, Object>.) | 
| .gif) | Keys | Gets a collection containing the keys in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) | Values | Gets a collection containing the values in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Add | Adds the specified key and value to the dictionary. (Inherited from Dictionary<String, Object>.) | 
| .gif) | Clear | Removes all keys and values from the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) | ContainsKey | Determines whether the Dictionary<TKey, TValue> contains the specified key. (Inherited from Dictionary<String, Object>.) | 
| .gif) | ContainsValue | Determines whether the Dictionary<TKey, TValue> contains a specific value. (Inherited from Dictionary<String, Object>.) | 
| .gif) | Equals(ITextTemplatingSession) | |
| .gif) | Equals(Guid) | |
| .gif) | Equals(Object) | (Overrides Object.Equals(Object).) | 
| .gif) | GetEnumerator | Returns an enumerator that iterates through the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) | GetHashCode | (Overrides Object.GetHashCode().) | 
| .gif) | GetObjectData | Security Critical. Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the Dictionary<TKey, TValue> instance. (Inherited from Dictionary<String, Object>.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | OnDeserialization | Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from Dictionary<String, Object>.) | 
| .gif) | Remove | Removes the value with the specified key from the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
| .gif) | TryGetValue | Gets the value associated with the specified key. (Inherited from Dictionary<String, Object>.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | ISerializable.GetObjectData | |
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.Add | Adds the specified value to the ICollection<T> with the specified key. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.Add | Adds the specified key and value to the dictionary. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.Contains | Determines whether the ICollection<T> contains a specific key and value. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.Contains | Determines whether the IDictionary contains an element with the specified key. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.CopyTo | Copies the elements of the ICollection<T> to an array of type KeyValuePair<TKey, TValue>, starting at the specified array index. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | ICollection.CopyTo | Copies the elements of the ICollection<T> to an array, starting at the specified array index. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IEnumerable.GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.GetEnumerator | Returns an IDictionaryEnumerator for the IDictionary. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.IsFixedSize | Gets a value indicating whether the IDictionary has a fixed size. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly | Gets a value indicating whether the dictionary is read-only. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.IsReadOnly | Gets a value indicating whether the IDictionary is read-only. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | ICollection.IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.Item | Gets or sets the value with the specified key. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary<TKey, TValue>.Keys | Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IReadOnlyDictionary<TKey, TValue>.Keys | Gets a collection containing the keys of the IReadOnlyDictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.Keys | Gets an ICollection containing the keys of the IDictionary. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | ICollection<KeyValuePair<TKey, TValue>>.Remove | Removes a key and value from the dictionary. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.Remove | Removes the element with the specified key from the IDictionary. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | ICollection.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary<TKey, TValue>.Values | Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IReadOnlyDictionary<TKey, TValue>.Values | Gets a collection containing the values of the IReadOnlyDictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.) | 
| .gif) .gif) | IDictionary.Values | Gets an ICollection containing the values in the IDictionary. (Inherited from Dictionary<String, Object>.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.