コード例 #1
0
ファイル: Declare.cs プロジェクト: erdembey/ooRuleML
 public Declare(Declare another)
 {
     if (another.Var != null)
     {
         var = (string)another.Var.Clone();
     }
 }
コード例 #2
0
ファイル: Declare.cs プロジェクト: erdembey/ooRuleML
        public override bool Equals(object o)
        {
            if (o == null || GetType() != o.GetType())
            {
                return false;
            }

            Declare other = new Declare((Declare)o);

            if (this.Var != null)
            {
                if (!this.Var.Equals(other.Var))
                {
                    return false;
                }
            }

            return true;
        }
コード例 #3
0
ファイル: ForAll.cs プロジェクト: erdembey/ooRuleML
 public int AddDeclare(Declare item)
 {
     return declare.Add(item);
 }