View Source
  Class MergeBuilder
  
  Represents a migration plan builder for merges.
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Infrastructure.dll
  Syntax
  
    public class MergeBuilder
   
  Methods
  
  
    View Source
  
  As(String)
  
  
  Declaration
  
    public MigrationPlan As(string targetState)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | targetState |  | 
    
  
  Returns
  
  
    View Source
  
  To(String)
  Adds a transition to a target state through an empty migration.
Declaration
  
    public MergeBuilder To(string targetState)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | targetState |  | 
    
  
  Returns
  
  
    View Source
  
  To(String, Type)
  Adds a transition to a target state through a migration.
Declaration
  
    public MergeBuilder To(string targetState, Type migration)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | targetState |  | 
      
        | Type | migration |  | 
    
  
  Returns
  
  
    View Source
  
  To<TMigration>(String)
  Adds a transition to a target state through a migration.
Declaration
  
    public MergeBuilder To<TMigration>(string targetState)
    where TMigration : MigrationBase
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | targetState |  | 
    
  
  Returns
  
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TMigration |  | 
    
  
  
    View Source
  
  With()
  Begins the second branch of the merge.
Declaration
  
    public MergeBuilder With()
   
  Returns