Search Results for

    Show / Hide Table of Contents

    Interface IValueInverter

    Provide an implementation to invert an object or objects.

    Namespace: BionicCode.Utilities.Net
    Assembly: BionicCode.Utilities.Net.Common.dll
    Syntax
    public interface IValueInverter

    Methods

    | Improve this Doc View Source

    InvertValue(Object)

    Throws an exception if operation has failed.

    Declaration
    object InvertValue(object value)
    Parameters
    Type Name Description
    Object value
    Returns
    Type Description
    Object

    The inverted value.

    Exceptions
    Type Condition
    InvalidOperationException
    | Improve this Doc View Source

    TryInvertValue(Object, out Object)

    Trys to invert a value. Won't throw an exception if operation fails.

    Declaration
    bool TryInvertValue(object value, out object invertedValue)
    Parameters
    Type Name Description
    Object value
    Object invertedValue
    Returns
    Type Description
    Boolean

    true when successful, otherwise false

    Extension Methods

    HelperExtensionsCommon.ToDictionary(Object)
    HelperExtensionsCommon.ToFlatDictionary(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX