Show / Hide Table of Contents

    Class ValueExtractorBase

    Represents a base class for a value extraction component that allows to retrieve and format a value from the provided object. The sample implementation can be an XPATH query that takes a value from the provided XML document.

    Inheritance
    Object
    ValueExtractorBase
    JsonPathValueExtractor
    JsonPointerValueExtractor
    ProtectedValueExtractor
    RegexValueExtractor
    StringValueExtractor
    UriValueExtractor
    XPathValueExtractor
    Implements
    IValidator
    IEquatable<ValueExtractorBase>
    IExtensibleDataObject
    Inherited Members
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Processing
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public abstract class ValueExtractorBase : IValidator, IEquatable<ValueExtractorBase>, IExtensibleDataObject

    Constructors

    ValueExtractorBase()

    Declaration
    protected ValueExtractorBase()

    Properties

    ErrorMessage

    Gets the summary of validation errors populated by the call to Validate() method.

    Declaration
    public string ErrorMessage { get; protected set; }
    Property Value
    Type Description
    String

    ExtensionData

    Gets or sets ExtensionDataObject that enables serialization roundtrips.

    Declaration
    public ExtensionDataObject ExtensionData { get; set; }
    Property Value
    Type Description
    ExtensionDataObject

    Methods

    Equals(ValueExtractorBase)

    Determines whether the specified object is equal to the current object.

    Declaration
    public virtual bool Equals(ValueExtractorBase other)
    Parameters
    Type Name Description
    ValueExtractorBase other

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Overrides
    Object.Equals(Object)

    Extract(MessagePipelineContext, Object)

    Extracts and formats a value from provided object.

    Declaration
    public abstract object Extract(MessagePipelineContext context, object value)
    Parameters
    Type Name Description
    MessagePipelineContext context

    Provides the message processing context.

    Object value

    An object to extract value from.

    Returns
    Type Description
    Object

    A value extracted from the object.

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the current instance.

    Overrides
    Object.GetHashCode()

    Validate()

    Evaluates the state of this object.

    Declaration
    public virtual bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Implements

    IValidator
    System.IEquatable<T>
    System.Runtime.Serialization.IExtensibleDataObject
    Back to top Nevatech Sentinet 6.5 Online Documentation