TextTemplatingSession Class
Visual Studio 2012
Trivial implementation of text transformation session interface
Namespace:
Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.11.0 (in Microsoft.VisualStudio.TextTemplating.11.0.dll)
[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
The TextTemplatingSession type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Comparer | Gets the IEqualityComparer that is used to determine equality of keys for the dictionary. (Inherited from Dictionary<String, Object>.) |
![]() | Count | Gets the number of key/value pairs contained in the Dictionary. (Inherited from Dictionary<String, Object>.) |
![]() | Id | The identity of the session |
![]() | Item | Gets or sets the value associated with the specified key. (Inherited from Dictionary<String, Object>.) |
![]() | Keys | Gets a collection containing the keys in the Dictionary. (Inherited from Dictionary<String, Object>.) |
![]() | Values | Gets a collection containing the values in the Dictionary. (Inherited from Dictionary<String, Object>.) |
| Name | Description | |
|---|---|---|
![]() | Add | Adds the specified key and value to the dictionary. (Inherited from Dictionary<String, Object>.) |
![]() | Clear | Removes all keys and values from the Dictionary. (Inherited from Dictionary<String, Object>.) |
![]() | ContainsKey | Determines whether the Dictionary contains the specified key. (Inherited from Dictionary<String, Object>.) |
![]() | ContainsValue | Determines whether the Dictionary contains a specific value. (Inherited from Dictionary<String, Object>.) |
![]() | Equals(Guid) | |
![]() | Equals(Object) | (Overrides Object.Equals(Object).) |
![]() | Equals(ITextTemplatingSession) | |
![]() | GetEnumerator | Returns an enumerator that iterates through the Dictionary. (Inherited from Dictionary<String, Object>.) |
![]() | GetHashCode | (Overrides Object.GetHashCode.) |
![]() | GetObjectData | Security Critical. Implements the ISerializable interface and returns the data needed to serialize the Dictionary instance. (Inherited from Dictionary<String, Object>.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from Dictionary<String, Object>.) |
![]() | Remove | Removes the value with the specified key from the Dictionary. (Inherited from Dictionary<String, Object>.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetValue | Gets the value associated with the specified key. (Inherited from Dictionary<String, Object>.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ISerializable.GetObjectData | |
![]() ![]() | System#Collections#Generic#ICollection{T}#Add | Adds the specified value to the ICollection with the specified key. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#Add | Adds the specified key and value to the dictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#ICollection{T}#Contains | Determines whether the ICollection contains a specific key and value. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#Contains | Determines whether the IDictionary contains an element with the specified key. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#ICollection{T}#CopyTo | Copies the elements of the ICollection to an array of type KeyValuePair, starting at the specified array index. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#ICollection#CopyTo | Copies the elements of the ICollection to an array, starting at the specified array index. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#IEnumerable{T}#GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IEnumerable#GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#GetEnumerator | Returns an IDictionaryEnumerator for the IDictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#IsFixedSize | Gets a value indicating whether the IDictionary has a fixed size. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#ICollection{T}#IsReadOnly | Gets a value indicating whether the dictionary is read-only. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#IsReadOnly | Gets a value indicating whether the IDictionary is read-only. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#ICollection#IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#Item | Gets or sets the value with the specified key. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#IDictionary{TKey@TValue}#Keys | Gets an ICollection containing the keys of the IDictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Keys | Gets a collection containing the keys of the IReadOnlyDictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#Keys | Gets an ICollection containing the keys of the IDictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#ICollection{T}#Remove | Removes a key and value from the dictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#Remove | Removes the element with the specified key from the IDictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#ICollection#SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#IDictionary{TKey@TValue}#Values | Gets an ICollection containing the values in the IDictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Values | Gets a collection containing the values of the IReadOnlyDictionary. (Inherited from Dictionary<String, Object>.) |
![]() ![]() | System#Collections#IDictionary#Values | Gets an ICollection containing the values in the IDictionary. (Inherited from Dictionary<String, Object>.) |




