Show / Hide Table of Contents

Interface IInitialsPictureRenderer

Represents a service that can render an initials picture.

Namespace: IRM.AspNetCore.Identity.UI
Assembly: IRM.AspNetCore.Identity.UI.dll
Syntax
public interface IInitialsPictureRenderer

Methods

RenderInitialsPicture(String, Byte, CancellationToken)

Renders a picture with the supplied initials.

Declaration
Task<Stream> RenderInitialsPicture(string initials, byte size = 32, CancellationToken cancellationToken = default(CancellationToken))
Parameters
String initials

The initials to render in the picture.

System.Byte size

The size of the picture to render. Should be between 32 and 80 pixels.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled.

Returns
System.Threading.Tasks.Task<System.IO.Stream>

The System.Threading.Tasks.Task that represents the asynchronous operation, with the System.IO.Stream containing the picture.

Back to top Generated by DocFX