C# 클래스 Rhino.Commonjs.Module.Provider.CachingModuleScriptProviderBase

상속: ModuleScriptProvider
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
GetModuleScript ( Context cx, string moduleId, Uri moduleUri, Uri baseUri, Scriptable paths ) : ModuleScript

보호된 메소드들

메소드 설명
CachingModuleScriptProviderBase ( ModuleSourceProvider moduleSourceProvider ) : System

Creates a new module script provider with the specified source.

Creates a new module script provider with the specified source.

GetConcurrencyLevel ( ) : int

Returns the internal concurrency level utilized by caches in this JVM.

Returns the internal concurrency level utilized by caches in this JVM.

GetLoadedModule ( string moduleId ) : CachingModuleScriptProviderBase.CachedModuleScript

Retrieves an already loaded moduleScript stored using PutLoadedModule(string, Rhino.Commonjs.Module.ModuleScript, object) .

PutLoadedModule ( string moduleId, ModuleScript moduleScript, object validator ) : void

Store a loaded module script for later retrieval using GetLoadedModule(string) .

비공개 메소드들

메소드 설명
CachingModuleScriptProviderBase ( ) : System
Equal ( object o1, object o2 ) : bool
GetValidator ( CachingModuleScriptProviderBase cachedModule ) : object

메소드 상세

CachingModuleScriptProviderBase() 보호된 메소드

Creates a new module script provider with the specified source.
Creates a new module script provider with the specified source.
protected CachingModuleScriptProviderBase ( ModuleSourceProvider moduleSourceProvider ) : System
moduleSourceProvider ModuleSourceProvider provider for modules' source code
리턴 System

GetConcurrencyLevel() 보호된 정적인 메소드

Returns the internal concurrency level utilized by caches in this JVM.
Returns the internal concurrency level utilized by caches in this JVM.
protected static GetConcurrencyLevel ( ) : int
리턴 int

GetLoadedModule() 보호된 추상적인 메소드

Retrieves an already loaded moduleScript stored using PutLoadedModule(string, Rhino.Commonjs.Module.ModuleScript, object) .
protected abstract GetLoadedModule ( string moduleId ) : CachingModuleScriptProviderBase.CachedModuleScript
moduleId string the ID of the module
리턴 CachingModuleScriptProviderBase.CachedModuleScript

GetModuleScript() 공개 메소드

public GetModuleScript ( Context cx, string moduleId, Uri moduleUri, Uri baseUri, Scriptable paths ) : ModuleScript
cx Rhino.Context
moduleId string
moduleUri System.Uri
baseUri System.Uri
paths Scriptable
리턴 Rhino.Commonjs.Module.ModuleScript

PutLoadedModule() 보호된 추상적인 메소드

Store a loaded module script for later retrieval using GetLoadedModule(string) .
protected abstract PutLoadedModule ( string moduleId, ModuleScript moduleScript, object validator ) : void
moduleId string the ID of the module
moduleScript Rhino.Commonjs.Module.ModuleScript the module script
validator object the validator for the module's source text entity
리턴 void