Search Results for

    Show / Hide Table of Contents

    Class CustomTypeHelper.CustomPropertyInfoHelper

    Custom implementation of the PropertyInfo

    Inheritance
    System.Object
    System.Reflection.MemberInfo
    System.Reflection.PropertyInfo
    CustomTypeHelper.CustomPropertyInfoHelper
    Implements
    System.Reflection.ICustomAttributeProvider
    System.Runtime.InteropServices._MemberInfo
    System.Runtime.InteropServices._PropertyInfo
    Inherited Members
    System.Reflection.PropertyInfo.Equals(System.Object)
    System.Reflection.PropertyInfo.GetHashCode()
    System.Reflection.PropertyInfo.GetConstantValue()
    System.Reflection.PropertyInfo.GetRawConstantValue()
    System.Reflection.PropertyInfo.GetValue(System.Object)
    System.Reflection.PropertyInfo.GetValue(System.Object, System.Object[])
    System.Reflection.PropertyInfo.SetValue(System.Object, System.Object)
    System.Reflection.PropertyInfo.SetValue(System.Object, System.Object, System.Object[])
    System.Reflection.PropertyInfo.GetRequiredCustomModifiers()
    System.Reflection.PropertyInfo.GetOptionalCustomModifiers()
    System.Reflection.PropertyInfo.GetAccessors()
    System.Reflection.PropertyInfo.GetGetMethod()
    System.Reflection.PropertyInfo.GetSetMethod()
    System.Reflection.PropertyInfo.System.Runtime.InteropServices._PropertyInfo.GetType()
    System.Reflection.PropertyInfo.System.Runtime.InteropServices._PropertyInfo.GetTypeInfoCount(System.UInt32)
    System.Reflection.PropertyInfo.System.Runtime.InteropServices._PropertyInfo.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
    System.Reflection.PropertyInfo.System.Runtime.InteropServices._PropertyInfo.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
    System.Reflection.PropertyInfo.System.Runtime.InteropServices._PropertyInfo.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
    System.Reflection.PropertyInfo.MemberType
    System.Reflection.PropertyInfo.GetMethod
    System.Reflection.PropertyInfo.SetMethod
    System.Reflection.PropertyInfo.IsSpecialName
    System.Reflection.MemberInfo.GetCustomAttributesData()
    System.Reflection.MemberInfo.System.Runtime.InteropServices._MemberInfo.GetType()
    System.Reflection.MemberInfo.System.Runtime.InteropServices._MemberInfo.GetTypeInfoCount(System.UInt32)
    System.Reflection.MemberInfo.System.Runtime.InteropServices._MemberInfo.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
    System.Reflection.MemberInfo.System.Runtime.InteropServices._MemberInfo.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
    System.Reflection.MemberInfo.System.Runtime.InteropServices._MemberInfo.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
    System.Reflection.MemberInfo.CustomAttributes
    System.Reflection.MemberInfo.MetadataToken
    System.Reflection.MemberInfo.Module
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.UI.MVC
    Assembly: Simplic.UI.dll
    Syntax
    public class CustomPropertyInfoHelper : PropertyInfo, ICustomAttributeProvider, _MemberInfo, _PropertyInfo

    Constructors

    | Improve this Doc View Source

    CustomPropertyInfoHelper(Type, String, Type)

    Initialize new property information

    Declaration
    public CustomPropertyInfoHelper(Type fatherType, string name, Type type)
    Parameters
    Type Name Description
    System.Type fatherType
    System.String name
    System.Type type
    | Improve this Doc View Source

    CustomPropertyInfoHelper(Type, String, Type, List<Attribute>)

    Initialize new property information

    Declaration
    public CustomPropertyInfoHelper(Type fatherType, string name, Type type, List<Attribute> attributes)
    Parameters
    Type Name Description
    System.Type fatherType
    System.String name
    System.Type type
    System.Collections.Generic.List<System.Attribute> attributes

    Fields

    | Improve this Doc View Source

    _attributes

    Declaration
    public List<Attribute> _attributes
    Field Value
    Type Description
    System.Collections.Generic.List<System.Attribute>
    | Improve this Doc View Source

    _name

    Declaration
    public string _name
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    _type

    Declaration
    public Type _type
    Field Value
    Type Description
    System.Type

    Properties

    | Improve this Doc View Source

    Attributes

    Declaration
    public override PropertyAttributes Attributes { get; }
    Property Value
    Type Description
    System.Reflection.PropertyAttributes
    Overrides
    System.Reflection.PropertyInfo.Attributes
    | Improve this Doc View Source

    CanRead

    Gets true for read access

    Declaration
    public override bool CanRead { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    System.Reflection.PropertyInfo.CanRead
    | Improve this Doc View Source

    CanWrite

    Gets gtrue for write access

    Declaration
    public override bool CanWrite { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    System.Reflection.PropertyInfo.CanWrite
    | Improve this Doc View Source

    DeclaringType

    Declaration
    public override Type DeclaringType { get; }
    Property Value
    Type Description
    System.Type
    Overrides
    System.Reflection.MemberInfo.DeclaringType
    | Improve this Doc View Source

    Name

    Gets the name of the property

    Declaration
    public override string Name { get; }
    Property Value
    Type Description
    System.String
    Overrides
    System.Reflection.MemberInfo.Name
    | Improve this Doc View Source

    PropertyType

    Gets the property type

    Declaration
    public override Type PropertyType { get; }
    Property Value
    Type Description
    System.Type
    Overrides
    System.Reflection.PropertyInfo.PropertyType
    | Improve this Doc View Source

    ReflectedType

    Gets the name of the reflection type

    Declaration
    public override Type ReflectedType { get; }
    Property Value
    Type Description
    System.Type
    Overrides
    System.Reflection.MemberInfo.ReflectedType

    Methods

    | Improve this Doc View Source

    GetAccessors(Boolean)

    Declaration
    public override MethodInfo[] GetAccessors(bool nonPublic)
    Parameters
    Type Name Description
    System.Boolean nonPublic
    Returns
    Type Description
    System.Reflection.MethodInfo[]
    Overrides
    System.Reflection.PropertyInfo.GetAccessors(System.Boolean)
    | Improve this Doc View Source

    GetCustomAttributes(Boolean)

    Declaration
    public override object[] GetCustomAttributes(bool inherit)
    Parameters
    Type Name Description
    System.Boolean inherit
    Returns
    Type Description
    System.Object[]
    Overrides
    System.Reflection.MemberInfo.GetCustomAttributes(System.Boolean)
    | Improve this Doc View Source

    GetCustomAttributes(Type, Boolean)

    Declaration
    public override object[] GetCustomAttributes(Type attributeType, bool inherit)
    Parameters
    Type Name Description
    System.Type attributeType
    System.Boolean inherit
    Returns
    Type Description
    System.Object[]
    Overrides
    System.Reflection.MemberInfo.GetCustomAttributes(System.Type, System.Boolean)
    | Improve this Doc View Source

    GetGetMethod(Boolean)

    Get the System.Reflection.MethodInfo of the get-method

    Declaration
    public override MethodInfo GetGetMethod(bool nonPublic)
    Parameters
    Type Name Description
    System.Boolean nonPublic
    Returns
    Type Description
    System.Reflection.MethodInfo

    Method info instance containing information about the get-method

    Overrides
    System.Reflection.PropertyInfo.GetGetMethod(System.Boolean)
    | Improve this Doc View Source

    GetIndexParameters()

    Declaration
    public override ParameterInfo[] GetIndexParameters()
    Returns
    Type Description
    System.Reflection.ParameterInfo[]
    Overrides
    System.Reflection.PropertyInfo.GetIndexParameters()
    | Improve this Doc View Source

    GetPropertyValue(Object)

    Declaration
    public void GetPropertyValue(object obj)
    Parameters
    Type Name Description
    System.Object obj
    | Improve this Doc View Source

    GetSetMethod(Boolean)

    Get the System.Reflection.MethodInfo of the set method

    Declaration
    public override MethodInfo GetSetMethod(bool nonPublic)
    Parameters
    Type Name Description
    System.Boolean nonPublic
    Returns
    Type Description
    System.Reflection.MethodInfo

    Method info instance containing inforamtion about the set-method

    Overrides
    System.Reflection.PropertyInfo.GetSetMethod(System.Boolean)
    | Improve this Doc View Source

    GetValue(Object, BindingFlags, Binder, Object[], CultureInfo)

    Declaration
    public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object obj
    System.Reflection.BindingFlags invokeAttr
    System.Reflection.Binder binder
    System.Object[] index
    System.Globalization.CultureInfo culture
    Returns
    Type Description
    System.Object
    Overrides
    System.Reflection.PropertyInfo.GetValue(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
    | Improve this Doc View Source

    IsDefined(Type, Boolean)

    Declaration
    public override bool IsDefined(Type attributeType, bool inherit)
    Parameters
    Type Name Description
    System.Type attributeType
    System.Boolean inherit
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Reflection.MemberInfo.IsDefined(System.Type, System.Boolean)
    | Improve this Doc View Source

    SetPropertyValueMethod(Object, Object)

    Declaration
    public void SetPropertyValueMethod(object obj, object value)
    Parameters
    Type Name Description
    System.Object obj
    System.Object value
    | Improve this Doc View Source

    SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo)

    Sets the value in the dictionary stored in the Customer's instance.

    Declaration
    public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object obj
    System.Object value
    System.Reflection.BindingFlags invokeAttr
    System.Reflection.Binder binder
    System.Object[] index
    System.Globalization.CultureInfo culture
    Overrides
    System.Reflection.PropertyInfo.SetValue(System.Object, System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

    Implements

    System.Reflection.ICustomAttributeProvider
    System.Runtime.InteropServices._MemberInfo
    System.Runtime.InteropServices._PropertyInfo
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx