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
getStreamFunc<Stream>Open a stream to read the data for the placeholder document.
filenamestringFilename of the document.
isImageboolWhether the document is an image.
mimeTypesIEnumerable<string>MIME types that should be replaced by this document.