C# Class Pchp.Core.Reflection.ExtensionsTable

Table of loaded extensions.
Show file Open project: iolevel/peachpie

Public Methods

Method Description
AddAssembly ( Assembly ass ) : void

Adds extensions specified within the assembly attribute into the table.

AddRoutine ( ClrRoutineInfo routine ) : void

Adds routine within its associated extension.

ContainsExtension ( string extension ) : bool

Gets value indicating that given extension was loaded.

GetExtensions ( ) : ICollection

Gets known extension names.

GetRoutinesByExtension ( string extension ) : ICollection

Gets routines associated with specified extension.

Private Methods

Method Description
AddAssembly ( AssemblyName assname ) : bool
AddRoutine ( PhpExtensionAttribute extension, ClrRoutineInfo routine ) : void
EnsureExtension ( string extension ) : ICollection
EnsureExtensions ( string extensions ) : void

Method Details

AddAssembly() public method

Adds extensions specified within the assembly attribute into the table.
public AddAssembly ( Assembly ass ) : void
ass System.Reflection.Assembly The assembly to be added.
return void

AddRoutine() public method

Adds routine within its associated extension.
public AddRoutine ( ClrRoutineInfo routine ) : void
routine ClrRoutineInfo Library routine to be included in the table.
return void

ContainsExtension() public method

Gets value indicating that given extension was loaded.
public ContainsExtension ( string extension ) : bool
extension string
return bool

GetExtensions() public method

Gets known extension names.
public GetExtensions ( ) : ICollection
return ICollection

GetRoutinesByExtension() public method

Gets routines associated with specified extension.
public GetRoutinesByExtension ( string extension ) : ICollection
extension string Extension name.
return ICollection