public static IComponent GetComponent(String rawText, Context context) { if (String.IsNullOrEmpty(rawText)) { return(EmptyComponent.GetInstance()); } else { return(new Component(rawText, context)); } }
private EmptyField() { _Fields = new IField[] { EmptyFieldItem.GetInstance() }; _Components = new IComponent[] { EmptyComponent.GetInstance() }; }