コード例 #1
0
ファイル: ChoIniNewLineNode.cs プロジェクト: lanicon/Cinchoo
 public override bool Equals(ChoIniNode other)
 {
     if (other is ChoIniNode)
     {
         return(GetHashCode() == ((ChoIniNode)other).GetHashCode());
     }
     else
     {
         return(false);
     }
 }
コード例 #2
0
 public override bool Equals(ChoIniNode other)
 {
     if (other is ChoIniNameValueNode)
     {
         return(_name == ((ChoIniNameValueNode)other)._name);
     }
     else
     {
         return(false);
     }
 }
コード例 #3
0
 public override bool Equals(ChoIniNode other)
 {
     if (other is ChoIniCommentNode)
     {
         return(_commentLine == ((ChoIniCommentNode)other)._commentLine);
     }
     else
     {
         return(false);
     }
 }
コード例 #4
0
 public override bool Equals(ChoIniNode other)
 {
     if (other is ChoIniIncludeFileNode)
     {
         return(_filePath == ((ChoIniIncludeFileNode)other)._filePath);
     }
     else
     {
         return(false);
     }
 }
コード例 #5
0
 public bool Remove(ChoIniNode node)
 {
     return(_iniDocument.Remove(node));
 }