TITcs.SharePoint.Libs by Stiven F. Câmara

<PackageReference Include="TITcs.SharePoint.Libs" Version="1.0.0" />

.NET API 60,016,200 bytes

 SPOfficialFileHost

public SPOfficialFileAction Action { get; set; }

public string Explanation { get; set; }

public string OfficialFileName { get; set; }

public Uri OfficialFileUrl { get; set; }

public bool ShowOnSendToMenu { get; set; }

public Guid UniqueId { get; }

public SPOfficialFileHost(bool bCreateUniqueId)

public static SPOfficialFileHost GetHostById(SPSite site, Guid id)

public static List<RecordsRepositoryProperty> GetPropertiesForSubmission(SPListItem item, SPOfficialFileAction action, bool bIncludeAuditHistory, bool? bUseFieldGuid)

public void CopyFrom(SPOfficialFileHost srcHost)

public List<RecordsRepositoryProperty> GetPropertiesForSubmission(SPListItem item, bool bIncludeAuditHistory, bool? bUseFieldGuid)

public OfficialFileResult PrepareForSubmission(SPFile file, SPOfficialFileSubmissionMode submissionMode, out string strAdditionalInfo)

public OfficialFileResult RunPostProcessing(string resultXmlFragment, CustomFileSubmissionPostProcessing customProcessor, out string strAdditionalInfo)

public OfficialFileResult RunStandardPostProcessing(SPFile file, SPOfficialFileSubmissionMode submissionMode, string submitter, string resultXmlFragment, out string strAdditionalInfo)

public string RunStandardPostProcessor(SPFile file, SPOfficialFileSubmissionMode submissionMode, string submitter, XmlDocument submissionResult)