namespace Umbraco.Cms.Core.Deploy; /// /// Represents a deployment context. /// public interface IDeployContext { /// /// Gets the unique identifier of the deployment. /// /// /// The session identifier. /// Guid SessionId { get; } /// /// Gets the file source. /// /// /// The file source. /// /// /// The file source is used to obtain files from the source environment. /// IFileSource FileSource { get; } /// /// Gets items. /// /// /// The items. /// IDictionary Items { get; } /// /// Gets the next number in a numerical sequence. /// /// /// The next sequence number. /// /// /// Can be used to uniquely number things during a deployment. /// int NextSeq(); /// /// Gets item. /// /// The type of the item. /// The key of the item. /// /// The item with the specified key and type, if any, else null. /// T? Item(string key) where T : class; }