예제 #1
0
 public bool HasCategory(PropertyType category)
 {
     return(PropertyComponentsPerCategory.ContainsKey(category));
 }
예제 #2
0
 public PropertyComponent GetPropertyComponentForCategory(PropertyType category)
 {
     Debug.Assert(PropertyComponentsPerCategory.ContainsKey(category),
                  $"The required category ({category}) was not defined this his component group", this);
     return(PropertyComponentsPerCategory[category]);
 }