Castle.ManagementExtensions.ManagedInstance.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
		public override bool Equals(object obj)
		{
			ManagedInstance other = (ManagedInstance) obj;

			if (other != null)
			{
				return other.name.Equals(name) && 
					other.typeName.Equals(typeName);
			}
			
			return false;
		}