Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProviderFactoryInfo"/> class.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <param name="name">The name.</param>
 /// <param name="typeName">Name of the type.</param>
 public ProviderFactoryInfo(ProviderKey key, string name, string typeName)
 {
     Key           = key;
     Name          = name;
     ExportFactory = new ExportFactory(typeName);
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProviderFactoryInfo"/> class.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <param name="name">The name.</param>
 /// <param name="instance">The instance.</param>
 public ProviderFactoryInfo(ProviderKey key, string name, object instance)
 {
     Key           = key;
     Name          = name;
     ExportFactory = new ExportFactory(instance);
 }