Class ModulePermissionCollection
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Inheritance
System.Object
ModulePermissionCollection
Assembly: DotNetNuke.dll
Syntax
public class ModulePermissionCollection : CollectionBase
Constructors
|
Improve this Doc
View Source
ModulePermissionCollection()
Declaration
public ModulePermissionCollection()
|
Improve this Doc
View Source
ModulePermissionCollection(ArrayList, Int32)
Declaration
public ModulePermissionCollection(ArrayList modulePermissions, int moduleID)
Parameters
Type |
Name |
Description |
ArrayList |
modulePermissions |
|
System.Int32 |
moduleID |
|
|
Improve this Doc
View Source
ModulePermissionCollection(ArrayList)
Declaration
public ModulePermissionCollection(ArrayList modulePermissions)
Parameters
Type |
Name |
Description |
ArrayList |
modulePermissions |
|
|
Improve this Doc
View Source
ModulePermissionCollection(ModuleInfo)
Declaration
public ModulePermissionCollection(ModuleInfo objModule)
Parameters
|
Improve this Doc
View Source
ModulePermissionCollection(ModulePermissionCollection)
Declaration
public ModulePermissionCollection(ModulePermissionCollection modulePermissions)
Parameters
Properties
|
Improve this Doc
View Source
Item[Int32]
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public ModulePermissionInfo this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Methods
|
Improve this Doc
View Source
Add(ModulePermissionInfo, Boolean)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public int Add(ModulePermissionInfo value, bool checkForDuplicates)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Add(ModulePermissionInfo)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public int Add(ModulePermissionInfo value)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddRange(ArrayList)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public void AddRange(ArrayList modulePermissions)
Parameters
Type |
Name |
Description |
ArrayList |
modulePermissions |
|
|
Improve this Doc
View Source
AddRange(ModulePermissionCollection)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public void AddRange(ModulePermissionCollection modulePermissions)
Parameters
|
Improve this Doc
View Source
CompareTo(ModulePermissionCollection)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public bool CompareTo(ModulePermissionCollection objModulePermissionCollection)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Contains(ModulePermissionInfo)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public bool Contains(ModulePermissionInfo value)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IndexOf(ModulePermissionInfo)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public int IndexOf(ModulePermissionInfo value)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Insert(Int32, ModulePermissionInfo)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public void Insert(int index, ModulePermissionInfo value)
Parameters
|
Improve this Doc
View Source
Remove(ModulePermissionInfo)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public void Remove(ModulePermissionInfo value)
Parameters
|
Improve this Doc
View Source
Remove(Int32, Int32, Int32)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public void Remove(int permissionID, int roleID, int userID)
Parameters
Type |
Name |
Description |
System.Int32 |
permissionID |
|
System.Int32 |
roleID |
|
System.Int32 |
userID |
|
|
Improve this Doc
View Source
ToList()
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public List<PermissionInfoBase> ToList()
Returns
|
Improve this Doc
View Source
ToString(String)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public string ToString(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Where(Func<ModulePermissionInfo, Boolean>)
ModulePermissionCollection provides the a custom collection for ModulePermissionInfo
objects.
Declaration
public IEnumerable<ModulePermissionInfo> Where(Func<ModulePermissionInfo, bool> predicate)
Parameters
Returns
Extension Methods