CCNet.Build.GenerateNuspec.Program.AddTags C# (CSharp) Method

AddTags() private static method

private static AddTags ( XmlTextWriter xtw ) : void
xtw System.Xml.XmlTextWriter
return void
		private static void AddTags(XmlTextWriter xtw)
		{
			var tags = new List<string>();

			if (Args.MarkAsCustom)
				tags.Add("custom");

			if (Args.MarkAsStatic)
				tags.Add("static");

			if (tags.Count == 0)
				return;

			xtw.WriteElementString("tags", String.Join(",", tags));
		}