Aracılığıyla paylaş


TextTemplatingSession Sınıf

Tanım

Metin dönüştürme oturum arabiriminin önemsiz uygulaması

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
Devralma
TextTemplatingSession
Öznitelikler
Uygulamalar

Oluşturucular

TextTemplatingSession()

Benzersiz bir kimlik oluşturan temel oluşturucu.

TextTemplatingSession(Guid)

Belirli bir kimliğin kullanılmasına izin veren oluşturucu

Özellikler

Id

Oturumun kimliği

Yöntemler

Equals(Guid)

Bunun TextTemplatingSession bir diğeriyle Id karşılaştırırITextTemplatingSession

Equals(ITextTemplatingSession)

Bunu TextTemplatingSession başka bir kişiyle karşılaştırır ITextTemplatingSession

Equals(Object)

Bunu TextTemplatingSession başka bir nesneyle karşılaştırır

GetHashCode()

Kimliğin karma kodunun karması olarak kullanın.

Belirtik Arabirim Kullanımları

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Geçersiz.

Nesneyi seri hale getirme

Uzantı Metotları

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

Bir sözlük içeriğini başka bir sözlüğe ekleme

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

Verilen anahtara göre bir değer alır.

EmptyIfNull<T>(IEnumerable<T>)

Null olmaması durumunda bu numaralandırmayı döndür. Null olması durumunda boş dönüş sabit listesi.

Şunlara uygulanır