C# Class FileGenerator.MagickScript.SwitchCodeGenerator

Inheritance: ScriptCodeGenerator
Mostra file Open project: dlemstra/Magick.NET

Protected Methods

Method Description
HasStaticCreateMethod ( string typeName ) : bool
WriteCase ( string name ) : void
WriteSwitch ( IEnumerable names ) : void

Private Methods

Method Description
WriteLengthCheck ( IEnumerable names, int level ) : void
WriteSwitch ( IEnumerable names, int level ) : void

Method Details

HasStaticCreateMethod() protected static method

protected static HasStaticCreateMethod ( string typeName ) : bool
typeName string
return bool

WriteCase() protected abstract method

protected abstract WriteCase ( string name ) : void
name string
return void

WriteSwitch() protected method

protected WriteSwitch ( IEnumerable names ) : void
names IEnumerable
return void