CmisSync.Lib.Events.FileConflictEvent.ToString C# (CSharp) 메소드

ToString() 공개 메소드

Returns a System.String that represents the current CmisSync.Lib.Events.FileConflictEvent.
public ToString ( ) : string
리턴 string
        public override string ToString() {
            if (this.CreatedConflictPath == null) {
                return string.Format("FileConflictEvent: \"{0}\" on path \"{1}\"", this.Type, this.AffectedPath);
            } else {
                return string.Format("FileConflictEvent: \"{0}\" on path \"{1}\" solved by creating path \"{2}\"", this.Type, this.AffectedPath, this.CreatedConflictPath);
            }
        }
    }