Class PersonaBarExtensionRepository
Inheritance
System.Object
PersonaBarExtensionRepository
Implements
Inherited Members
Namespace: Dnn.PersonaBar.Library.Repository
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public class PersonaBarExtensionRepository : ServiceLocator<IPersonaBarExtensionRepository, PersonaBarExtensionRepository>, IPersonaBarExtensionRepository
Methods
| Improve this Doc View SourceDeleteExtension(PersonaBarExtension)
delete extension.
Declaration
public void DeleteExtension(PersonaBarExtension extension)
Parameters
Type | Name | Description |
---|---|---|
PersonaBarExtension | extension |
DeleteExtension(String)
delete extension.
Declaration
public void DeleteExtension(string identifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier |
GetExtensions()
get persona bar extensions.
Declaration
public IList<PersonaBarExtension> GetExtensions()
Returns
Type | Description |
---|---|
IList<PersonaBarExtension> | A list of PersonaBarExtension instances. |
GetExtensions(Int32)
get persona bar extensions for menu.
Declaration
public IList<PersonaBarExtension> GetExtensions(int menuId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | menuId |
Returns
Type | Description |
---|---|
IList<PersonaBarExtension> | A list of PersonaBarExtension instances. |
GetFactory()
Gets the service locator factory.
Declaration
protected override Func<IPersonaBarExtensionRepository> GetFactory()
Returns
Type | Description |
---|---|
Func<IPersonaBarExtensionRepository> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<Dnn.PersonaBar.Library.Repository.IPersonaBarExtensionRepository, Dnn.PersonaBar.Library.Repository.PersonaBarExtensionRepository>.GetFactory()
|
Improve this Doc
View Source
SaveExtension(PersonaBarExtension)
save extension.
Declaration
public void SaveExtension(PersonaBarExtension extension)
Parameters
Type | Name | Description |
---|---|---|
PersonaBarExtension | extension |