C# 클래스 Emmet.Engine.EmmetFileCallbacks

Implementation of IEmmetFile interface for JavaScript engine. See https://github.com/emmetio/emmet/blob/master/lib/interfaces/IEmmetFile.js for details.
파일 보기 프로젝트 열기: sergey-rybalkin/emmet.net 1 사용 예제들

공개 메소드들

메소드 설명
CreatePath ( V8Engine engine, bool isConstructorCall, InternalHandle self ) : InternalHandle

JavaScript callback. Creates absolute path by concatenating two arguments.

GetExtension ( V8Engine engine, bool isConstructorCall, InternalHandle self ) : InternalHandle

JavaScript callback. Returns file extension in lower case.

LocateFile ( V8Engine engine, bool isConstructCall, InternalHandle self ) : InternalHandle

JavaScript callback. Returns absolute path to the file that is referenced from the file in the editor. Implementation copied from the Emmet project source code.

Read ( V8Engine engine, bool isConstructCall, InternalHandle self ) : InternalHandle

JavaScript callback. Reads the specified file content and returns it as string.

Save ( V8Engine engine, bool isConstructorCall, InternalHandle self ) : InternalHandle

JavaScript callback. Saves the specified content to the file with the specified name.

메소드 상세

CreatePath() 공개 메소드

JavaScript callback. Creates absolute path by concatenating two arguments.
public CreatePath ( V8Engine engine, bool isConstructorCall, InternalHandle self ) : InternalHandle
engine V8.Net.V8Engine
isConstructorCall bool
self InternalHandle
리턴 InternalHandle

GetExtension() 공개 메소드

JavaScript callback. Returns file extension in lower case.
public GetExtension ( V8Engine engine, bool isConstructorCall, InternalHandle self ) : InternalHandle
engine V8.Net.V8Engine
isConstructorCall bool
self InternalHandle
리턴 InternalHandle

LocateFile() 공개 메소드

JavaScript callback. Returns absolute path to the file that is referenced from the file in the editor. Implementation copied from the Emmet project source code.
public LocateFile ( V8Engine engine, bool isConstructCall, InternalHandle self ) : InternalHandle
engine V8.Net.V8Engine
isConstructCall bool
self InternalHandle
리턴 InternalHandle

Read() 공개 메소드

JavaScript callback. Reads the specified file content and returns it as string.
public Read ( V8Engine engine, bool isConstructCall, InternalHandle self ) : InternalHandle
engine V8.Net.V8Engine
isConstructCall bool
self InternalHandle
리턴 InternalHandle

Save() 공개 메소드

JavaScript callback. Saves the specified content to the file with the specified name.
public Save ( V8Engine engine, bool isConstructorCall, InternalHandle self ) : InternalHandle
engine V8.Net.V8Engine
isConstructorCall bool
self InternalHandle
리턴 InternalHandle