53 references to As
PresentationFramework (53)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (13)
423public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.AlternateWordForm obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IAlternateWordForm.Vftbl>(); 528public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 530public IAlternateWordForm(IObjectReference obj) : this(obj.As<Vftbl>()) {} 969public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 971public IUnicodeCharactersStatics(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1212public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1214public IWordSegment(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1380public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1382public IWordsSegmenter(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1514public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 1516public IWordsSegmenterFactory(IObjectReference obj) : this(obj.As<Vftbl>()) {} 1547public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegment obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IWordSegment.Vftbl>(); 1656public 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)
322public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 324public ILanguage(IObjectReference obj) : this(obj.As<Vftbl>()) {} 449public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 451public ILanguage2(IObjectReference obj) : this(obj.As<Vftbl>()) {} 523public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 525public ILanguageExtensionSubtags(IObjectReference obj) : this(obj.As<Vftbl>()) {} 604public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 606public ILanguageFactory(IObjectReference obj) : this(obj.As<Vftbl>()) {} 706public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 708public ILanguageStatics(IObjectReference obj) : this(obj.As<Vftbl>()) {} 803public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 805public ILanguageStatics2(IObjectReference obj) : this(obj.As<Vftbl>()) {} 836public 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)
260return ComWrappersSupport.GetObjectReferenceForInterface(instancePtr).As<I>(); 268public 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)
60public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 62public IContextCallback(IObjectReference obj) : this(obj.As<Vftbl>()) { }
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (2)
915return objRef.As<IInspectable.Vftbl>(); 930using 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>()) { } 563public ObjectReference<I> AsInterface<I>() => _obj.As<I>(); 566public 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>()) { }