Skip to content

Instantly share code, notes, and snippets.

@ninmonkey
Last active June 30, 2022 18:34
Show Gist options
  • Select an option

  • Save ninmonkey/27b2528204a8cb6c087633f81e6896de to your computer and use it in GitHub Desktop.

Select an option

Save ninmonkey/27b2528204a8cb6c087633f81e6896de to your computer and use it in GitHub Desktop.
Notes on C# reflection
graph BT
    Object
    %% Object ---> B
    Value.Type --> Object
    structure -.-> Value.Type
    enum --> Value.Type

    ref
    MemberInfo --> Object
    ref.MemberInfo --> MemberInfo

    FieldInfo --> MemberInfo

    MethodBase --> MemberInfo
    MethodInfo --> MethodBase
    ConstructorInfo --> MethodBase
    


    %% C -->|One| D[Laptop]
    %% C -->|Two| E[iPhone]
    %% C -->|Three| F[fa:fa-car Car]
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment