public SiteImpl(IComponent comp,string name,DesignerHostImpl host) { if(comp==null) { throw new ArgumentException("comp"); } if(host==null) { throw new ArgumentException("host"); } if(name==null || name.Trim().Length==0) { throw new ArgumentException("name"); } component=comp; this.host=host; this.name=name; // create a dictionary service for this site dictionaryService = new DictionaryServiceImpl(); }
public SiteImpl(IComponent comp, string name, DesignerHostImpl host) { if (comp == null) { throw new ArgumentException("comp"); } if (host == null) { throw new ArgumentException("host"); } if (name == null || name.Trim().Length == 0) { throw new ArgumentException("name"); } component = comp; this.host = host; this.name = name; // create a dictionary service for this site dictionaryService = new DictionaryServiceImpl(); }