Пример #1
0
 private void MergeAttributes(AttributeDefinitionCollection source, AttributeDefinitionCollection target)
 {
     foreach (AttributeDefinition 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);
 }
Пример #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);
 }