public static VulnCat add_Mapping(this VulnCat vulnCat, int id, int parentId, string title, string url, string html = "")
    	{
    		var mapping = new VulnCat_Mapping()
							{
								Id = id,
								ParentId = parentId,
								Title = title,
								Url = url
							};
			vulnCat.Mappings.Add(mapping);
			return vulnCat;
    	}
Beispiel #2
0
        public static VulnCat add_Mapping(this VulnCat vulnCat, int id, int parentId, string title, string url, string html = "")
        {
            var mapping = new VulnCat_Mapping()
            {
                Id       = id,
                ParentId = parentId,
                Title    = title,
                Url      = url
            };

            vulnCat.Mappings.Add(mapping);
            return(vulnCat);
        }