Sdílet prostřednictvím


TextTemplatingSession Třída

Definice

Triviální implementace rozhraní relace transformace textu

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
Dědičnost
TextTemplatingSession
Atributy
Implementuje

Konstruktory

TextTemplatingSession()

Základní konstruktor, který vytvoří jedinečné ID.

TextTemplatingSession(Guid)

Konstruktor umožňující použití konkrétního ID

Vlastnosti

Id

Identita relace

Metody

Equals(Guid)

Id Porovná tento TextTemplatingSession typ s jinýmITextTemplatingSession

Equals(ITextTemplatingSession)

Porovná to TextTemplatingSession s jiným ITextTemplatingSession

Equals(Object)

Porovná tento TextTemplatingSession objekt s jiným objektem.

GetHashCode()

Použijte hodnotu hash ID jako jeho hashový kód.

Explicitní implementace rozhraní

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Zastaralé.

Serializace objektu

Metody rozšíření

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean)

Přidání obsahu jednoho slovníku do jiného slovníku

GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK)

Získá hodnotu podle daného klíče.

EmptyIfNull<T>(IEnumerable<T>)

Pokud nemá hodnotu null, vraťte tento výčet. V případě, že je null, vraťte prázdný výčet.

Platí pro