in edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Docker/DockerModule.cs [75:96]
public virtual bool Equals(IModule<DockerConfig> other)
{
if (ReferenceEquals(null, other))
{
return false;
}
if (ReferenceEquals(this, other))
{
return true;
}
return string.Equals(this.Name, other.Name) &&
string.Equals(this.Version, other.Version) &&
string.Equals(this.Type, other.Type) &&
this.DesiredStatus == other.DesiredStatus &&
this.Config.Equals(other.Config) &&
this.RestartPolicy == other.RestartPolicy &&
this.ImagePullPolicy == other.ImagePullPolicy &&
this.StartupOrder == other.StartupOrder &&
EnvDictionaryComparer.Equals(this.Env, other.Env);
}