C# 클래스 MiniWeb.AssetStorage.FileSystem.MiniWebAssetFileSystemStorage

상속: IMiniWebAssetStorage
파일 보기 프로젝트 열기: IRooc/miniweb-coreclr

공개 메소드들

메소드 설명
CreateAsset ( string fileName, byte bytes, string virtualFolder = null ) : IAsset
CreateAsset ( string fileName, string base64String, string virtualFolder = null ) : IAsset
GetAllAssets ( ) : IEnumerable
MiniWebAssetFileSystemStorage ( IHostingEnvironment env, ILoggerFactory loggerfactory, IOptions config ) : System
RemoveAsset ( IAsset asset ) : void

비공개 메소드들

메소드 설명
ConvertToBytes ( string base64 ) : byte[]
GetVirtualPath ( string path ) : string
SetupLogging ( ILoggerFactory loggerfactory ) : ILogger

메소드 상세

CreateAsset() 공개 메소드

public CreateAsset ( string fileName, byte bytes, string virtualFolder = null ) : IAsset
fileName string
bytes byte
virtualFolder string
리턴 IAsset

CreateAsset() 공개 메소드

public CreateAsset ( string fileName, string base64String, string virtualFolder = null ) : IAsset
fileName string
base64String string
virtualFolder string
리턴 IAsset

GetAllAssets() 공개 메소드

public GetAllAssets ( ) : IEnumerable
리턴 IEnumerable

MiniWebAssetFileSystemStorage() 공개 메소드

public MiniWebAssetFileSystemStorage ( IHostingEnvironment env, ILoggerFactory loggerfactory, IOptions config ) : System
env IHostingEnvironment
loggerfactory ILoggerFactory
config IOptions
리턴 System

RemoveAsset() 공개 메소드

public RemoveAsset ( IAsset asset ) : void
asset IAsset
리턴 void