Alvas.Scriptor Class Library

ScriptorOptionsConfig Class

ScriptorOptionsConfig to read options from *.config file and fill Scriptor properties.

For a list of all members of this type, see ScriptorOptionsConfig Members.

System.Object
   MarshalByRefObject
      Component
         ScriptorOptionsBase
            ScriptorOptionsConfig

[Visual Basic]
Public Class ScriptorOptionsConfig
Inherits ScriptorOptionsBase
[C#]
public class ScriptorOptionsConfig : ScriptorOptionsBase

Example

Example *.config file

            <?xml version="1.0" encoding="utf-8" ?>
            <configuration>
            
              <configSections>
            	<sectionGroup name="scr1">
            		<section name="references" type="System.Configuration.DictionarySectionHandler"/>
            		<section name="sourceFiles" type="System.Configuration.DictionarySectionHandler"/>
            	</sectionGroup>
              </configSections>
              
              <scr1>
                <references>
                  <add key="ref1" value="System.dll"/>
                  <add key="ref2" value="System.Drawing.dll"/>
                  <add key="ref3" value="System.Windows.Forms.dll"/>
                </references>
                <sourceFiles>
                  <add key="sf1" value="script.cs"/>
                </sourceFiles>
              </scr1>
              
            </configuration>
            

Requirements

Namespace: Alvas.Script

Assembly: Alvas.Scriptor (in Alvas.Scriptor.dll)

See Also

ScriptorOptionsConfig Members | Alvas.Script Namespace