Class TabCollection
Inheritance
TabCollection
Assembly: DotNetNuke.dll
Syntax
public class TabCollection : Dictionary<int, TabInfo>, IDictionary<int, TabInfo>, ICollection<KeyValuePair<int, TabInfo>>, IDictionary, ICollection, IReadOnlyDictionary<int, TabInfo>, IReadOnlyCollection<KeyValuePair<int, TabInfo>>, IEnumerable<KeyValuePair<int, TabInfo>>, IEnumerable, ISerializable, IDeserializationCallback
Constructors
TabCollection()
Declaration
TabCollection(IEnumerable<TabInfo>)
Declaration
public TabCollection(IEnumerable<TabInfo> tabs)
Parameters
TabCollection(SerializationInfo, StreamingContext)
Declaration
public TabCollection(SerializationInfo info, StreamingContext context)
Parameters
Methods
Add(TabInfo)
Declaration
public void Add(TabInfo tab)
Parameters
AddRange(IEnumerable<TabInfo>)
Declaration
public void AddRange(IEnumerable<TabInfo> tabs)
Parameters
AsList()
Declaration
public List<TabInfo> AsList()
Returns
DescendentsOf(int)
Declaration
public List<TabInfo> DescendentsOf(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
DescendentsOf(int, int)
Declaration
public List<TabInfo> DescendentsOf(int tabId, int originalTabLevel)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
originalTabLevel |
|
Returns
IsDescendentOf(int, int)
Declaration
public bool IsDescendentOf(int ancestorId, int testTabId)
Parameters
Type |
Name |
Description |
int |
ancestorId |
|
int |
testTabId |
|
Returns
OnDeserialization(object)
Declaration
public override void OnDeserialization(object sender)
Parameters
Type |
Name |
Description |
object |
sender |
|
Overrides
ToArrayList()
Declaration
public ArrayList ToArrayList()
Returns
WithCulture(string, bool)
Declaration
public TabCollection WithCulture(string cultureCode, bool includeNeutral)
Parameters
Type |
Name |
Description |
string |
cultureCode |
|
bool |
includeNeutral |
|
Returns
WithCulture(string, bool, bool)
Declaration
public TabCollection WithCulture(string cultureCode, bool includeNeutral, bool localizationEnabled)
Parameters
Type |
Name |
Description |
string |
cultureCode |
|
bool |
includeNeutral |
|
bool |
localizationEnabled |
|
Returns
WithParentId(int)
Declaration
public List<TabInfo> WithParentId(int parentId)
Parameters
Type |
Name |
Description |
int |
parentId |
|
Returns
WithTabId(int)
Declaration
public TabInfo WithTabId(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
WithTabName(string)
Declaration
public TabInfo WithTabName(string tabName)
Parameters
Type |
Name |
Description |
string |
tabName |
|
Returns
WithTabNameAndParentId(string, int)
Declaration
public TabInfo WithTabNameAndParentId(string tabName, int parentId)
Parameters
Type |
Name |
Description |
string |
tabName |
|
int |
parentId |
|
Returns
Implements
Extension Methods