/// <summary> /// Adds a file to this fileHandler instance /// </summary> /// <param name="name">the file-name</param> /// <param name="content">the file-content</param> /// <param name="uploadHint">a hint that helps the Uploader-module to decide what to do with the uploaded file</param> /// <param name="ms">a model-state dictionary that is used to reflect eventual invalidities back the the file-endpointhandler</param> /// <param name="uploadingIdentity">the identity that is uploading the given file</param> public void AddFile(string name, byte[] content, string uploadHint, ModelStateDictionary ms, IIdentity uploadingIdentity) { string fileType = uploadHint; changes.AddRange(handler.PerformCompare(name, fileType, content, uploadingIdentity)); }