Show / Hide Table of Contents

Class ImportStep

Represents a single step in an import process. Import processes are defined by an IImportCommand Addin.

Inheritance
System.Object
NotificationObject
ImportStep
Inherited Members
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Namespace: Algenta.Colectica.ViewModel.Import
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public abstract class ImportStep : NotificationObject

Constructors

ImportStep(IImportCommand)

Instantiates a new instance of the ImportStep class.

Declaration
public ImportStep(IImportCommand importer)
Parameters
Type Name Description
IImportCommand importer

The import command of which this step is a part.

Properties

CanMoveBack

Gets or sets a value indicating whether the user can move backward to the previous import step.

Declaration
public bool CanMoveBack { get; set; }
Property Value
Type Description
System.Boolean

Importer

Gets the IImportCommand of which this step is a part.

Declaration
public IImportCommand Importer { get; protected set; }
Property Value
Type Description
IImportCommand

IsValid

Gets or sets a value indicating whether the import process can proceed to the next step. This may be set to false until the user provides sufficient information to proceed, or if an error condition has occurred.

Declaration
public bool IsValid { get; set; }
Property Value
Type Description
System.Boolean

OptionsPage

Gets a WPF UserControl that will be shown in the wizard as part of this step. May be omitted if no page is required.

Declaration
public IImportOptionsPage OptionsPage { get; protected set; }
Property Value
Type Description
IImportOptionsPage

Skip

Gets a value indicating whether the step should be skipped.

Declaration
public bool Skip { get; set; }
Property Value
Type Description
System.Boolean

Title

Gets the title of the import step.

Declaration
public string Title { get; protected set; }
Property Value
Type Description
System.String

Methods

OnNextPage()

Called when the user advances to the next page.

Declaration
public virtual void OnNextPage()

PerformImport()

Performs the import.

Declaration
public virtual void PerformImport()
Remarks

This method is called on a background thread and must not interact with the user interface.

PostPerformImport()

Called after PerformImport on the user interface thread.

Declaration
public virtual void PostPerformImport()

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica