2 instantiations of Language
PresentationFramework (2)
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (1)
144return obj is Language ? (Language)obj : new Language((global::MS.Internal.WindowsRuntime.ABI.Windows.Globalization.ILanguage)obj);
MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
67var language = new Globalization.Language(languageTag);
29 references to Language
PresentationFramework (29)
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (28)
52Language CreateLanguage(string languageTag); 72internal sealed class Language : global::System.Runtime.InteropServices.ICustomQueryInterface, IEquatable<Language> 83public _ILanguageFactory() : base(ActivationFactory<Language>.As<ABI.Windows.Globalization.ILanguageFactory.Vftbl>()) { } 140public static Language FromAbi(IntPtr thisPtr) 144return obj is Language ? (Language)obj : new Language((global::MS.Internal.WindowsRuntime.ABI.Windows.Globalization.ILanguage)obj); 152public static bool operator ==(Language x, Language y) => (x?.ThisPtr ?? IntPtr.Zero) == (y?.ThisPtr ?? IntPtr.Zero); 153public static bool operator !=(Language x, Language y) => !(x == y); 154public bool Equals(Language other) => this == other; 155public override bool Equals(object obj) => obj is Language that && this == that; 587global::MS.Internal.WindowsRuntime.Windows.Globalization.Language __result = default; 619public unsafe global::MS.Internal.WindowsRuntime.Windows.Globalization.Language CreateLanguage(string languageTag) 843public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Globalization.Language obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<ILanguage.Vftbl>(); 845public static global::MS.Internal.WindowsRuntime.Windows.Globalization.Language FromAbi(IntPtr thisPtr) => global::MS.Internal.WindowsRuntime.Windows.Globalization.Language.FromAbi(thisPtr); 846public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Globalization.Language obj) => obj is null ? IntPtr.Zero : CreateMarshaler(obj).GetRef(); 847public static unsafe MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Globalization.Language>.MarshalerArray CreateMarshalerArray(global::MS.Internal.WindowsRuntime.Windows.Globalization.Language[] array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Globalization.Language>.CreateMarshalerArray(array, (o) => CreateMarshaler(o)); 848public static (int length, IntPtr data) GetAbiArray(object box) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Globalization.Language>.GetAbiArray(box); 849public static unsafe global::MS.Internal.WindowsRuntime.Windows.Globalization.Language[] FromAbiArray(object box) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Globalization.Language>.FromAbiArray(box, FromAbi); 850public static (int length, IntPtr data) FromManagedArray(global::MS.Internal.WindowsRuntime.Windows.Globalization.Language[] array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Globalization.Language>.FromManagedArray(array, (o) => FromManaged(o)); 852public static void DisposeMarshalerArray(MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Globalization.Language>.MarshalerArray array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Globalization.Language>.DisposeMarshalerArray(array);
MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
67var language = new Globalization.Language(languageTag);