예제 #1
0
		private Category AddChild(Category child)
		{
			child.Parent = this;
			children.Add(child);

			return this;
		}
예제 #2
0
		private Category AddChild(string name)
		{
			var child = new Category(name) { Parent = this };
			children.Add(child);

			return this;
		}