Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Package"/> class.
 /// </summary>
 public Package()
 {
     localDependencies = new List<PackageReference>();
     temporaryAssets = new AssetItemCollection();
     assets = new PackageAssetCollection(this);
     explicitFolders = new List<UDirectory>();
     Bundles = new BundleCollection(this);
     Meta = new PackageMeta();
     TemplateFolders = new List<TemplateFolder>();
     Templates = new List<TemplateDescription>();
     Profiles = new PackageProfileCollection();
     IsDirty = true;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Package"/> class.
 /// </summary>
 public Package()
 {
     localDependencies = new List<PackageReference>();
     temporaryAssets = new AssetItemCollection();
     assets = new PackageAssetCollection(this);
     explicitFolders = new List<UDirectory>();
     loadedAssemblies = new List<PackageLoadedAssembly>();
     Bundles = new BundleCollection(this);
     Meta = new PackageMeta();
     TemplateFolders = new List<TemplateFolder>();
     Templates = new List<TemplateDescription>();
     Profiles = new PackageProfileCollection();
     IsDirty = true;
     settings = new Lazy<PackageUserSettings>(() => new PackageUserSettings(this));
     SerializedVersion = PackageFileVersion;
 }