Exemple #1
0
        public static AvaloniaNativePlatform Initialize(IntPtr factory, AvaloniaNativePlatformOptions options)
        {
            var platform = new AvaloniaNativePlatform(new IAvaloniaNativeFactory(factory));

            platform.DoInitialize(options);
            return(platform);
        }
Exemple #2
0
        public static AvaloniaNativePlatform Initialize(IntPtr factory, AvaloniaNativePlatformOptions options)
        {
            var result = new AvaloniaNativePlatform(MicroComRuntime.CreateProxyFor <IAvaloniaNativeFactory>(factory, true));

            result.DoInitialize(options);

            return(result);
        }
Exemple #3
0
        public TimeSpan DoubleClickTime => TimeSpan.FromMilliseconds(500); //TODO

        public static AvaloniaNativePlatform Initialize(IntPtr factory, AvaloniaNativePlatformOptions options)
        {
            var result = new AvaloniaNativePlatform(new IAvaloniaNativeFactory(factory));

            result.DoInitialize(options);

            return(result);
        }