Show / Hide Table of Contents

Class WatsonAttachmentProcessor

The Watson attachment processor.

Inheritance
object
AttachmentProcessor
WatsonAttachmentProcessor
Implements
IAttachmentProcessor
IEquatable<AttachmentProcessor>
IEquatable<WatsonAttachmentProcessor>
Inherited Members
AttachmentProcessor.BlobProvider
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CrashCABN.PullIngestion
Assembly: CrashCABN.PullIngestion.dll
Syntax
public record WatsonAttachmentProcessor : AttachmentProcessor, IAttachmentProcessor, IEquatable<AttachmentProcessor>, IEquatable<WatsonAttachmentProcessor>

Constructors

View Source

WatsonAttachmentProcessor(IAzureBlobProvider, IWatsonAnalysisClient)

The Watson attachment processor.

Declaration
public WatsonAttachmentProcessor(IAzureBlobProvider BlobProvider, IWatsonAnalysisClient AnalysisClient)
Parameters
Type Name Description
IAzureBlobProvider BlobProvider
IWatsonAnalysisClient AnalysisClient

Properties

View Source

AnalysisClient

Declaration
public IWatsonAnalysisClient AnalysisClient { get; init; }
Property Value
Type Description
IWatsonAnalysisClient

Methods

View Source

Load(AttachmentInfo, IAttachmentContainer)

Loads an attachment.

Declaration
public override 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
ValueTask<object>

A task representing the asynchronous operation.

Overrides
AttachmentProcessor.Load(AttachmentInfo, IAttachmentContainer)

Implements

IAttachmentProcessor
IEquatable<T>
IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX