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