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