コード例 #1
0
 public ToolSwitch(ToolSwitchType toolType)
 {
     this.name               = string.Empty;
     this.falseSuffix        = string.Empty;
     this.trueSuffix         = string.Empty;
     this.separator          = string.Empty;
     this.argumentParameter  = string.Empty;
     this.fallback           = string.Empty;
     this.parents            = new LinkedList <string>();
     this.overrides          = new LinkedList <KeyValuePair <string, string> >();
     this.booleanValue       = true;
     this.value              = string.Empty;
     this.switchValue        = string.Empty;
     this.reverseSwitchValue = string.Empty;
     this.description        = string.Empty;
     this.displayName        = string.Empty;
     this.type               = toolType;
 }
コード例 #2
0
ファイル: CompileD.cs プロジェクト: bleskodev/visuald
        private void SetStringArray(string name,
                                    ToolSwitchType type,
                                    string displayName,
                                    string description,
                                    string switchValue,
                                    string[] value)
        {
            base.ActiveToolSwitches.Remove(name);
            ToolSwitch toolSwitch = new ToolSwitch(type);

            toolSwitch.DisplayName          = displayName;
            toolSwitch.Description          = description;
            toolSwitch.ArgumentRelationList = new ArrayList();
            toolSwitch.SwitchValue          = switchValue;
            toolSwitch.Name       = name;
            toolSwitch.StringList = value;
            base.ActiveToolSwitches.Add(name, toolSwitch);
            base.AddActiveSwitchToolValue(toolSwitch);
        }
コード例 #3
0
ファイル: ToolSwitch.cs プロジェクト: thomas-dee/vs-yocto
 public ToolSwitch(ToolSwitchType toolType)
 {
     this.type = toolType;
 }