C# Class Microsoft.Scripting.Runtime.DlrConfiguration

显示文件 Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
AddLanguage void
Freeze void
GetFileExtensions string[]
GetLanguageConfig LanguageConfiguration
GetLanguageNames string[]
LoadLanguageContext LanguageContext
NormalizeExtension string
TryLoadLanguage bool
TryLoadLanguage bool

Public Methods

Method Description
AddLanguage ( string languageTypeName, string displayName, IList names, IList fileExtensions, object>.IDictionary options ) : void
DlrConfiguration ( bool debugMode, bool privateBinding, object>.IDictionary options ) : System
GetFileExtensions ( ) : string[]
GetFileExtensions ( LanguageContext context ) : string[]
GetLanguageNames ( ) : string[]
GetLanguageNames ( LanguageContext context ) : string[]

Private Methods

Method Description
AddLanguage ( string languageTypeName, string displayName, IList names, IList fileExtensions, object>.IDictionary options, string paramName ) : void
Freeze ( ) : void
GetFileExtensions ( LanguageConfiguration config ) : string[]
GetLanguageConfig ( LanguageContext context ) : LanguageConfiguration
GetLanguageNames ( LanguageConfiguration config ) : string[]
LoadLanguageContext ( Microsoft.Scripting.Runtime.ScriptDomainManager manager, LanguageConfiguration config ) : LanguageContext
NormalizeExtension ( string extension ) : string
TryLoadLanguage ( Microsoft.Scripting.Runtime.ScriptDomainManager manager, AssemblyQualifiedTypeName providerName, LanguageContext &language ) : bool
TryLoadLanguage ( Microsoft.Scripting.Runtime.ScriptDomainManager manager, string str, bool isExtension, LanguageContext &language ) : bool

Method Details

AddLanguage() public method

public AddLanguage ( string languageTypeName, string displayName, IList names, IList fileExtensions, object>.IDictionary options ) : void
languageTypeName string
displayName string
names IList
fileExtensions IList
options object>.IDictionary
return void

DlrConfiguration() public method

public DlrConfiguration ( bool debugMode, bool privateBinding, object>.IDictionary options ) : System
debugMode bool
privateBinding bool
options object>.IDictionary
return System

GetFileExtensions() public method

public GetFileExtensions ( ) : string[]
return string[]

GetFileExtensions() public method

public GetFileExtensions ( LanguageContext context ) : string[]
context LanguageContext
return string[]

GetLanguageNames() public method

public GetLanguageNames ( ) : string[]
return string[]

GetLanguageNames() public method

public GetLanguageNames ( LanguageContext context ) : string[]
context LanguageContext
return string[]