public WidgetInfo Build(WidgetVariant variant)
 {
     return(Build(new WidgetDescription {
         Variant = variant
     }));
 }
Пример #2
0
 public void Register(string variantName, WidgetVariant variant)
 {
     throw CreateException(nameof(IWidgetFactory));
 }
Пример #3
0
 public void Register(string variantName, WidgetVariant variant)
 {
     variants[variantName] = variant;
 }