Beispiel #1
0
 private static Description CreateDescription(Type type)
 {
     Description d = new Description(type);
     foreach(IDescriptionRefiner refiner in type.GetCustomAttributes(typeof(IDescriptionRefiner), true))
         refiner.Describe(type, d);
     return d;
 }
Beispiel #2
0
 void IDescriptionRefiner.Describe(System.Type entityType, Description description)
 {
     description.IsPage = IsPage;
     description.IconUrl = IconUrl;
 }