Example #1
0
        public int CompareTo(object obj)
        {
            LevelVariableContext compareObject = (LevelVariableContext)obj;

            //int returnCompare = String.Compare(this.ContextType.ToString(), compareObject.ContextType.ToString(), true);
            //returnCompare += String.Compare(this.ContextTarget, compareObject.ContextTarget, true);

            return(String.Compare(this.ToString(), compareObject.ToString(), true));
        }
Example #2
0
 public LevelVariable(LevelVariableContext lvcContext, string strVariableName, string strRawValue)
 {
     this.Context      = lvcContext;
     this.VariableName = strVariableName;
     this.RawValue     = strRawValue;
 }