Show / Hide Table of Contents

    Class ObjectHierarchyOptions

    Specifies options that is related to GetObjectHierarchy(Object, Action<ObjectHierarchyOptions>) operations.

    Inheritance
    System.Object
    ObjectHierarchyOptions
    Namespace: Cuemon.Reflection
    Assembly: Cuemon.Core.dll
    Syntax
    public class ObjectHierarchyOptions

    Constructors

    | Improve this Doc

    ObjectHierarchyOptions()

    Initializes a new instance of the ObjectHierarchyOptions class.

    Declaration
    public ObjectHierarchyOptions()

    Properties

    | Improve this Doc

    HasCircularReference

    Gets or sets the function delegate that is invoked when a property has a value and whose return value suggest a circular reference.

    Declaration
    public Func<object, bool> HasCircularReference { get; set; }
    Property Value
    Type Description
    System.Func<System.Object, System.Boolean>

    A System.Func<TResult> that determines if an object is suggesting a circular reference.

    | Improve this Doc

    MaxCircularCalls

    Gets or sets the maximum amount of times an object is allowed to make circular calls. Default is 2.

    Declaration
    public int MaxCircularCalls { get; set; }
    Property Value
    Type Description
    System.Int32

    The maximum amount of times an object is allowed to make circular calls.

    | Improve this Doc

    MaxDepth

    Gets or sets the maximum depth to safely traverse an object hierarchy. Default is 10.

    Declaration
    public int MaxDepth { get; set; }
    Property Value
    Type Description
    System.Int32

    The maximum depth to safely traverse an object hierarchy.

    | Improve this Doc

    PropertyIndexParametersResolver

    Gets or sets the function delegate that is invoked if a property has one or more index parameters.

    Declaration
    public Func<ParameterInfo[], object[]> PropertyIndexParametersResolver { get; set; }
    Property Value
    Type Description
    System.Func<System.Reflection.ParameterInfo[], System.Object[]>

    A System.Func<TResult> that will resolve the index parameters of a System.Reflection.PropertyInfo.

    | Improve this Doc

    SkipProperty

    Gets or sets the function delegate that is invoked every time a public property is iterated and whose System.Reflection.PropertyInfo determine if that property should be skipped or not.

    Declaration
    public Func<PropertyInfo, bool> SkipProperty { get; set; }
    Property Value
    Type Description
    System.Func<System.Reflection.PropertyInfo, System.Boolean>

    A System.Func<TResult> that determines if a given System.Reflection.PropertyInfo should be skipped or not.

    | Improve this Doc

    SkipPropertyType

    Gets or sets the function delegate that is invoked just before public properties is being iterated and whose return System.Type determine if the properties should be skipped or not.

    Declaration
    public Func<Type, bool> SkipPropertyType { get; set; }
    Property Value
    Type Description
    System.Func<System.Type, System.Boolean>

    A System.Func<TResult> that determines if a given property System.Type should be skipped or not.

    Extension Methods

    ConverterExtensions.ParseWith<TSource, TResult>(TSource, Func<TSource, TResult>)
    ConverterExtensions.ParseWith<TSource, T, TResult>(TSource, Func<TSource, T, TResult>, T)
    ConverterExtensions.ParseWith<TSource, T1, T2, TResult>(TSource, Func<TSource, T1, T2, TResult>, T1, T2)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, TResult>(TSource, Func<TSource, T1, T2, T3, TResult>, T1, T2, T3)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, TResult>(TSource, Func<TSource, T1, T2, T3, T4, TResult>, T1, T2, T3, T4)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, TResult>, T1, T2, T3, T4, T5)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, TResult>, T1, T2, T3, T4, T5, T6)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, TResult>, T1, T2, T3, T4, T5, T6, T7)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, T8, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, T8, TResult>, T1, T2, T3, T4, T5, T6, T7, T8)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9)
    ConverterExtensions.As<TResult>(Object)
    ConverterExtensions.As<TResult>(Object, TResult)
    ConverterExtensions.As<TResult>(Object, TResult, IFormatProvider)
    DelegateUtilityExtensions.Wrap<TResult>(TResult)
    DelegateUtilityExtensions.DynamicWrap<TResult>(TResult)
    TweakerExtensions.Adjust<T>(T, Func<T, T>)
    TypeUtilityExtensions.Is<T>(Object)
    TypeUtilityExtensions.IsNot<T>(Object)
    TypeUtilityExtensions.IsNullable<T>(T)
    WrapperExtensions.UseWrapper<T>(T, Action<IDictionary<String, Object>>)
    WrapperExtensions.UseWrapper<T>(T, MemberInfo, Action<IDictionary<String, Object>>)
    EnumerableUtilityExtensions.Yield<TSource>(TSource)
    HashUtilityExtensions.ComputeHash(Object, Action<HashOptions>)
    HmacUtilityExtensions.ComputeKeyedHash(Object, Byte[], Action<KeyedHashOptions>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX