Interface IPersonaBarExtensionRepository
Interface responsible for persona bar extensions.
Namespace: Dnn.PersonaBar.Library.Repository
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public interface IPersonaBarExtensionRepository
Methods
| Improve this Doc View SourceDeleteExtension(PersonaBarExtension)
delete extension.
Declaration
void DeleteExtension(PersonaBarExtension extension)
Parameters
Type | Name | Description |
---|---|---|
PersonaBarExtension | extension |
DeleteExtension(String)
delete extension.
Declaration
void DeleteExtension(string identifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier |
GetExtensions()
get persona bar extensions.
Declaration
IList<PersonaBarExtension> GetExtensions()
Returns
Type | Description |
---|---|
IList<PersonaBarExtension> | A list of PersonaBarExtension instances. |
GetExtensions(Int32)
get persona bar extensions for menu.
Declaration
IList<PersonaBarExtension> GetExtensions(int menuId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | menuId |
Returns
Type | Description |
---|---|
IList<PersonaBarExtension> | A list of PersonaBarExtension instances. |
SaveExtension(PersonaBarExtension)
save extension.
Declaration
void SaveExtension(PersonaBarExtension extension)
Parameters
Type | Name | Description |
---|---|---|
PersonaBarExtension | extension |