public override bool Equals(OperationArgumentsBase args)
        {
            ImportEZProxyLogOperationArguments ezProxyArgs = (ImportEZProxyLogOperationArguments)args;

            return(HarvesterDatabase == ezProxyArgs.HarvesterDatabase &&
                   DestinationDatabase == ezProxyArgs.DestinationDatabase &&
                   SourceDirectory == ezProxyArgs.SourceDirectory);
        }
示例#2
0
        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;
        }