View Source
Class MemberGroupService
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class MemberGroupService : RepositoryService, IMemberGroupService, IService
Constructors
View Source
MemberGroupService(IScopeProvider, ILogger, IEventMessagesFactory, IMemberGroupRepository)
Declaration
public MemberGroupService(IScopeProvider provider, ILogger logger, IEventMessagesFactory eventMessagesFactory, IMemberGroupRepository memberGroupRepository)
Parameters
Methods
View Source
Delete(IMemberGroup)
Declaration
public void Delete(IMemberGroup memberGroup)
Parameters
View Source
GetAll()
Declaration
public IEnumerable<IMemberGroup> GetAll()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IMemberGroup> |
|
View Source
GetById(Guid)
Declaration
public IMemberGroup GetById(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
View Source
GetById(Int32)
Declaration
public IMemberGroup GetById(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
View Source
GetByIds(IEnumerable<Int32>)
Declaration
public IEnumerable<IMemberGroup> GetByIds(IEnumerable<int> ids)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
ids |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IMemberGroup> |
|
View Source
GetByName(String)
Declaration
public IMemberGroup GetByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
View Source
Save(IMemberGroup, Boolean)
Declaration
public void Save(IMemberGroup memberGroup, bool raiseEvents = true)
Parameters
Type |
Name |
Description |
IMemberGroup |
memberGroup |
|
System.Boolean |
raiseEvents |
|
Events
View Source
Deleted
Occurs after Delete of a member group
Declaration
public static event TypedEventHandler<IMemberGroupService, DeleteEventArgs<IMemberGroup>> Deleted
Event Type
View Source
Deleting
Occurs before Delete of a member group
Declaration
public static event TypedEventHandler<IMemberGroupService, DeleteEventArgs<IMemberGroup>> Deleting
Event Type
View Source
Saved
Occurs after Save of a member group
Declaration
public static event TypedEventHandler<IMemberGroupService, SaveEventArgs<IMemberGroup>> Saved
Event Type
View Source
Saving
Occurs before Save of a member group
Declaration
public static event TypedEventHandler<IMemberGroupService, SaveEventArgs<IMemberGroup>> Saving
Event Type