Table of Contents

Class ScramblingOptions.DatabaseDefinition

Namespace
The.Components
Assembly
Instagile.dll
public sealed class ScramblingOptions.DatabaseDefinition
Inheritance
ScramblingOptions.DatabaseDefinition
Inherited Members

Methods

AddDocumentPlaceholder(Func<Stream>, string, bool, params IEnumerable<string>)

Document attributes with a document having a MIME type present in mimeTypes will be replaced with a document having the specified stream content.

public ScramblingOptions.DatabaseDefinition AddDocumentPlaceholder(Func<Stream> getStream, string filename, bool isImage, params IEnumerable<string> mimeTypes)

Parameters

getStream Func<Stream>

Open a stream to read the data for the placeholder document.

filename string

Filename of the document.

isImage bool

Whether the document is an image.

mimeTypes IEnumerable<string>

MIME types that should be replaced by this document.

Returns

ScramblingOptions.DatabaseDefinition