C# 클래스 AlphaTab.Platform.JavaScript.JsFileLoader

This is a fileloader implementation for JavaScript. It uses a ajax request in case of modern browsers like Firefox or Chrome. For IE a VBScript is used to load a binary stream.
상속: SharpKit.Html.HtmlContext, IFileLoader
파일 보기 프로젝트 열기: CoderLine/alphaTab 1 사용 예제들

공개 메소드들

메소드 설명
GetIEVersion ( ) : float
LoadBinary ( string path ) : byte[]
LoadBinaryAsync ( string path, Action success, Action error ) : void

비공개 메소드들

메소드 설명
GetBytesFromString ( string s ) : byte[]
NewUint8Array ( object arrayBuffer ) : byte[]
VbAjaxLoader ( string method, string path ) : dynamic

메소드 상세

GetIEVersion() 공개 정적인 메소드

public static GetIEVersion ( ) : float
리턴 float

LoadBinary() 공개 메소드

public LoadBinary ( string path ) : byte[]
path string
리턴 byte[]

LoadBinaryAsync() 공개 메소드

public LoadBinaryAsync ( string path, Action success, Action error ) : void
path string
success Action
error Action
리턴 void