protected AddinCollectionBase(dynamic definitions, IExportLoader exportLoader) { _definitions = definitions; _exportLoader = exportLoader; _collection = new Dictionary <Guid, T>(); Initialize(); }
public ProfilingTypeCollection(ProfilingTypeDefinitionCollection definitions, IExportLoader exportLoader, string applicationCode, Host.ApplicationCollection hostApplications) { _definitions = definitions; _exportLoader = exportLoader; _applicationCode = applicationCode; _hostApplications = hostApplications; }
public FrameworkCollection(FrameworkDefinitionCollection definitions, IExportLoader exportLoader, string applicationCode, Host.ApplicationCollection hostApplications) { _definitions = definitions; _exportLoader = exportLoader; _applicationCode = applicationCode; _hostApplications = hostApplications; }
public ProfilingTarget(ProfilingTargetDefinition definition, IExportLoader exportLoader, string applicationCode, Host.IApplicationCollection hostApplications) { _hostApplications = hostApplications; _definition = definition; _exportLoader = exportLoader; _applicationCode = applicationCode; _supportedHostApplications = InitializeSupportedApplications(hostApplications); _supportedHostApplications.CollectionChanged += OnSupportedHostApplicationsCollectionChanged; _hostApplications.ApplicationConnected += OnHostApplicationConnected; _hostApplications.ApplicationDisconnected += OnHostApplicationDisconnected; }
public ProfilingType(ProfilingTypeDefinition definition, IExportLoader exportLoader, string applicationCode, IFrameworkCollection frameworks, Host.IApplicationCollection hostApplications) { _definition = definition; _exportLoader = exportLoader; _applicationCode = applicationCode; _frameworks = frameworks; _hostApplications = hostApplications; _supportedHostApplications = new ObservableCollection <Host.IApplication>(); _supportedHostApplications.CollectionChanged += OnSupportedHostApplicationsCollectionChanged; _hostApplications.ApplicationConnected += OnHostApplicationConnected; _hostApplications.ApplicationDisconnected += OnHostApplicationDisconnected; }
public Framework(FrameworkDefinition definition, IExportLoader exportLoader, string applicationCode, IProfilingTypeCollection profilingTypes, Host.IApplicationCollection hostApplications) { _definition = definition; _exportLoader = exportLoader; _applicationCode = applicationCode; _profilingTypes = profilingTypes; _hostApplications = hostApplications; _supportedHostApplications = InitializeSupportedApplications(hostApplications); _supportedHostApplications.CollectionChanged += OnSupportedHostApplicationsCollectionChanged; _hostApplications.ApplicationConnected += OnHostApplicationConnected; _hostApplications.ApplicationDisconnected += OnHostApplicationDisconnected; }
public ProfilingTargetCollection(ProfilingTargetDefinitionCollection definitions, IExportLoader exportLoader, string applicationCode, Host.ApplicationCollection hostApplications) { InitializeCollection(definitions, exportLoader, applicationCode, hostApplications); }
protected abstract T CreateItem(dynamic definition, IExportLoader exportLoader);
public ProfilingTarget(ProfilingTargetDefinition definition, IExportLoader exportLoader) { _definition = definition; _exportLoader = exportLoader; Initialize(); }
public ProfilingType(ProfilingTypeDefinition definition, IExportLoader exportLoader) { _definition = definition; _exportLoader = exportLoader; }
private static Dictionary <Guid, IProfilingType> LoadCollection(ProfilingTypeDefinitionCollection definitions, IExportLoader exportLoader) { Dictionary <Guid, IProfilingType> collection = new Dictionary <Guid, IProfilingType>(); foreach (ProfilingTypeDefinition definition in definitions) { IProfilingType item = new ProfilingType(definition, exportLoader); collection.Add(definition.Uid, item); } return(collection); }
public Framework(FrameworkDefinition definition, IExportLoader exportLoader) { _definition = definition; _exportLoader = exportLoader; Initialize(); }
public Productivity(ProductivityDefinition definition, IExportLoader exportLoader, string applicationCode) { _definition = definition; _exportLoader = exportLoader; _applicationCode = applicationCode; }
private void InitializeCollection(ProfilingTargetDefinitionCollection definitions, IExportLoader exportLoader, string applicationCode, Host.ApplicationCollection hostApplications) { foreach (ProfilingTargetDefinition definition in definitions) { ProfilingTarget item = new ProfilingTarget(definition, exportLoader, applicationCode, hostApplications); Add(item.Definition.Uid, item); } }
private static Dictionary <Guid, IApplicationExtension> LoadCollection(ApplicationExtensionDefinitionCollection definitions, IExportLoader exportLoader) { Dictionary <Guid, IApplicationExtension> collection = new Dictionary <Guid, IApplicationExtension>(); foreach (ApplicationExtensionDefinition definition in definitions) { IApplicationExtension item = new ApplicationExtension(definition, exportLoader); collection.Add(definition.Uid, item); } return(collection); }
public ApplicationExtensionCollection(ApplicationExtensionDefinitionCollection definitions, IExportLoader exportLoader) { _collection = LoadCollection(definitions, exportLoader); }
public ProductivityCollection(ProductivityDefinitionCollection definitions, IExportLoader exportLoader, string applicationCode) { InitializeCollection(definitions, exportLoader, applicationCode); }
private void InitializeCollection(ProductivityDefinitionCollection definitions, IExportLoader exportLoader, string applicationCode) { foreach (ProductivityDefinition definition in definitions) { Productivity item = new Productivity(definition, exportLoader, applicationCode); Add(item.Definition.Uid, item); } }
public ApplicationExtension(ApplicationExtensionDefinition definition, IExportLoader exportLoader) { _definition = definition; _exportLoader = exportLoader; }
public FrameworkCollection(FrameworkDefinitionCollection definitions, IExportLoader exportLoader) { _collection = LoadCollection(definitions, exportLoader); }
private static Dictionary <Guid, IFramework> LoadCollection(FrameworkDefinitionCollection definitions, IExportLoader exportLoader) { Dictionary <Guid, IFramework> collection = new Dictionary <Guid, IFramework>(); foreach (FrameworkDefinition definition in definitions) { IFramework item = new Framework(definition, exportLoader); collection.Add(definition.Uid, item); } return(collection); }
public ProfilingTypeCollection(ProfilingTypeDefinitionCollection definitions, IExportLoader exportLoader) { _collection = LoadCollection(definitions, exportLoader); }