attributes

    [.NET] 닷넷 Type 사용하기 - 7. reflection 과 attributes

    8. reflection 과 attributes .NET의 컴파일(빌드) 결과는 대게 DLL이나 EXE 형태의 파일이 될 수 있는데 이를 통틀어 Assembly라고도 합니다. 그리고 .NET의 Assembly는 크게 아래 4가지 부분으로 구성됩니다. Assembly metadata와 manifest Assembly의 File버전이나 참조된 Assembly등등을 나타냅니다. Type metadata Member와 같은 Type의 정보를 나타냅니다. IL code Methods나 속성, 생성자등을 구현합니다. Embedded resources Images와 같은 별개의 리소스자원을 나타냅니다. Metadata는 Code에서 구현된 Member나 Type 등의 정보를 토대로 자동으로 생성되거나 attribut..