Share via


IDocumentTypeFeature<TDocumentType> Interface

Definition

Feature interface that defines the type of a document and allows for changing it.

public interface IDocumentTypeFeature<TDocumentType> where TDocumentType : struct
type IDocumentTypeFeature<'DocumentType (requires 'DocumentType : struct)> = interface
Public Interface IDocumentTypeFeature(Of TDocumentType)

Type Parameters

TDocumentType

Type that represents the document type.

Properties

Current

Gets or sets the type of the document.

Methods

ChangeDocumentType(TDocumentType)

Provides logic to change one type to another. Will likely affect Current.

GetContentType(TDocumentType)

Gets the content type for a given document type.

GetDocumentType(String)

Gets the document type for a given content type.

Applies to