private ProviderHandler( Type type, ProviderDescriptionAttribute pluginDescriptionAttribute, ProviderCapabilityAttribute capabilityAttributes) { Initialize(type, pluginDescriptionAttribute, capabilityAttributes); }
internal ProviderHandler(ProviderHandler fromCopy) { m_type = fromCopy.m_type; m_descriptionAttribute = fromCopy.m_descriptionAttribute; m_capabilityAttribute = fromCopy.m_capabilityAttribute; m_provider = (IProvider)Activator.CreateInstance(m_type); m_internalId = fromCopy.InternalId; VersionChanged = fromCopy.VersionChanged; }
private void Initialize( Type type, ProviderDescriptionAttribute pluginDescriptionAttribute, ProviderCapabilityAttribute capabilityAttributes) { this.m_type = type; m_descriptionAttribute = pluginDescriptionAttribute; m_capabilityAttribute = capabilityAttributes; m_provider = (IProvider)Activator.CreateInstance(type); }