Class BinaryStorableTransferObject

The transfer object for Blob instances.

Inheritance
System.Object
BinaryStorableTransferObject
Implements
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.Core.Transfer
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class BinaryStorableTransferObject : IFileTransferObject

Constructors

BinaryStorableTransferObject()

Initializes a new instance of the BinaryStorableTransferObject class.

Declaration
public BinaryStorableTransferObject()
Remarks

This is used at import side from XmlSerializer.

BinaryStorableTransferObject(BlobFactory)

Initializes a new instance of the BinaryStorableTransferObject class.

Declaration
public BinaryStorableTransferObject(BlobFactory blobFactory)
Parameters
Type Name Description
BlobFactory blobFactory

The BLOB factory.

Properties

PermanentLinkVirtualPath

Gets the permanent link virtual path

Declaration
public virtual string PermanentLinkVirtualPath { get; set; }
Property Value
Type Description
System.String

The permanent link virtual path

ProviderName

Gets or sets the name of the provider for the transfered file.

Declaration
public virtual string ProviderName { get; set; }
Property Value
Type Description
System.String

The name of the provider.

ProviderRelativePath

Gets or sets the provider relative path for the transfered file.

Declaration
public virtual string ProviderRelativePath { get; set; }
Property Value
Type Description
System.String

The provider relative path.

ProviderRelativeUnifiedPath

Gets or sets the unified path to the UnifiedPath (reltive the specified provider) that ACL is specified on

Declaration
public virtual string ProviderRelativeUnifiedPath { get; set; }
Property Value
Type Description
System.String

The unified path.

RawACL

The ACL for the file

Declaration
public virtual RawACE[] RawACL { get; set; }
Property Value
Type Description
RawACE[]

Url

Gets or sets the URL for the file

Declaration
public virtual string Url { get; set; }
Property Value
Type Description
System.String

The URL.

Methods

CheckIn(String)

Check in the file.

Declaration
public virtual void CheckIn(string commment)
Parameters
Type Name Description
System.String commment

The commment.

OpenRead()

Opens the read stream for this file.

Declaration
public virtual Stream OpenRead()
Returns
Type Description
System.IO.Stream

A read stream.

OpenWrite(IContentTransferContext)

Opens a write stream for the file.

Declaration
public virtual Stream OpenWrite(IContentTransferContext context)
Parameters
Type Name Description
IContentTransferContext context

The context.

Returns
Type Description
System.IO.Stream

Implements

Extension Methods