C# Class Rhino.Commonjs.Module.Provider.CachingModuleScriptProviderBase

Inheritance: ModuleScriptProvider
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Méthode Description
GetModuleScript ( Context cx, string moduleId, Uri moduleUri, Uri baseUri, Scriptable paths ) : ModuleScript

Méthodes protégées

Méthode Description
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) .

Private Methods

Méthode Description
CachingModuleScriptProviderBase ( ) : System
Equal ( object o1, object o2 ) : bool
GetValidator ( CachingModuleScriptProviderBase cachedModule ) : object

Method Details

CachingModuleScriptProviderBase() protected méthode

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
Résultat System

GetConcurrencyLevel() protected static méthode

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
Résultat int

GetLoadedModule() protected abstract méthode

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
Résultat CachingModuleScriptProviderBase.CachedModuleScript

GetModuleScript() public méthode

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
Résultat Rhino.Commonjs.Module.ModuleScript

PutLoadedModule() protected abstract méthode

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
Résultat void