public OptionToggle(bool initialValue, Rhino.UI.LocalizeStringPair offValue, Rhino.UI.LocalizeStringPair onValue) { m_initialValue = initialValue; m_offValue = offValue; m_onValue = onValue; }
/// <example> /// <code source='examples\vbnet\ex_commandlineoptions.vb' lang='vbnet'/> /// <code source='examples\cs\ex_commandlineoptions.cs' lang='cs'/> /// <code source='examples\py\ex_commandlineoptions.py' lang='py'/> /// </example> public OptionToggle(bool initialValue, string offValue, string onValue) { m_initialValue = initialValue; m_offValue = new UI.LocalizeStringPair(offValue, offValue); m_onValue = new UI.LocalizeStringPair(onValue, onValue); }