示例#1
0
        public RecordingManager(IScriptManager ScriptManager, ISettingsManager SettingsManager, ICroppingManager CroppingManager, IAssetManager AssetManager, IProfiler Profiler,
                                IFeatureDetectorFactory FeatureDetectorFactory, IInputCallbacks InputCallbacks)
        {
            this.ScriptManager          = ScriptManager;
            this.SettingsManager        = SettingsManager;
            this.CroppingManager        = CroppingManager;
            this.AssetManager           = AssetManager;
            this.Profiler               = Profiler;
            this.FeatureDetectorFactory = FeatureDetectorFactory;
            this.InputCallbacks         = InputCallbacks;

            InputCallbacks.InputEvent += OnInputEvent;
        }
示例#2
0
 public FeatureDetectionThread(IScreenStateThread ScreenStateThread, IProfiler Profiler, IFeatureDetectorFactory FeatureDetectorFactory)
 {
     this.ScreenStateThread      = ScreenStateThread;
     this.Profiler               = Profiler;
     this.FeatureDetectorFactory = FeatureDetectorFactory;
 }
示例#3
0
        public PropertyDependencyProvider(IUnityContainer UnityContainer, IAssetManager AssetManager, IFeatureDetectorFactory FeatureDetectorFactory, ICommandFactory CommandFactory)
        {
            typeof(AssetGUIDImageStringConverter).GetProperty("AssetManager", BindingFlags.Static | BindingFlags.NonPublic).SetValue(null, AssetManager);
            typeof(AssetGUIDImageUITypeEditor).GetProperty("AssetManager", BindingFlags.Static | BindingFlags.NonPublic).SetValue(null, AssetManager);
            typeof(ScriptGUIDStringConverter).GetProperty("AssetManager", BindingFlags.Static | BindingFlags.NonPublic).SetValue(null, AssetManager);

            typeof(DetectorNameStringConverter).GetProperty("FeatureDetectorFactory", BindingFlags.Static | BindingFlags.NonPublic).SetValue(null, FeatureDetectorFactory);

            typeof(CommandNameStringConverter).GetProperty("CommandFactory", BindingFlags.Static | BindingFlags.NonPublic).SetValue(null, CommandFactory);
        }