Beispiel #1
0
        public SolutionState(string defaultPrefix, string defaultExtension)
        {
            _defaultPrefix    = defaultPrefix;
            _defaultExtension = defaultExtension;

            Sources = new SourceFileList(defaultPrefix, defaultExtension);
        }
Beispiel #2
0
        public SolutionState(string defaultPrefix, string defaultExtension, MarkupMode markupMode)
        {
            _defaultPrefix    = defaultPrefix;
            _defaultExtension = defaultExtension;

            Sources        = new SourceFileList(defaultPrefix, defaultExtension);
            MarkupHandling = markupMode;
        }
Beispiel #3
0
        public ProjectState(string name, string language, string defaultPrefix, string defaultExtension)
        {
            Name             = name;
            Language         = language;
            DefaultPrefix    = defaultPrefix;
            DefaultExtension = defaultExtension;

            Sources = new SourceFileList(defaultPrefix, defaultExtension);
        }
Beispiel #4
0
        internal ProjectState(ProjectState sourceState)
        {
            Name                = sourceState.Name;
            Language            = sourceState.Language;
            ReferenceAssemblies = sourceState.ReferenceAssemblies;
            OutputKind          = sourceState.OutputKind;
            DocumentationMode   = sourceState.DocumentationMode;
            DefaultPrefix       = sourceState.DefaultPrefix;
            DefaultExtension    = sourceState.DefaultExtension;
            Sources             = new SourceFileList(DefaultPrefix, DefaultExtension);

            Sources.AddRange(sourceState.Sources);
            AdditionalFiles.AddRange(sourceState.AdditionalFiles);
            AdditionalFilesFactories.AddRange(sourceState.AdditionalFilesFactories);
            AdditionalProjectReferences.AddRange(sourceState.AdditionalProjectReferences);
        }