-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSource.cs
More file actions
executable file
·38 lines (33 loc) · 854 Bytes
/
Source.cs
File metadata and controls
executable file
·38 lines (33 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using System.Collections.Generic;
using System.Text;
namespace Escan.Engine
{
class Source
{
public string sNamespace;
public string sName;
public string sMethod;
//public string category;
public Source(string sNamespace, string sName, string sMethod)
{
this.sNamespace = sNamespace;
this.sName = sName;
this.sMethod = sMethod;
}
public override bool Equals(object o)
{
if (o == null)
{
return this == null;
}
else
{
return (o is Source) &&
(this.sName == ((Source)o).sName) &&
(this.sNamespace == ((Source)o).sNamespace) &&
(this.sMethod == ((Source)o).sMethod);
}
}
}
}