53 references to As
PresentationFramework (53)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (13)
422public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.AlternateWordForm obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IAlternateWordForm.Vftbl>(); 527public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 529public IAlternateWordForm(IObjectReference obj) : this(obj.As<Vftbl>()) {} 968public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 970public IUnicodeCharactersStatics(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1211public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1213public IWordSegment(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1379public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1381public IWordsSegmenter(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1513public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1515public IWordsSegmenterFactory(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1546public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegment obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IWordSegment.Vftbl>(); 1655public 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)
321public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 323public ILanguage(IObjectReference obj) : this(obj.As<Vftbl>()) {} 448public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 450public ILanguage2(IObjectReference obj) : this(obj.As<Vftbl>()) {} 522public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 524public ILanguageExtensionSubtags(IObjectReference obj) : this(obj.As<Vftbl>()) {} 603public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 605public ILanguageFactory(IObjectReference obj) : this(obj.As<Vftbl>()) {} 705public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 707public ILanguageStatics(IObjectReference obj) : this(obj.As<Vftbl>()) {} 802public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 804public ILanguageStatics2(IObjectReference obj) : this(obj.As<Vftbl>()) {} 835public 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)
258return ComWrappersSupport.GetObjectReferenceForInterface(instancePtr).As<I>(); 266public ObjectReference<I> _As<I>() => _IActivationFactory.As<I>();
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.cs (1)
90return unknownRef.As<IUnknownVftbl>();
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (2)
101restrictedErrorInfoToSave = restrictedErrorInfoRef.As<ABI.WinRT.Interop.IRestrictedErrorInfo.Vftbl>(); 336restrictedErrorInfoRef.As<ABI.WinRT.Interop.IRestrictedErrorInfo.Vftbl>());
MS\Internal\WindowsRuntime\Generated\WinRT\IInspectable.cs (3)
92public static implicit operator IInspectable(IObjectReference obj) => obj.As<Vftbl>(); 94public ObjectReference<I> As<I>() => _obj.As<I>(); 96public IInspectable(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (8)
206public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 208public IErrorInfo(IObjectReference obj) : this(obj.As<Vftbl>()) { } 295public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 297public ILanguageExceptionErrorInfo(IObjectReference obj) : this(obj.As<Vftbl>()) { } 366public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 368public ISupportErrorInfo(IObjectReference obj) : this(obj.As<Vftbl>()) { } 400public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 402public IRestrictedErrorInfo(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\IContextCallback.cs (2)
61public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 63public IContextCallback(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (2)
912return objRef.As<IInspectable.Vftbl>(); 927using var unknownObjRef = objRef.As<IUnknownVftbl>();
MS\Internal\WindowsRuntime\Generated\WinRT\ObjectReference.cs (1)
141using var unknownObjRef = As<IUnknownVftbl>();
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (4)
158public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 160public IEnumerable(IObjectReference obj) : this(obj.As<Vftbl>()) { } 564public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 567public IEnumerator(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
355public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 357public IReadOnlyList(IObjectReference obj) : this(obj.As<Vftbl>()) { }