ToString() public méthode

Returns a System.String that represents the current CmisSync.Lib.Events.FileEvent.
public ToString ( ) : string
Résultat string
 public void ToStringDoesNotCallPathsBecauseThisIsDamnExpensive() {
     var remoteFile = Mock.Of<IDocument>();
     var fe = new FileEvent(null, remoteFile);
     fe.ToString();
     Mock.Get(remoteFile).VerifyGet(f => f.Paths, Times.Never());
 }