Ejemplo n.º 1
0
 private void MergeExports(ExportDefinitionCollection source, ExportDefinitionCollection target)
 {
     foreach (ExportDefinition export in source)
     {
         target.Add(export);
     }
 }
 internal ProfilingTargetDefinition(Guid uid, List <ExportDefinition> exports,
                                    List <LocalizationDefinition> localizations, List <AttributeDefinition> attributes)
 {
     Uid          = uid;
     Exports      = new ExportDefinitionCollection(exports);
     Localization = new LocalizationDefinitionCollection(localizations);
     Attributes   = new AttributeDefinitionCollection(attributes);
 }
Ejemplo n.º 3
0
 internal AttachmentDefinition(Guid targetUid, List <ExportDefinition> exports,
                               List <DependencyDefinition> dependencies, List <AttributeDefinition> attributes)
 {
     TargetUid    = targetUid;
     Exports      = new ExportDefinitionCollection(exports);
     Dependencies = new DependencyDefinitionCollection(dependencies);
     Attributes   = new AttributeDefinitionCollection(attributes);
 }
 internal ApplicationExtensionDefinition(Guid uid, List <ExportDefinition> exports,
                                         List <LocalizationDefinition> localizations, List <AttributeDefinition> attributes)
 {
     Uid          = uid;
     Exports      = new ExportDefinitionCollection(exports);
     Localization = new LocalizationDefinitionCollection(localizations);
     Attributes   = new AttributeDefinitionCollection(attributes);
 }
 internal ProductivityDefinition(Guid uid, List <ExportDefinition> exports, List <DependencyDefinition> dependencies,
                                 List <LocalizationDefinition> localizations, List <AttributeDefinition> attributes)
 {
     Uid          = uid;
     Exports      = new ExportDefinitionCollection(exports);
     Dependencies = new DependencyDefinitionCollection(dependencies);
     Localization = new LocalizationDefinitionCollection(localizations);
     Attributes   = new AttributeDefinitionCollection(attributes);
 }
 internal ProfilingTypeDefinition(Guid uid, Guid frameworkUid, List <ExportDefinition> exports,
                                  List <DependencyDefinition> dependencies, List <LocalizationDefinition> localizations, List <AttributeDefinition> attributes)
 {
     Uid          = uid;
     FrameworkUid = frameworkUid;
     Exports      = new ExportDefinitionCollection(exports);
     Dependencies = new DependencyDefinitionCollection(dependencies);
     Localization = new LocalizationDefinitionCollection(localizations);
     Attributes   = new AttributeDefinitionCollection(attributes);
 }