Пример #1
0
 public static IComponent GetComponent(String rawText, Context context)
 {
     if (String.IsNullOrEmpty(rawText))
     {
         return(EmptyComponent.GetInstance());
     }
     else
     {
         return(new Component(rawText, context));
     }
 }
Пример #2
0
 private EmptyField()
 {
     _Fields     = new IField[] { EmptyFieldItem.GetInstance() };
     _Components = new IComponent[] { EmptyComponent.GetInstance() };
 }