public ModuleFeatureStep( string name, string title, short sort, ModuleFeatureStepType type ) { Name = name; Title = title; Sort = sort; Type = type; }
/// <summary> /// Moves to the specified step within this feature. /// </summary> /// <param name="type"></param> /// <returns>true if the move was completed; otherwise, false.</returns> public bool MoveToStep(ModuleFeatureStepType type) { bool completed = false; var matchingStep = Steps.Where(item => item.TypeId == type).FirstOrDefault(); if (matchingStep != null) { SelectedStep = matchingStep; completed = true; } return(completed); }
public ModuleFeatureStep( string name, string title, short sort, ModuleFeatureStepType type, List <ModuleFeatureStepError> errors ) { Name = name; Title = title; Sort = sort; Type = type; Errors = errors; }
public ModuleFeature( string name, string title, short sort, ModuleFeatureType type, ModuleFeatureStepType landingStepType, ModuleFeatureStepType actionStepType ) { Name = name; Title = title; Sort = sort; Type = type; LandingStepType = landingStepType; ActionStepType = actionStepType; }
public ModuleFeatureStep( string name, string title, short sort, ModuleFeatureStepType type, List <ModuleFeatureStepAction> actions, List <ModuleFeatureStepAdvisor> advisors ) { Name = name; Title = title; Sort = sort; Type = type; Actions = actions; Advisors = advisors; }
public ModuleFeature( string name, string title, short sort, ModuleFeatureType type, ModuleFeatureStepType landingStepType, ModuleFeatureStepType actionStepType, List <ModuleFeatureStep> steps, List <FeatureSearchGroup> searchGroups ) { Name = name; Title = title; Sort = sort; Type = type; LandingStepType = landingStepType; ActionStepType = actionStepType; Steps = steps; SearchGroups = searchGroups; }