コード例 #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="type">The type.</param>
 public ProviderFactoryInfo(ProviderKey key, string name, Type type)
     : this(key, name, type.AssemblyQualifiedName)
 {
 }
コード例 #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="typeName">Name of the type.</param>
 public ProviderFactoryInfo(ProviderKey key, string name, string typeName)
 {
     Key           = key;
     Name          = name;
     ExportFactory = new ExportFactory(typeName);
 }
コード例 #3
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);
 }
コード例 #4
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="type">The type.</param>
 public ProviderFactoryInfo(ProviderKey key, string name, Type type)
     : this(key, name, type.AssemblyQualifiedName)
 {
 }
コード例 #5
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);
 }
コード例 #6
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);
 }