using System.Collections.Generic; namespace Umbraco.Core.Deploy { /// /// Defines methods that can convert a preValue to / from an environment-agnostic string. /// /// PreValues may contain values such as content identifiers, that would be local /// to one environment, and need to be converted in order to be deployed. public interface IPreValueConnector { /// /// Gets the property editor aliases that the value converter supports by default. /// IEnumerable PropertyEditorAliases { get; } /// /// Gets the environment-agnostic preValues corresponding to environment-specific preValues. /// /// The environment-specific preValues. /// The dependencies. /// IDictionary ConvertToDeploy(IDictionary preValues, ICollection dependencies); /// /// Gets the environment-specific preValues corresponding to environment-agnostic preValues. /// /// The environment-agnostic preValues. /// IDictionary ConvertToLocalEnvironment(IDictionary preValues); } }