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

파일 보기 프로젝트 열기: hazzik/Rhino.Net

공개 메소드들

메소드 설명
GetBase ( ) : Uri

Returns the base URI from which this module source was loaded, or null if it was loaded from an absolute URI.

Returns the base URI from which this module source was loaded, or null if it was loaded from an absolute URI.

GetReader ( ) : TextReader

Returns the reader returning the source text of the module.

Returns the reader returning the source text of the module. Note that subsequent calls to this method return the same object, thus it is not possible to read the source twice.

GetSecurityDomain ( ) : object

Returns the object representing the security domain for the module's source.

Returns the object representing the security domain for the module's source.

GetUri ( ) : Uri

Returns the URI of the module source text.

Returns the URI of the module source text.

GetValidator ( ) : object

Returns the validator that can be used for subsequent cache validation of the source text.

Returns the validator that can be used for subsequent cache validation of the source text.

ModuleSource ( TextReader reader, object securityDomain, Uri uri, Uri @base, object validator ) : System

Creates a new module source.

Creates a new module source.

메소드 상세

GetBase() 공개 메소드

Returns the base URI from which this module source was loaded, or null if it was loaded from an absolute URI.
Returns the base URI from which this module source was loaded, or null if it was loaded from an absolute URI.
public GetBase ( ) : Uri
리턴 System.Uri

GetReader() 공개 메소드

Returns the reader returning the source text of the module.
Returns the reader returning the source text of the module. Note that subsequent calls to this method return the same object, thus it is not possible to read the source twice.
public GetReader ( ) : TextReader
리턴 System.IO.TextReader

GetSecurityDomain() 공개 메소드

Returns the object representing the security domain for the module's source.
Returns the object representing the security domain for the module's source.
public GetSecurityDomain ( ) : object
리턴 object

GetUri() 공개 메소드

Returns the URI of the module source text.
Returns the URI of the module source text.
public GetUri ( ) : Uri
리턴 System.Uri

GetValidator() 공개 메소드

Returns the validator that can be used for subsequent cache validation of the source text.
Returns the validator that can be used for subsequent cache validation of the source text.
public GetValidator ( ) : object
리턴 object

ModuleSource() 공개 메소드

Creates a new module source.
Creates a new module source.
public ModuleSource ( TextReader reader, object securityDomain, Uri uri, Uri @base, object validator ) : System
reader System.IO.TextReader the reader returning the source text of the module.
securityDomain object /// the object representing the security domain for /// the module's source (passed to Rhino script compiler). ///
uri System.Uri the URI of the module's source text
@base System.Uri
validator object /// a validator that can be used for subsequent cache /// validation of the source text. ///
리턴 System