TextTemplatingSession Class

Definition

Trivial implementation of text transformation session interface

public ref class TextTemplatingSession sealed : System::Collections::Generic::Dictionary<System::String ^, System::Object ^>, IEquatable<Guid>, IEquatable<Microsoft::VisualStudio::TextTemplating::ITextTemplatingSession ^>, Microsoft::VisualStudio::TextTemplating::ITextTemplatingSession, System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class TextTemplatingSession : System.Collections.Generic.Dictionary<string,object>, IEquatable<Guid>, IEquatable<Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession>, Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type TextTemplatingSession = class
    inherit Dictionary<string, obj>
    interface ITextTemplatingSession
    interface IEquatable<ITextTemplatingSession>
    interface IEquatable<Guid>
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface ISerializable
Public NotInheritable Class TextTemplatingSession
Inherits Dictionary(Of String, Object)
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), IEquatable(Of Guid), IEquatable(Of ITextTemplatingSession), ISerializable, ITextTemplatingSession
Inheritance
TextTemplatingSession
Attributes
Implements

Constructors

TextTemplatingSession()

Basic constructor that creates a unique Id.

TextTemplatingSession(Guid)

Constructor to allow a specific Id to be used

Properties

Id

The identity of the session

Methods

Equals(Guid)

Compares the Id of this TextTemplatingSession with another ITextTemplatingSession

Equals(ITextTemplatingSession)

Compares this TextTemplatingSession with another ITextTemplatingSession

Equals(Object)

Compares this TextTemplatingSession with another object

GetHashCode()

Use the hash of the Id as it's hash code.

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Serialize the object

Extension Methods

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean)
GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK)
EmptyIfNull<T>(IEnumerable<T>)

Applies to