public void SetUp() { using (var plugin = new RiskeerPlugin()) { info = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(FailureMechanismSectionsView)); } }
public void SetUp() { mocks = new MockRepository(); plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First( tni => tni.ViewType == typeof(StandAloneFailureMechanismView <GrassCoverSlipOffInwardsFailureMechanism, NonAdoptableWithProfileProbabilityFailureMechanismSectionResult>)); }
public void SetUp() { mocks = new MockRepository(); plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First( tni => tni.ViewType == typeof(StandAloneFailureMechanismView <PipingStructureFailureMechanism, NonAdoptableFailureMechanismSectionResult>)); }
protected override bool ShouldCloseMethod(IView view, object o) { using (var plugin = new RiskeerPlugin()) { return(plugin.GetViewInfos() .First(tni => tni.ViewType == typeof(GeneralResultFaultTreeIllustrationPointView)) .CloseForData(view, o)); } }
public void SetUp() { plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(GeneralResultFaultTreeIllustrationPointView)); }
public void SetUp() { mocks = new MockRepository(); plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(NonAdoptableWithProfileProbabilityFailureMechanismResultView <MicrostabilityFailureMechanism>)); }
private static ViewInfo GetViewInfo(RiskeerPlugin plugin) { return(plugin.GetViewInfos().First(tni => tni.DataType == typeof(WaterLevelCalculationsForUserDefinedTargetProbabilityContext))); }
public void SetUp() { plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(AssemblyResultPerSectionView)); }
public void SetUp() { mocks = new MockRepository(); plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(SpecificFailureMechanismView)); }
public void SetUp() { plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First(tni => tni.DataType == typeof(RegistrationStateRootContext)); }
public void SetUp() { plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(AssessmentSectionAssemblyGroupsView)); }
public void SetUp() { plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First(tni => tni.DataType == typeof(HydraulicLoadsStateRootContext)); }
public void SetUp() { mocks = new MockRepository(); plugin = new RiskeerPlugin(); info = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(CommentView)); }