AddTag() public method

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