Example #1
0
 public void SetUp()
 {
     using (var plugin = new RiskeerPlugin())
     {
         info = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(FailureMechanismSectionsView));
     }
 }
Example #2
0
 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>));
 }
Example #7
0
 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));
 }
Example #9
0
 public void SetUp()
 {
     mocks  = new MockRepository();
     plugin = new RiskeerPlugin();
     info   = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(SpecificFailureMechanismView));
 }
Example #10
0
 public void SetUp()
 {
     plugin = new RiskeerPlugin();
     info   = plugin.GetViewInfos().First(tni => tni.DataType == typeof(RegistrationStateRootContext));
 }
Example #11
0
 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));
 }
Example #13
0
 public void SetUp()
 {
     mocks  = new MockRepository();
     plugin = new RiskeerPlugin();
     info   = plugin.GetViewInfos().First(tni => tni.ViewType == typeof(CommentView));
 }