Exemple #1
0
        public Content(Consultant writer, string title, string text, string attachmentUrl)
        {
            this.Writer = writer;
            this.Title  = title;

            UpdateText(text);
            this.AttachedURL = attachmentUrl;
            CreationDate     = DateTime.Now;
        }
 public Practice(Consultant writer, string title, string text, string attachmentUrl, bool isPrivate) : base(writer, title, text, attachmentUrl)
 {
     this.IsPrivate = isPrivate;
 }
 public News(Consultant writer, string title, string text, string attachmentUrl) : base(writer, title, text, attachmentUrl)
 {
     IsPublished = false;
 }
 public Practice(Consultant writer, string title, string text, bool isPrivate) : base(writer, title, text, "")
 {
     this.IsPrivate = isPrivate;
 }
 public News(Consultant writer, string title, string text) : base(writer, title, text, "")
 {
     IsPublished = false;
 }