public IncrementalVersionMismatchException(IIncrementalVersion expectedVersion, IIncrementalVersion actualVersion)
     : base(string.Format("The expected version is {0}.  The actual version is {1}.", 
     expectedVersion.GetVersionText(), actualVersion.GetVersionText()))
 {
     this.ExpectedVersion = expectedVersion;
     this.ActualVersion = actualVersion;
 }
Exemple #2
0
 public IncrementalVersionMismatchException(IIncrementalVersion expectedVersion, IIncrementalVersion actualVersion)
     : base(string.Format("The expected version is {0}.  The actual version is {1}.",
                          expectedVersion.GetVersionText(), actualVersion.GetVersionText()))
 {
     this.ExpectedVersion = expectedVersion;
     this.ActualVersion   = actualVersion;
 }