public LogTriggerConfig(SouceConfig sourceConfig, JobConfig jobConfig, Dictionary <string, object> functionParameter, LogConfig logConfig, bool enable) { this.SourceConfig = sourceConfig; this.JobConfig = jobConfig; this.FunctionParameter = functionParameter; this.LogConfig = logConfig; this.Enable = enable; }
public override bool Equals(object obj) { //Check for null and compare run-time types. if ((obj == null) || !this.GetType().Equals(obj.GetType())) { return(false); } else { SouceConfig p = (SouceConfig)obj; return(Logstore == p.Logstore); } }