Export (0) Print
Expand All

TextTemplatingSession Class

Trivial implementation of text transformation session interface

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)

[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.

  NameDescription
Public propertyComparerGets the IEqualityComparer<T> that is used to determine equality of keys for the dictionary. (Inherited from Dictionary<String, Object>.)
Public propertyCountGets the number of key/value pairs contained in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Public propertyIdThe identity of the session
Public propertyItemGets or sets the value associated with the specified key. (Inherited from Dictionary<String, Object>.)
Public propertyKeysGets a collection containing the keys in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Public propertyValuesGets a collection containing the values in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Top

  NameDescription
Public methodAddAdds the specified key and value to the dictionary. (Inherited from Dictionary<String, Object>.)
Public methodClearRemoves all keys and values from the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Public methodContainsKeyDetermines whether the Dictionary<TKey, TValue> contains the specified key. (Inherited from Dictionary<String, Object>.)
Public methodContainsValueDetermines whether the Dictionary<TKey, TValue> contains a specific value. (Inherited from Dictionary<String, Object>.)
Public methodEquals(ITextTemplatingSession)
Public methodEquals(Guid)
Public methodEquals(Object) (Overrides Object.Equals(Object).)
Public methodGetEnumeratorReturns an enumerator that iterates through the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Public methodGetHashCode (Overrides Object.GetHashCode().)
Public methodGetObjectDataSecurity 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>.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodOnDeserializationImplements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from Dictionary<String, Object>.)
Public methodRemoveRemoves the value with the specified key from the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetValueGets the value associated with the specified key. (Inherited from Dictionary<String, Object>.)
Top

  NameDescription
Explicit interface implemetationPrivate methodISerializable.GetObjectData
Explicit interface implemetationPrivate methodICollection<KeyValuePair<TKey, TValue>>.AddAdds the specified value to the ICollection<T> with the specified key. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodIDictionary.AddAdds the specified key and value to the dictionary. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodICollection<KeyValuePair<TKey, TValue>>.ContainsDetermines whether the ICollection<T> contains a specific key and value. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodIDictionary.ContainsDetermines whether the IDictionary contains an element with the specified key. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodICollection<KeyValuePair<TKey, TValue>>.CopyToCopies 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>.)
Explicit interface implemetationPrivate methodICollection.CopyToCopies the elements of the ICollection<T> to an array, starting at the specified array index. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodIEnumerable<KeyValuePair<TKey, TValue>>.GetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodIDictionary.GetEnumeratorReturns an IDictionaryEnumerator for the IDictionary. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIDictionary.IsFixedSizeGets a value indicating whether the IDictionary has a fixed size. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyICollection<KeyValuePair<TKey, TValue>>.IsReadOnlyGets a value indicating whether the dictionary is read-only. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIDictionary.IsReadOnlyGets a value indicating whether the IDictionary is read-only. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIDictionary.ItemGets or sets the value with the specified key. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIDictionary<TKey, TValue>.KeysGets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIReadOnlyDictionary<TKey, TValue>.KeysGets a collection containing the keys of the IReadOnlyDictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIDictionary.KeysGets an ICollection containing the keys of the IDictionary. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodICollection<KeyValuePair<TKey, TValue>>.RemoveRemoves a key and value from the dictionary. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate methodIDictionary.RemoveRemoves the element with the specified key from the IDictionary. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyICollection.SyncRootGets an object that can be used to synchronize access to the ICollection. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIDictionary<TKey, TValue>.ValuesGets an ICollection<T> containing the values in the IDictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIReadOnlyDictionary<TKey, TValue>.ValuesGets a collection containing the values of the IReadOnlyDictionary<TKey, TValue>. (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate propertyIDictionary.ValuesGets an ICollection containing the values in the IDictionary. (Inherited from Dictionary<String, Object>.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft