IProfilePictureService Interface
Namespace: PTS.Modules.ProfilePictureAggregate.Domain
Assembly: PTS.Modules.ProfilePictureAggregate.dll
Syntax
public interface IProfilePictureService
Methods
GetPicture(Profile, PictureType)
Gets the Picture for profile
.
Declaration
Picture GetPicture(Profile profile, PictureType type)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Picture |
type | The type. |
Returns
GetPictureAsync(Profile, PictureType)
Gets the Picture for profile
.
Declaration
Task<Picture> GetPictureAsync(Profile profile, PictureType type)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Picture |
type | The type. |
Returns
Type | Description |
---|---|
System. |
The System. |
GetPictures(Profile)
Gets the System.Collections.Generic.List<T> collection for profile
.
Declaration
List<Picture> GetPictures(Profile profile)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Returns
GetPicturesAsync(Profile)
Gets the System.Collections.Generic.List<T> collection for profile
.
Declaration
Task<List<Picture>> GetPicturesAsync(Profile profile)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Returns
Type | Description |
---|---|
System. |
The System. |
SetPicture(Profile, Picture, PictureType)
Sets the Picture for profile
with type
.
Declaration
ProfilePicture SetPicture(Profile profile, Picture picture, PictureType type)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Picture | picture | The picture. |
Picture |
type | The type. |
Returns
Type | Description |
---|---|
Profile |
The Profile |
SetPictureAsync(Profile, Picture, PictureType)
Sets the Picture for profile
with type
.
Declaration
Task<ProfilePicture> SetPictureAsync(Profile profile, Picture picture, PictureType type)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Picture | picture | The picture. |
Picture |
type | The type. |
Returns
Type | Description |
---|---|
System. |
The System. |