public void RegisterBuildAction(BuildAction buildAction) { if (!this.buildActions.Contains(buildAction)) { this.buildActions.Add(buildAction); } }
public override bool Equals(object other) { BuildAction action = other as BuildAction; return action != null && this.actionName == action.actionName; }
public NodeProperties(HierarchyNode node) { this.Node = node; project = node.ProjectMgr; build = (BuildAction)Enum.Parse(typeof(BuildAction), GetProperty("*/*/Files/@BuildAction", "None")); tool = GetProperty("*/*/Files/@CustomTool", ""); toolNs = GetProperty("*/*/Files/@CustomToolNamespace", ""); }