Example #1
0
 private ProviderHandler(
     Type type,
     ProviderDescriptionAttribute pluginDescriptionAttribute,
     ProviderCapabilityAttribute capabilityAttributes)
 {
     Initialize(type, pluginDescriptionAttribute, capabilityAttributes);
 }
Example #2
0
 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;
 }
Example #3
0
 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);
 }