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