View Source
  Class InstallSetupResult
  
  The object returned from each installation step
 
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public class InstallSetupResult
   
  Constructors
  
  
    View Source
  
  InstallSetupResult()
  
  
  Declaration
  
    public InstallSetupResult()
   
  
    View Source
  
  InstallSetupResult(IDictionary<String, Object>)
  
  
  Declaration
  
    public InstallSetupResult(IDictionary<string, object> savedStepData)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | IDictionary<System.String, System.Object> | 
        savedStepData | 
         | 
      
    
  
  
    View Source
  
  InstallSetupResult(IDictionary<String, Object>, String, Object)
  
  
  Declaration
  
    public InstallSetupResult(IDictionary<string, object> savedStepData, string view, object viewModel = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | IDictionary<System.String, System.Object> | 
        savedStepData | 
         | 
      
      
        | System.String | 
        view | 
         | 
      
      
        | System.Object | 
        viewModel | 
         | 
      
    
  
  
    View Source
  
  InstallSetupResult(String, Object)
  
  
  Declaration
  
    public InstallSetupResult(string view, object viewModel = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        view | 
         | 
      
      
        | System.Object | 
        viewModel | 
         | 
      
    
  
  Properties
  
  
    View Source
  
  SavedStepData
  Data that is persisted to the installation file which can be used from other installation steps
 
  
  Declaration
  
    public IDictionary<string, object>? SavedStepData { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Nullable<IDictionary<System.String, System.Object>> | 
         | 
      
    
  
  
    View Source
  
  View
  The UI view to show when this step executes, by default no views are shown for the completion of a step unless
explicitly specified.
 
  
  Declaration
  
    public string View { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    View Source
  
  ViewModel
  The view model to return to the UI if this step is returning a view (optional)
 
  
  Declaration
  
    public object ViewModel { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Object | 
         |