public virtual bool IsOnlyModuleStatusChanged()

in edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Docker/DockerModule.cs [98:110]


        public virtual bool IsOnlyModuleStatusChanged(IModule other)
        {
            return other is DockerModule dockerModule &&
                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(dockerModule.Config) &&
                this.RestartPolicy == other.RestartPolicy &&
                this.ImagePullPolicy == other.ImagePullPolicy &&
                this.StartupOrder == other.StartupOrder &&
                EnvDictionaryComparer.Equals(this.Env, other.Env);
        }