AddPost() public method

public AddPost ( Post post ) : void
post Post
return void
Example #1
0
 public virtual void AddTag(Tag tag)
 {
     if (!this.tags.Contains(tag))
     {
         this.tags.Add(tag);
         tag.AddPost(this);
     }
 }