public Navigator() { _numericCategoryIdCache = new BiDirectionalDictionary<string, int>(); PublicRoot = NewCategory("pLibnavRoot", "Public Rooms"); GuestRoot = NewCategory("gLibnavRoot", "Guest Rooms"); PublicRoot.IsPublicCategory = true; GuestRoot.IsPublicCategory = false; _publicCategories = new NestedSetDictionary<string, Category>("pLibnavRoot", PublicRoot); _guestCategories = new NestedSetDictionary<string, Category>("gLibnavRoot", GuestRoot); NonCategory = NewCategory("gLibnavNone", "No Category"); CoreManager.ServerCore.GetStandardOut() .PrintImportant("Navigator Manager => Special categories ready:") .PrintImportant(" Public = " + PublicRoot.ID) .PrintImportant(" Guest = " + GuestRoot.ID) .PrintImportant(" None = " + NonCategory.ID); }
public Navigator() { _numericCategoryIdCache = new BiDirectionalDictionary <string, int>(); PublicRoot = NewCategory("pLibnavRoot", "Public Rooms"); GuestRoot = NewCategory("gLibnavRoot", "Guest Rooms"); PublicRoot.IsPublicCategory = true; GuestRoot.IsPublicCategory = false; _publicCategories = new NestedSetDictionary <string, Category>("pLibnavRoot", PublicRoot); _guestCategories = new NestedSetDictionary <string, Category>("gLibnavRoot", GuestRoot); NonCategory = NewCategory("gLibnavNone", "No Category"); CoreManager.ServerCore.GetStandardOut() .PrintImportant("Navigator Manager => Special categories ready:") .PrintImportant(" Public = " + PublicRoot.ID) .PrintImportant(" Guest = " + GuestRoot.ID) .PrintImportant(" None = " + NonCategory.ID); }