Пример #1
0
 private SolutionBase(TempFileCollection tfc, SolutionTask solutionTask)
 {
     _htOutputFiles = CollectionsUtil.CreateCaseInsensitiveHashtable();
     _projectEntries = new ProjectEntryCollection();
     _htReferenceProjects = CollectionsUtil.CreateCaseInsensitiveHashtable();
     _tfc = tfc;
     _solutionTask = solutionTask;
     _outputDir = solutionTask.OutputDir;
     _webMaps = solutionTask.WebMaps;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SolutionTask" /> class.
 /// </summary>
 public SolutionTask()
 {
     _customproperties = new ArrayList();
     _projects = new FileSet();
     _referenceProjects = new FileSet();
     _excludeProjects = new FileSet();
     _assemblyFolders = new FileSet();
     _webMaps = new WebMapCollection();
     _projectFactory = ProjectFactory.Create(this);
     _solutionFactory = SolutionFactory.Create();
     _configuration = new Configuration ();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebMapCollection"/> class
 /// with the specified <see cref="WebMapCollection"/> instance.
 /// </summary>
 public WebMapCollection(WebMapCollection value)
 {
     AddRange(value);
 }
Пример #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="WebMapEnumerator"/> class
        /// with the specified <see cref="WebMapCollection"/>.
        /// </summary>
        /// <param name="arguments">The collection that should be enumerated.</param>
        internal WebMapEnumerator(WebMapCollection arguments)
        {
            IEnumerable temp = (IEnumerable)(arguments);

            _baseEnumerator = temp.GetEnumerator();
        }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebMapCollection"/> class
 /// with the specified <see cref="WebMapCollection"/> instance.
 /// </summary>
 public WebMapCollection(WebMapCollection value)
 {
     AddRange(value);
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebMapEnumerator"/> class
 /// with the specified <see cref="WebMapCollection"/>.
 /// </summary>
 /// <param name="arguments">The collection that should be enumerated.</param>
 internal WebMapEnumerator(WebMapCollection arguments)
 {
     IEnumerable temp = (IEnumerable) (arguments);
     _baseEnumerator = temp.GetEnumerator();
 }
Пример #7
0
 /// <summary>
 /// Adds the elements of a <see cref="WebMapCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="WebMapCollection"/> to be added to the end of the collection.</param> 
 public void AddRange(WebMapCollection items)
 {
     for (int i = 0; (i < items.Count); i = (i + 1)) {
         Add(items[i]);
     }
 }