Nitra.VisualStudio.LibraryNode.CategoryField C# (CSharp) Method

CategoryField() protected method

protected CategoryField ( LIB_CATEGORY category ) : uint
category LIB_CATEGORY
return uint
		protected virtual uint CategoryField(LIB_CATEGORY category)
		{
			switch (category)
			{
				case LIB_CATEGORY.LC_LISTTYPE:
					LibraryNodeType subTypes = LibraryNodeType.None;

					foreach (LibraryNode node in _children)
						subTypes |= node._type;

					return (uint)subTypes;

				case (LIB_CATEGORY)_LIB_CATEGORY2.LC_HIERARCHYTYPE:
					return (uint)_LIBCAT_HIERARCHYTYPE.LCHT_UNKNOWN;

				default:
					throw new NotImplementedException();
			}
		}