protected void UnSetBoolParam(BoolStatus type) { if (boolParams.ContainsKey(type)) { boolParams.Remove(type); } }
protected void SetBoolParam(BoolStatus type, bool value, int priority) { if (!boolParams.ContainsKey(type)) { boolParams.Add(type, new BoolParam(type, value, priority)); } else { boolParams[type] = new BoolParam(type, value, priority); } }
public bool GetValue(BoolStatus type) { return(BoolStatus[(int)type]); }
public BoolParam(BoolStatus type, bool value, int priority) { Type = type; Value = value; Priority = priority; }