Class LocalTemplateStorage
Inheritance
System.Object
LocalTemplateStorage
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()
Namespace: Aurigma.DesignAtoms.Convert.TemplateStorage
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class LocalTemplateStorage : ITemplateStorage
Constructors
LocalTemplateStorage(IMemoryCachingService)
Declaration
public LocalTemplateStorage(IMemoryCachingService memoryCachingService)
Parameters
| Type | Name | Description |
|---|---|---|
| IMemoryCachingService | memoryCachingService |
LocalTemplateStorage(String, String, String, IMemoryCachingService)
Declaration
public LocalTemplateStorage(string designFolderPath, string mockupFolderPath, string sourceFolderPath, IMemoryCachingService memoryCachingService)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | designFolderPath | |
| System.String | mockupFolderPath | |
| System.String | sourceFolderPath | |
| IMemoryCachingService | memoryCachingService |
Methods
GetMetadata(TemplateImageType, String)
Declaration
public TemplateImageMetadata GetMetadata(TemplateImageType type, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| TemplateImageType | type | |
| System.String | name |
Returns
| Type | Description |
|---|---|
| TemplateImageMetadata |
GetStream(TemplateImageType, String)
Declaration
public virtual Stream GetStream(TemplateImageType type, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| TemplateImageType | type | |
| System.String | name |
Returns
| Type | Description |
|---|---|
| System.IO.Stream |
IsExists(TemplateImageType, String)
Declaration
public bool IsExists(TemplateImageType type, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| TemplateImageType | type | |
| System.String | name |
Returns
| Type | Description |
|---|---|
| System.Boolean |