TextTemplatingSession 클래스

정의

텍스트 변환 세션 인터페이스의 사소한 구현

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
상속
TextTemplatingSession
특성
구현

생성자

TextTemplatingSession()

고유 ID를 만드는 기본 생성자입니다.

TextTemplatingSession(Guid)

특정 ID를 사용할 수 있도록 하는 생성자

속성

Id

세션의 ID

메서드

Equals(Guid)

TextTemplatingSession 의 를 Id 다른 와 비교합니다.ITextTemplatingSession

Equals(ITextTemplatingSession)

이를 TextTemplatingSession 다른 사용자와 비교 ITextTemplatingSession

Equals(Object)

다른 개체와 비교 TextTemplatingSession

GetHashCode()

해시 코드인 ID의 해시를 사용합니다.

명시적 인터페이스 구현

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
사용되지 않음.

개체 직렬화

확장 메서드

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

다른 사전에 하나의 사전 콘텐츠 추가

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

지정된 키로 값을 가져옵니다.

EmptyIfNull<T>(IEnumerable<T>)

null이 아닌 경우 이 열거형을 반환합니다. null인 경우 빈 열거형을 반환합니다.

적용 대상