Example #1
0
 internal Seed(SeedContent content, Guid guid, Guid parent, string source)
 {
     this.Content = content;
     this.Guid    = guid;
     this.Parent  = parent;
     this.Source  = source;
 }
Example #2
0
        public ISeed Add(SeedContent content, ISeed parent, string source)
        {
            var seed = new Seed(content, Guid.NewGuid(), parent.Guid, source);

            this.Add(seed);
            return(seed);
        }
Example #3
0
 public Seed(SeedContent content, ISeed parent, string source)
 {
     this.Content = content;
     this.Guid    = Guid.NewGuid();
     this.Parent  = parent.Guid;
     this.Source  = source;
 }