View Source
Class UserDataService
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class UserDataService : RepositoryService, IService, IUserDataService
Constructors
View Source
UserDataService(ICoreScopeProvider, ILoggerFactory, IEventMessagesFactory, IUserDataRepository, IUserService)
Declaration
public UserDataService(ICoreScopeProvider provider, ILoggerFactory loggerFactory, IEventMessagesFactory eventMessagesFactory, IUserDataRepository userDataRepository, IUserService userService)
Parameters
Methods
View Source
CreateAsync(IUserData)
Declaration
public async Task<Attempt<IUserData, UserDataOperationStatus>> CreateAsync(IUserData userData)
Parameters
Returns
View Source
DeleteAsync(Guid)
Declaration
public async Task<Attempt<UserDataOperationStatus>> DeleteAsync(Guid key)
Parameters
Type |
Name |
Description |
Guid |
key |
|
Returns
View Source
GetAsync(Guid)
Declaration
public async Task<IUserData> GetAsync(Guid key)
Parameters
Type |
Name |
Description |
Guid |
key |
|
Returns
View Source
GetAsync(Int32, Int32, IUserDataFilter)
Declaration
public async Task<PagedModel<IUserData>> GetAsync(int skip, int take, IUserDataFilter filter = null)
Parameters
Type |
Name |
Description |
System.Int32 |
skip |
|
System.Int32 |
take |
|
IUserDataFilter |
filter |
|
Returns
View Source
UpdateAsync(IUserData)
Declaration
public async Task<Attempt<IUserData, UserDataOperationStatus>> UpdateAsync(IUserData userData)
Parameters
Returns