Class TempFileStorageProviderCollection
Represents collection of temp file storage provider.
Inheritance
System.Object
TempFileStorageProviderCollection
Namespace: Mediachase.FileUploader.Web
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0Syntax
public class TempFileStorageProviderCollection : ProviderCollection
Constructors
TempFileStorageProviderCollection()
Initializes a new instance of the TempFileStorageProviderCollection class.
Declaration
public TempFileStorageProviderCollection()
Properties
Item[String]
Gets the TempFileStorageProvider with the specified name.
Declaration
public TempFileStorageProvider this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
TempFileStorageProvider |
Methods
Add(TempFileStorageProvider)
Adds the specified provider.
Declaration
public void Add(TempFileStorageProvider provider)
Parameters
Type | Name | Description |
---|---|---|
TempFileStorageProvider | provider | The provider. |
Add(ProviderBase)
Adds a provider to the collection.
Declaration
public override void Add(ProviderBase provider)
Parameters
Type | Name | Description |
---|---|---|
System.Configuration.Provider.ProviderBase | provider | The provider to be added. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The System.Configuration.Provider.ProviderBase.Name of provider is null.- or -The length of the System.Configuration.Provider.ProviderBase.Name of provider is less than 1. |
System.ArgumentNullException | provider is null. |
System.NotSupportedException | The collection is read-only. |
AddArray(TempFileStorageProvider[])
Adds the array.
Declaration
public void AddArray(TempFileStorageProvider[] providerArray)
Parameters
Type | Name | Description |
---|---|---|
TempFileStorageProvider[] | providerArray | The provider array. |