Show / Hide Table of Contents

Class AttachmentProcessor

The default attachment processor.

Inheritance
System.Object
AttachmentProcessor
WatsonAttachmentProcessor
Implements
IAttachmentProcessor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.Metadata
Assembly: CrashCABN.Metadata.Attachments.dll
Syntax
public class AttachmentProcessor : IAttachmentProcessor

Constructors

View Source

AttachmentProcessor(IAzureBlobProvider)

Initializes a new instance of the AttachmentProcessor class.

Declaration
public AttachmentProcessor(IAzureBlobProvider blobProvider = null)
Parameters
Type Name Description
IAzureBlobProvider blobProvider

The Azure blob provider.

Methods

View Source

Load(AttachmentInfo, IAttachmentContainer)

Loads an attachment.

Declaration
public virtual async ValueTask<object> Load(AttachmentInfo attachment, IAttachmentContainer container)
Parameters
Type Name Description
AttachmentInfo attachment

The attachment to load.

IAttachmentContainer container

The attachment container to use, in case other attachments need to be loaded.

Returns
Type Description
System.Threading.Tasks.ValueTask<System.Object>

A task representing the asynchronous operation.

Implements

IAttachmentProcessor
  • View Source
In This Article
Back to top Generated by DocFX