public override bool Equals(OperationArgumentsBase args) { ImportEZProxyLogOperationArguments ezProxyArgs = (ImportEZProxyLogOperationArguments)args; return(HarvesterDatabase == ezProxyArgs.HarvesterDatabase && DestinationDatabase == ezProxyArgs.DestinationDatabase && SourceDirectory == ezProxyArgs.SourceDirectory); }
public ImportEZProxyLogOperation(ImportEZProxyLogOperationArguments arguments, RepositoryArgumentsBase HarvesterDatabase, RepositoryArgumentsBase DestinationDatabase, RepositoryArgumentsBase SourceDirectory) { Contract.Requires(arguments != null); Contract.Requires(SourceDirectory != null); Contract.Requires(HarvesterDatabase != null); Contract.Requires(DestinationDatabase != null); _directoryArgs = SourceDirectory; _harvesterArgs = HarvesterDatabase; _statisticsArgs = DestinationDatabase; }