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