Ejemplo n.º 1
0
 protected Element(int id, string lemma, string dependencyType)
 {
     this.Id                     = id;
     this.Lemma                  = lemma;
     this.DependencyType         = dependencyType;
     this.DependencyHelper       = new DependencyTypeHelper();
     this.CoordinationTypeHelper = new CoordinationTypeHelper();
     this.ProcessableHelper      = new ProcessableHelper();
 }
Ejemplo n.º 2
0
 // Private constructor to initialize object
 private NounSet(ElementFactory elementFactory, IEdgeFactory edgeFactory)
 {
     this.Nouns                  = new List <Noun>();
     this.Adpositions            = new List <Adposition>();
     this.ElementFactory         = elementFactory;
     this.EdgeFactory            = edgeFactory;
     this.ImageCombineHelper     = new ImageCombineHelper();
     this.DependencyTypeHelper   = new DependencyTypeHelper();
     this.CoordinationTypeHelper = new CoordinationTypeHelper();
     this.DrawableHelper         = new DrawableHelper();
     this.ProcessableHelper      = new ProcessableHelper();
 }