コード例 #1
0
        public GeneralSettings(SDGuiStrings strings, SharpDoxConfig config)
		{
            DataContext = config;
            Strings = strings;

            InitializeComponent();
        }
コード例 #2
0
ファイル: ParseContext.cs プロジェクト: JoeHosman/sharpDox
        public ParseContext(SharpDoxConfig sharpDoxConfig, SDBuildStrings sdBuildStrings, IConfigController configController, BuildMessenger buildMessenger)
        {
            _sdBuildStrings = sdBuildStrings;
            _buildMessenger = buildMessenger;

            _steps = new Steps(sharpDoxConfig, sdBuildStrings, configController, buildMessenger);
        }
コード例 #3
0
        public VisibilitySettings(SDGuiStrings strings, SharpDoxConfig sharpdoxConfig, IBuildController buildController, IBuildMessenger buildMessenger)
        {
            Strings = strings;

            DataContext = new VisibilityViewModel(sharpdoxConfig, buildController, buildMessenger);
            InitializeComponent();
        }
コード例 #4
0
ファイル: ExportStep.cs プロジェクト: JoeHosman/sharpDox
 public ExportStep(SharpDoxConfig sharpDoxConfig, SDBuildStrings sdBuildStrings, BuildMessenger buildMessenger, IExporter[] allExporters)
 {
     _sharpDoxConfig = sharpDoxConfig;
     _sdBuildStrings = sdBuildStrings;
     _buildMessenger = buildMessenger;
     _allExporters = allExporters;
 }
コード例 #5
0
        public VisibilityViewModel(SharpDoxConfig sharpDoxConfig, IBuildController buildController, IBuildMessenger buildMessenger)
        {
            _sharpDoxConfig = sharpDoxConfig;
            _buildController = buildController;

            sharpDoxConfig.PropertyChanged += ConfigChanged;
            buildMessenger.OnParseCompleted += ParseCompleted;
        }
コード例 #6
0
ファイル: BuildContext.cs プロジェクト: JoeHosman/sharpDox
        public BuildContext(SharpDoxConfig sharpDoxConfig, SDBuildStrings sdBuildStrings, IConfigController configController, BuildMessenger buildMessenger, IExporter[] allExporters)
        {
            _sharpDoxConfig = sharpDoxConfig;
            _sdBuildStrings = sdBuildStrings;
            _buildMessenger = buildMessenger;

            _steps = new Steps(sharpDoxConfig, sdBuildStrings, configController, buildMessenger, allExporters);
        }
コード例 #7
0
ファイル: Steps.cs プロジェクト: JoeHosman/sharpDox
 public Steps(SharpDoxConfig sharpDoxConfig, SDBuildStrings sdBuildStrings, IConfigController configController, BuildMessenger buildMessenger, IExporter[] allExporters = null)
 {
     PreBuildStep = new PreBuildStep(sharpDoxConfig, sdBuildStrings);
     LoadStep = new LoadStep(sharpDoxConfig, sdBuildStrings, buildMessenger);
     ParseStep = new ParseStep(sdBuildStrings, sharpDoxConfig, buildMessenger);
     StructureParseStep = new StructureParseStep(sdBuildStrings, buildMessenger);
     ExportStep = new ExportStep(sharpDoxConfig, sdBuildStrings, buildMessenger, allExporters);
     EndStep = new EndStep(configController, sharpDoxConfig);
 }
コード例 #8
0
ファイル: ShellViewModel.cs プロジェクト: JoeHosman/sharpDox
        public ShellViewModel(SDGuiStrings strings, IConfigController configController, SharpDoxConfig sharpDoxConfig, Action onCloseHandle)
        {
            _onCloseHandle = onCloseHandle;
            _configController = configController;
            _configController.OnRecentProjectsChanged += RecentProjectsChanged;

            Strings = strings;
            Config = sharpDoxConfig;

            RecentProjectsChanged();
        }
コード例 #9
0
ファイル: Shell.xaml.cs プロジェクト: JoeHosman/sharpDox
        public Shell(SDGuiStrings strings, SharpDoxConfig sharpDoxConfig, IConfigController configController, IPage[] allPages)
        {
            _allPages = allPages;

            DataContext = new ShellViewModel(strings, configController, sharpDoxConfig, ExecuteOnClose);
            Strings = strings;

            InitializeComponent();
            SetMainMenu();
            SetExportDropDown();

            MouseLeftButtonDown += (s, a) => DragMove();
        }
コード例 #10
0
ファイル: BuildController.cs プロジェクト: JoeHosman/sharpDox
        public void StartBuild(SharpDoxConfig sharpDoxConfig, bool thread)
        {
            var buildContext = new BuildContext(sharpDoxConfig, _sdBuildStrings, _configController, _buildMessenger, _allExporters);

            if (thread)
            {
                Stop();
                _buildThread = new Thread(buildContext.BuildDocumentation);
                _buildThread.Start();
            }
            else
            {
                buildContext.BuildDocumentation();
            }
        }
コード例 #11
0
        public BuildWindow(SDGuiStrings strings, SharpDoxConfig sharpDoxConfig, IBuildController buildController, IBuildMessenger buildMessenger)
        {
            Strings = strings;

            _sharpDoxConfig = sharpDoxConfig;
            _buildController = buildController;
            _buildMessenger = buildMessenger;
            _buildMessenger.OnBuildMessage += BuilderOnMessage;
            _buildMessenger.OnStepMessage += BuilderOnStepMessage;
            _buildMessenger.OnBuildStopped += BuilderOnStopped;
            _buildMessenger.OnBuildProgress += BuilderOnBuildProgress;
            _buildMessenger.OnStepProgress += BuilderOnStepProgress;

            InitializeComponent();
        }
コード例 #12
0
ファイル: BuildController.cs プロジェクト: JoeHosman/sharpDox
        public void StartParse(SharpDoxConfig sharpDoxConfig, bool thread)
        {
            var parseContext = new ParseContext(sharpDoxConfig, _sdBuildStrings, _configController, _buildMessenger);

            if (thread)
            {
                Stop();
                _buildThread = new Thread(parseContext.ParseSolution);
                _buildThread.Start();
            }
            else
            {
                parseContext.ParseSolution();
            }
        }
コード例 #13
0
ファイル: EndStep.cs プロジェクト: JoeHosman/sharpDox
 public EndStep(IConfigController configController, SharpDoxConfig sharpDoxConfig)
 {
     _configController = configController;
     _sharpDoxConfig = sharpDoxConfig;
 }
コード例 #14
0
ファイル: LoadStep.cs プロジェクト: JoeHosman/sharpDox
 public LoadStep(SharpDoxConfig config, SDBuildStrings sdBuildStrings, BuildMessenger buildMessenger)
 {
     _config = config;
     _sdBuildStrings = sdBuildStrings;
     _buildMessenger = buildMessenger;
 }
コード例 #15
0
ファイル: PreBuildStep.cs プロジェクト: JoeHosman/sharpDox
 public PreBuildStep(SharpDoxConfig config, SDBuildStrings sdBuildStrings)
 {
     _config = config;
     _sdBuildStrings = sdBuildStrings;
 }
コード例 #16
0
ファイル: ParseStep.cs プロジェクト: JoeHosman/sharpDox
 public ParseStep(SDBuildStrings sdBuildStrings, SharpDoxConfig sharpDoxConfig, BuildMessenger buildMessenger)
 {
     _sharpDoxConfig = sharpDoxConfig;
     _sdBuildStrings = sdBuildStrings;
     _buildMessenger = buildMessenger;
 }
コード例 #17
0
ファイル: NamespaceParser.cs プロジェクト: JoeHosman/sharpDox
 internal NamespaceParser(SDRepository repository, List<string> excludedIdentifiers, SharpDoxConfig sharpDoxConfig)
     : base(repository, excludedIdentifiers) 
 {
     _descriptionFiles = Directory.EnumerateFiles(Path.GetDirectoryName(sharpDoxConfig.InputPath), "*.sdnd", SearchOption.AllDirectories);
 }