Exemple #1
0
 public Person(string firstname, string lastname, string twitter) : this()
 {
     Id        = StaticPersistentStore.GetNextId();
     FirstName = firstname;
     LastName  = lastname;
     Twitter   = twitter;
 }
Exemple #2
0
 public Article(string title)
 {
     Comments         = new List <Comment>();
     MoreComments     = new List <Comment>();
     MoreTags         = new List <Tag>();
     PublishedInYears = new List <int>();
     Id    = StaticPersistentStore.GetNextId();
     Title = title;
 }
 public Article(string title)
 {
     Comments = new List <Comment>();
     Id       = StaticPersistentStore.GetNextId();
     Title    = title;
 }
Exemple #4
0
 public Comment(string body)
 {
     Id   = StaticPersistentStore.GetNextId();
     Body = body;
 }
Exemple #5
0
 public Comment()
 {
     Id = StaticPersistentStore.GetNextId();
 }
Exemple #6
0
 public Person()
 {
     StaticPersistentStore.GetNextId();
 }