Skip to main content

Class LocalUserImagesProvider

Namespace: Aurigma.DesignAtoms.Services​
Assembly: Aurigma.DesignAtoms.dll​
Syntax
public class LocalUserImagesProvider : IUserImagesProvider

Inheritance: System.Object -> LocalUserImagesProvider

Implements​

Inherited Members​

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Constructors​

LocalUserImagesProvider​

public LocalUserImagesProvider(IMetadataService metadataService, IApplicationEnvironment applicationEnvironment, string rootPath = null)

Methods​

GetStream​

public Task<Stream> GetStream(string source, string userId)
Parameters​
TypeNameDescription
System.Stringsource
System.StringuserId
Returns​

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

GetMetadata​

public Task<ImageMetaData> GetMetadata(string source, string userId)
Parameters​
TypeNameDescription
System.Stringsource
System.StringuserId
Returns​

System.Threading.Tasks.Task<Aurigma.DesignAtoms.Model.Items.ImageMetaData>

IsExists​

public Task<bool> IsExists(string source, string userId)
Parameters​
TypeNameDescription
System.Stringsource
System.StringuserId
Returns​

System.Threading.Tasks.Task<System.Boolean>

Was this page helpful?