Class ModulePermissionCollection
Inheritance
ModulePermissionCollection
Assembly: DotNetNuke.dll
Syntax
public class ModulePermissionCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
ModulePermissionCollection()
Declaration
public ModulePermissionCollection()
ModulePermissionCollection(ModuleInfo)
Declaration
public ModulePermissionCollection(ModuleInfo objModule)
Parameters
ModulePermissionCollection(ModulePermissionCollection)
Declaration
public ModulePermissionCollection(ModulePermissionCollection modulePermissions)
Parameters
ModulePermissionCollection(ArrayList)
Declaration
public ModulePermissionCollection(ArrayList modulePermissions)
Parameters
Type |
Name |
Description |
ArrayList |
modulePermissions |
|
ModulePermissionCollection(ArrayList, int)
Declaration
public ModulePermissionCollection(ArrayList modulePermissions, int moduleID)
Parameters
Type |
Name |
Description |
ArrayList |
modulePermissions |
|
int |
moduleID |
|
Properties
this[int]
Declaration
public ModulePermissionInfo this[int index] { get; set; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Methods
Add(ModulePermissionInfo)
Declaration
public int Add(ModulePermissionInfo value)
Parameters
Returns
Add(ModulePermissionInfo, bool)
Declaration
public int Add(ModulePermissionInfo value, bool checkForDuplicates)
Parameters
Returns
AddRange(ModulePermissionCollection)
Declaration
public void AddRange(ModulePermissionCollection modulePermissions)
Parameters
AddRange(ArrayList)
Declaration
public void AddRange(ArrayList modulePermissions)
Parameters
Type |
Name |
Description |
ArrayList |
modulePermissions |
|
CompareTo(ModulePermissionCollection)
Declaration
public bool CompareTo(ModulePermissionCollection objModulePermissionCollection)
Parameters
Returns
Contains(ModulePermissionInfo)
Declaration
public bool Contains(ModulePermissionInfo value)
Parameters
Returns
IndexOf(ModulePermissionInfo)
Declaration
public int IndexOf(ModulePermissionInfo value)
Parameters
Returns
Insert(int, ModulePermissionInfo)
Declaration
public void Insert(int index, ModulePermissionInfo value)
Parameters
Remove(ModulePermissionInfo)
Declaration
public void Remove(ModulePermissionInfo value)
Parameters
Remove(int, int, int)
Declaration
public void Remove(int permissionID, int roleID, int userID)
Parameters
Type |
Name |
Description |
int |
permissionID |
|
int |
roleID |
|
int |
userID |
|
ToList()
Declaration
public List<PermissionInfoBase> ToList()
Returns
ToString(string)
Declaration
public string ToString(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
Where(Func<ModulePermissionInfo, bool>)
Declaration
public IEnumerable<ModulePermissionInfo> Where(Func<ModulePermissionInfo, bool> predicate)
Parameters
Returns
Implements
Extension Methods