コード例 #1
0
        public void OnImportsSatisfied()
        {
            // Save the synchronization context of the main thread
            FSyncContext = SynchronizationContext.Current;
            // Runtime host needs to be created on the main thread due to COM access
            FHDEHost.MouseDown += HandleMouseDown;
            FHDEHost.WindowSelectionChanged += HandleWindowSelectionChanged;

            Host.Initialize(FHDEHost, FLogger);

            // Add our IO factory to the registry
            var registry = new StreamRegistry();

            FIORegistry.Register(registry, true);

            Host.Platform.CompilationUpdated += Platform_CompilationUpdated;
        }
コード例 #2
0
ファイル: IOFactory.cs プロジェクト: timpernagel/vvvv-sdk
 public void Register(IIORegistry registry, bool first)
 {
     FRegistry.Register(registry, first);
 }