Generic Projection
Content Projection은 일반 UI에 관한 것이고, Generic Projection은 Content Projection을 더욱 확장하며, UI와 관련된 Generic UI 및 Generic 데이터에 관한 것입니다. RenderFragment 형태로 template 을 정의 하고 (T 는 IPerson 의 Concreate class 인 Teacher 와 Student) List 을 통해 InputData 의 data 들을 알맞은 Template 에 맞게 할당해서 처리 한다. Data/IPerson.cs public interface IPerson { public string Name { get; set; } } public class Student:IPerson { public string ..
2022.04.22