internal ExtendedExecutionForegroundRevokedEventArgs(IObjectReference objRef)
 {
     _inner = objRef.As(GuidGenerator.GetIID(typeof(IExtendedExecutionForegroundRevokedEventArgs).GetHelperType()));
     _defaultLazy = new Lazy<IExtendedExecutionForegroundRevokedEventArgs>(() => (IExtendedExecutionForegroundRevokedEventArgs)new SingleInterfaceOptimizedObject(typeof(IExtendedExecutionForegroundRevokedEventArgs), _inner));
     _lazyInterfaces = new Dictionary<Type, object>()
     {
     };
 }
コード例 #2
0
 internal CharacterGrouping(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(ICharacterGrouping).GetHelperType()));
     _defaultLazy    = new Lazy <ICharacterGrouping>(() => (ICharacterGrouping) new SingleInterfaceOptimizedObject(typeof(ICharacterGrouping), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #3
0
 internal DeviceServicingDetails(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IDeviceServicingDetails).GetHelperType()));
     _defaultLazy    = new Lazy <IDeviceServicingDetails>(() => (IDeviceServicingDetails) new SingleInterfaceOptimizedObject(typeof(IDeviceServicingDetails), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
 internal PlatformTelemetryRegistrationSettings(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IPlatformTelemetryRegistrationSettings).GetHelperType()));
     _defaultLazy    = new Lazy <IPlatformTelemetryRegistrationSettings>(() => (IPlatformTelemetryRegistrationSettings) new SingleInterfaceOptimizedObject(typeof(IPlatformTelemetryRegistrationSettings), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #5
0
 internal SystemNavigationCloseRequestedPreviewEventArgs(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(ISystemNavigationCloseRequestedPreviewEventArgs).GetHelperType()));
     _defaultLazy    = new Lazy <ISystemNavigationCloseRequestedPreviewEventArgs>(() => (ISystemNavigationCloseRequestedPreviewEventArgs) new SingleInterfaceOptimizedObject(typeof(ISystemNavigationCloseRequestedPreviewEventArgs), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #6
0
 internal VariablePhotoCapturedEventArgs(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IVariablePhotoCapturedEventArgs).GetHelperType()));
     _defaultLazy    = new Lazy <IVariablePhotoCapturedEventArgs>(() => (IVariablePhotoCapturedEventArgs) new SingleInterfaceOptimizedObject(typeof(IVariablePhotoCapturedEventArgs), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #7
0
 internal ScreenReaderPositionChangedEventArgs(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IScreenReaderPositionChangedEventArgs).GetHelperType()));
     _defaultLazy    = new Lazy <IScreenReaderPositionChangedEventArgs>(() => (IScreenReaderPositionChangedEventArgs) new SingleInterfaceOptimizedObject(typeof(IScreenReaderPositionChangedEventArgs), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #8
0
 internal PreviewBuildsState(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IPreviewBuildsState).GetHelperType()));
     _defaultLazy    = new Lazy <IPreviewBuildsState>(() => (IPreviewBuildsState) new SingleInterfaceOptimizedObject(typeof(IPreviewBuildsState), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #9
0
 internal BatteryReport(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IBatteryReport).GetHelperType()));
     _defaultLazy    = new Lazy <IBatteryReport>(() => (IBatteryReport) new SingleInterfaceOptimizedObject(typeof(IBatteryReport), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #10
0
 internal EnterpriseKeyCredentialRegistrationInfo(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IEnterpriseKeyCredentialRegistrationInfo).GetHelperType()));
     _defaultLazy    = new Lazy <IEnterpriseKeyCredentialRegistrationInfo>(() => (IEnterpriseKeyCredentialRegistrationInfo) new SingleInterfaceOptimizedObject(typeof(IEnterpriseKeyCredentialRegistrationInfo), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #11
0
 internal CompositionDebugHeatMaps(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(ICompositionDebugHeatMaps).GetHelperType()));
     _defaultLazy    = new Lazy <ICompositionDebugHeatMaps>(() => (ICompositionDebugHeatMaps) new SingleInterfaceOptimizedObject(typeof(ICompositionDebugHeatMaps), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #12
0
 internal NamedPolicyData(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(INamedPolicyData).GetHelperType()));
     _defaultLazy    = new Lazy <INamedPolicyData>(() => (INamedPolicyData) new SingleInterfaceOptimizedObject(typeof(INamedPolicyData), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
 internal SpatialGraphInteropFrameOfReferencePreview(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(ISpatialGraphInteropFrameOfReferencePreview).GetHelperType()));
     _defaultLazy    = new Lazy <ISpatialGraphInteropFrameOfReferencePreview>(() => (ISpatialGraphInteropFrameOfReferencePreview) new SingleInterfaceOptimizedObject(typeof(ISpatialGraphInteropFrameOfReferencePreview), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
     };
 }
コード例 #14
0
 internal EasClientDeviceInformation(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IEasClientDeviceInformation).GetHelperType()));
     _defaultLazy    = new Lazy <IEasClientDeviceInformation>(() => (IEasClientDeviceInformation) new SingleInterfaceOptimizedObject(typeof(IEasClientDeviceInformation), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
         { typeof(IEasClientDeviceInformation2), new Lazy <IEasClientDeviceInformation2>(() => (IEasClientDeviceInformation2)(object)new SingleInterfaceOptimizedObject(typeof(IEasClientDeviceInformation2), _inner ?? ((IWinRTObject)this).NativeObject)) },
     };
 }
コード例 #15
0
 internal PerceptionTimestamp(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IPerceptionTimestamp).GetHelperType()));
     _defaultLazy    = new Lazy <IPerceptionTimestamp>(() => (IPerceptionTimestamp) new SingleInterfaceOptimizedObject(typeof(IPerceptionTimestamp), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
         { typeof(IPerceptionTimestamp2), new Lazy <IPerceptionTimestamp2>(() => (IPerceptionTimestamp2)(object)new SingleInterfaceOptimizedObject(typeof(IPerceptionTimestamp2), _inner ?? ((IWinRTObject)this).NativeObject)) },
     };
 }
コード例 #16
0
 internal ContactPickerUI(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IContactPickerUI).GetHelperType()));
     _defaultLazy    = new Lazy <IContactPickerUI>(() => (IContactPickerUI) new SingleInterfaceOptimizedObject(typeof(IContactPickerUI), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
         { typeof(IContactPickerUI2), new Lazy <IContactPickerUI2>(() => (IContactPickerUI2)(object)new SingleInterfaceOptimizedObject(typeof(IContactPickerUI2), _inner ?? ((IWinRTObject)this).NativeObject)) },
     };
 }
 internal WalletItemSystemStore(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(IWalletItemSystemStore).GetHelperType()));
     _defaultLazy    = new Lazy <IWalletItemSystemStore>(() => (IWalletItemSystemStore) new SingleInterfaceOptimizedObject(typeof(IWalletItemSystemStore), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
         { typeof(IWalletItemSystemStore2), new Lazy <IWalletItemSystemStore2>(() => (IWalletItemSystemStore2)(object)new SingleInterfaceOptimizedObject(typeof(IWalletItemSystemStore2), _inner ?? ((IWinRTObject)this).NativeObject)) },
     };
 }
コード例 #18
0
 internal CompositorController(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(ICompositorController).GetHelperType()));
     _defaultLazy    = new Lazy <ICompositorController>(() => (ICompositorController) new SingleInterfaceOptimizedObject(typeof(ICompositorController), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
         { typeof(global::System.IDisposable), new Lazy <global::System.IDisposable>(() => (global::System.IDisposable)(object) new SingleInterfaceOptimizedObject(typeof(global::System.IDisposable), _inner ?? ((IWinRTObject)this).NativeObject)) },
     };
 }
        internal DesktopWindowTarget(IObjectReference objRef)
            : base(global::WinRT.DerivedComposed.Instance)

        {
            _inner          = objRef.As(GuidGenerator.GetIID(typeof(IDesktopWindowTarget).GetHelperType()));
            _defaultLazy    = new Lazy <IDesktopWindowTarget>(() => (IDesktopWindowTarget) new SingleInterfaceOptimizedObject(typeof(IDesktopWindowTarget), _inner));
            _lazyInterfaces = new Dictionary <Type, object>()
            {
            };
        }
コード例 #20
0
 internal SceneLightingEffect(IObjectReference objRef)
 {
     _inner          = objRef.As(GuidGenerator.GetIID(typeof(ISceneLightingEffect).GetHelperType()));
     _defaultLazy    = new Lazy <ISceneLightingEffect>(() => (ISceneLightingEffect) new SingleInterfaceOptimizedObject(typeof(ISceneLightingEffect), _inner));
     _lazyInterfaces = new Dictionary <Type, object>()
     {
         { typeof(ISceneLightingEffect2), new Lazy <ISceneLightingEffect2>(() => (ISceneLightingEffect2)(object)new SingleInterfaceOptimizedObject(typeof(ISceneLightingEffect2), _inner ?? ((IWinRTObject)this).NativeObject)) },
         { typeof(global::Windows.Graphics.Effects.IGraphicsEffect), new Lazy <global::Windows.Graphics.Effects.IGraphicsEffect>(() => (global::Windows.Graphics.Effects.IGraphicsEffect)(object) new SingleInterfaceOptimizedObject(typeof(global::Windows.Graphics.Effects.IGraphicsEffect), _inner ?? ((IWinRTObject)this).NativeObject)) },
         { typeof(global::Windows.Graphics.Effects.IGraphicsEffectSource), new Lazy <global::Windows.Graphics.Effects.IGraphicsEffectSource>(() => (global::Windows.Graphics.Effects.IGraphicsEffectSource)(object) new SingleInterfaceOptimizedObject(typeof(global::Windows.Graphics.Effects.IGraphicsEffectSource), _inner ?? ((IWinRTObject)this).NativeObject)) },
     };
 }
コード例 #21
0
        public IObjectReference Resolve(Guid riid)
        {
            if (!_ref.TryGetTarget(out object target))
            {
                return(null);
            }

            using (IObjectReference objReference = ComWrappersSupport.CreateCCWForObject(target))
            {
                return(objReference.As(riid));
            }
        }
コード例 #22
0
 public WindowWrapper(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }
コード例 #23
0
ファイル: Uri.cs プロジェクト: wjk/CsWinRT
 public WinRTUriRuntimeClassFactory(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }
コード例 #24
0
 public WinRTNotifyCollectionChangedEventArgsRuntimeClassFactory(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }
コード例 #25
0
 public IContextCallback(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }
コード例 #26
0
 public ILanguageExceptionErrorInfo(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }
コード例 #27
0
ファイル: ICommand.cs プロジェクト: wjk/CsWinRT
 public ICommand(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }
コード例 #28
0
 public InitializeWithWindowWrapper(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }
コード例 #29
0
 public Nullable(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }
コード例 #30
0
ファイル: IAgileReference.cs プロジェクト: karenbtlai/CsWinRT
 public IAgileObject(IObjectReference obj) : this(obj.As <Vftbl>())
 {
 }