November Happy Hour will be moved to Thursday December 5th.

Class BlobResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolves a property of type Blob on an IContentData instance.

Inheritance
System.Object
BlobResolver
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()
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class BlobResolver : IBlobResolver, IBlobAssigner

Constructors

BlobResolver()

Declaration
public BlobResolver()

Methods

ResolveProperty(IContentData, String)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolves a blob property with name propertyName (case insensitive) from content.

Declaration
public virtual BlobResolveResult ResolveProperty(IContentData content, string propertyName)
Parameters
Type Name Description
IContentData content

The content.

System.String propertyName

Name of the property.

Returns
Type Description
BlobResolveResult
Remarks

If property is not found on instance null is returned.

SetBlob(Blob, IContentData, String)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Sets the blob property named propertyName on content with value blob.

Declaration
public virtual void SetBlob(Blob blob, IContentData content, string propertyName)
Parameters
Type Name Description
Blob blob

The BLOB.

IContentData content

The content.

System.String propertyName

Name of the property.

Remarks

If blob property is not found System.InvalidOperationException is thrown.

Exceptions
Type Condition
System.InvalidOperationException

Implements

Extension Methods