Prebuild.Core.Targets.ToolInfo.Equals C# (CSharp) Méthode

Equals() public méthode

Equals operator
public Equals ( object obj ) : bool
obj object ToolInfo to compare
Résultat bool
		public override bool Equals(object obj)
		{
			if (obj == null)
			{
				throw new ArgumentNullException("obj");
			}
			if (obj.GetType() != typeof(ToolInfo))
				return false;
                
			ToolInfo c = (ToolInfo)obj;   
			return ((this.name == c.name) && (this.guid == c.guid) && (this.fileExtension == c.fileExtension) && (this.xmlTag == c.xmlTag));
		}