53 references to As
PresentationFramework (53)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (13)
430public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.AlternateWordForm obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IAlternateWordForm.Vftbl>(); 535public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 537public IAlternateWordForm(IObjectReference obj) : this(obj.As<Vftbl>()) {} 976public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 978public IUnicodeCharactersStatics(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1219public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1221public IWordSegment(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1387public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1389public IWordsSegmenter(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1521public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1523public IWordsSegmenterFactory(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1554public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegment obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IWordSegment.Vftbl>(); 1663public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IWordsSegmenter.Vftbl>();
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (13)
329public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 331public ILanguage(IObjectReference obj) : this(obj.As<Vftbl>()) {} 456public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 458public ILanguage2(IObjectReference obj) : this(obj.As<Vftbl>()) {} 530public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 532public ILanguageExtensionSubtags(IObjectReference obj) : this(obj.As<Vftbl>()) {} 611public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 613public ILanguageFactory(IObjectReference obj) : this(obj.As<Vftbl>()) {} 713public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 715public ILanguageStatics(IObjectReference obj) : this(obj.As<Vftbl>()) {} 810public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 812public ILanguageStatics2(IObjectReference obj) : this(obj.As<Vftbl>()) {} 843public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Globalization.Language obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<ILanguage.Vftbl>();
MS\Internal\WindowsRuntime\Generated\WinRT.cs (2)
273return ComWrappersSupport.GetObjectReferenceForInterface(instancePtr).As<I>(); 281public ObjectReference<I> _As<I>() => _IActivationFactory.As<I>();
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.cs (1)
101return unknownRef.As<IUnknownVftbl>();
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (2)
102restrictedErrorInfoToSave = restrictedErrorInfoRef.As<ABI.WinRT.Interop.IRestrictedErrorInfo.Vftbl>(); 337restrictedErrorInfoRef.As<ABI.WinRT.Interop.IRestrictedErrorInfo.Vftbl>());
MS\Internal\WindowsRuntime\Generated\WinRT\IInspectable.cs (3)
95public static implicit operator IInspectable(IObjectReference obj) => obj.As<Vftbl>(); 97public ObjectReference<I> As<I>() => _obj.As<I>(); 99public IInspectable(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (8)
218public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 220public IErrorInfo(IObjectReference obj) : this(obj.As<Vftbl>()) { } 307public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 309public ILanguageExceptionErrorInfo(IObjectReference obj) : this(obj.As<Vftbl>()) { } 378public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 380public ISupportErrorInfo(IObjectReference obj) : this(obj.As<Vftbl>()) { } 412public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 414public IRestrictedErrorInfo(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\IContextCallback.cs (2)
63public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 65public IContextCallback(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (2)
923return objRef.As<IInspectable.Vftbl>(); 938using var unknownObjRef = objRef.As<IUnknownVftbl>();
MS\Internal\WindowsRuntime\Generated\WinRT\ObjectReference.cs (1)
146using var unknownObjRef = As<IUnknownVftbl>();
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (4)
164public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 166public IEnumerable(IObjectReference obj) : this(obj.As<Vftbl>()) { } 569public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 572public IEnumerator(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
361public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 363public IReadOnlyList(IObjectReference obj) : this(obj.As<Vftbl>()) { }