Class BlobFactory
Inheritance
System.Object
BlobFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
[Obsolete("Use IBlobFactory (or IBlobProviderRegistry for adding/removing providers)")]
[ServiceConfiguration(IncludeServiceAccessor = false, Lifecycle = ServiceInstanceScope.Singleton, FactoryMember = "Instance")]
public class BlobFactory : IBlobFactory, IBlobProviderRegistry
Constructors
BlobFactory()
Declaration
BlobFactory(String, IEnumerable<BlobProvider>)
Declaration
public BlobFactory(string defaultProvider, IEnumerable<BlobProvider> providers)
Parameters
Type |
Name |
Description |
System.String |
defaultProvider |
|
System.Collections.Generic.IEnumerable<BlobProvider> |
providers |
|
Properties
DefaultProvider
Declaration
public string DefaultProvider { get; set; }
Property Value
Type |
Description |
System.String |
|
Instance
Declaration
public static BlobFactory Instance { get; }
Property Value
Methods
CreateBlob(Uri, String)
Declaration
public virtual Blob CreateBlob(Uri id, string extension)
Parameters
Type |
Name |
Description |
System.Uri |
id |
|
System.String |
extension |
|
Returns
Delete(Uri)
Declaration
public virtual void Delete(Uri id)
Parameters
Type |
Name |
Description |
System.Uri |
id |
|
GetBlob(Uri)
Declaration
public virtual Blob GetBlob(Uri id)
Parameters
Type |
Name |
Description |
System.Uri |
id |
|
Returns
GetProvider(Uri)
Declaration
public virtual BlobProvider GetProvider(Uri id)
Parameters
Type |
Name |
Description |
System.Uri |
id |
|
Returns
Initialize(String, IEnumerable<BlobProvider>)
Declaration
public void Initialize(string defaultProvider, IEnumerable<BlobProvider> providers)
Parameters
Type |
Name |
Description |
System.String |
defaultProvider |
|
System.Collections.Generic.IEnumerable<BlobProvider> |
providers |
|
RegisterProvider(BlobProvider)
Declaration
public virtual void RegisterProvider(BlobProvider provider)
Parameters
UnregisterProvider(String)
Declaration
public virtual bool UnregisterProvider(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
IBlobProviderRegistry.AddProvider(BlobProvider)
Declaration
void IBlobProviderRegistry.AddProvider(BlobProvider provider)
Parameters
IBlobProviderRegistry.RemoveProvider(String)
Declaration
bool IBlobProviderRegistry.RemoveProvider(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
Extension Methods