C# 클래스 Yodiwo.API.Plegma.Code.BinaryResourceAccessor

파일 보기 프로젝트 열기: yodiwo/plegma

공개 메소드들

메소드 설명
CreateDescriptor ( byte resource, eBinaryResourceLocationType locationType, object locationDescriptor ) : BinaryResourceDescriptor

GetResource ( BinaryResourceDescriptor descriptor ) : byte[]

Get resource based on given descriptor

GetResourceAsStream ( BinaryResourceDescriptor descriptor ) : MemoryStream
HttpFetchHandler ( BinaryResourceDescriptor descriptor ) : byte[]
RedisDBFetchHandler ( BinaryResourceDescriptor descriptor ) : byte[]

비공개 메소드들

메소드 설명
BinaryResourceAccessor ( ) : System

메소드 상세

CreateDescriptor() 공개 정적인 메소드

public static CreateDescriptor ( byte resource, eBinaryResourceLocationType locationType, object locationDescriptor ) : BinaryResourceDescriptor
resource byte
locationType eBinaryResourceLocationType
locationDescriptor object
리턴 Yodiwo.API.Plegma.BinaryResourceDescriptor

GetResource() 공개 정적인 메소드

Get resource based on given descriptor
public static GetResource ( BinaryResourceDescriptor descriptor ) : byte[]
descriptor Yodiwo.API.Plegma.BinaryResourceDescriptor
리턴 byte[]

GetResourceAsStream() 공개 정적인 메소드

public static GetResourceAsStream ( BinaryResourceDescriptor descriptor ) : MemoryStream
descriptor Yodiwo.API.Plegma.BinaryResourceDescriptor
리턴 System.IO.MemoryStream

HttpFetchHandler() 공개 정적인 메소드

public static HttpFetchHandler ( BinaryResourceDescriptor descriptor ) : byte[]
descriptor Yodiwo.API.Plegma.BinaryResourceDescriptor
리턴 byte[]

RedisDBFetchHandler() 공개 정적인 메소드

public static RedisDBFetchHandler ( BinaryResourceDescriptor descriptor ) : byte[]
descriptor Yodiwo.API.Plegma.BinaryResourceDescriptor
리턴 byte[]