Class MemberTypeService
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public class MemberTypeService : ContentTypeServiceBase, IMemberTypeService, IService
Constructors
MemberTypeService(IDatabaseUnitOfWorkProvider, RepositoryFactory, ILogger, IEventMessagesFactory, IMemberService)
Declaration
public MemberTypeService(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory, ILogger logger, IEventMessagesFactory eventMessagesFactory, IMemberService memberService)
Parameters
Methods
Delete(IEnumerable<IMemberType>, Int32)
Declaration
public void Delete(IEnumerable<IMemberType> memberTypes, int userId = 0)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IMemberType> |
memberTypes |
|
System.Int32 |
userId |
|
Delete(IMemberType, Int32)
Declaration
public void Delete(IMemberType memberType, int userId = 0)
Parameters
Type |
Name |
Description |
IMemberType |
memberType |
|
System.Int32 |
userId |
|
Get(Guid)
Declaration
public IMemberType Get(Guid key)
Parameters
Type |
Name |
Description |
System.Guid |
key |
Key of the IMemberType to retrieve
|
Returns
Get(Int32)
Declaration
public IMemberType Get(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
Id of the IMemberType to retrieve
|
Returns
Get(String)
Declaration
public IMemberType Get(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
Alias of the IMemberType to retrieve
|
Returns
GetAll(Int32[])
Declaration
public IEnumerable<IMemberType> GetAll(params int[] ids)
Parameters
Type |
Name |
Description |
System.Int32[] |
ids |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IMemberType> |
|
Save(IEnumerable<IMemberType>, Int32)
Declaration
public void Save(IEnumerable<IMemberType> memberTypes, int userId = 0)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IMemberType> |
memberTypes |
|
System.Int32 |
userId |
|
Save(IMemberType, Int32)
Declaration
public void Save(IMemberType memberType, int userId = 0)
Parameters
Type |
Name |
Description |
IMemberType |
memberType |
|
System.Int32 |
userId |
|
Events
Deleted
Declaration
public static event TypedEventHandler<IMemberTypeService, DeleteEventArgs<IMemberType>> Deleted
Event Type
Deleting
Declaration
public static event TypedEventHandler<IMemberTypeService, DeleteEventArgs<IMemberType>> Deleting
Event Type
Saved
Declaration
public static event TypedEventHandler<IMemberTypeService, SaveEventArgs<IMemberType>> Saved
Event Type
Saving
Declaration
public static event TypedEventHandler<IMemberTypeService, SaveEventArgs<IMemberType>> Saving
Event Type