예제 #1
0
        public void CreateFailureMechanismSectionAssemblyGroupMapTheme_ReturnsMapTheme()
        {
            // Call
            MapTheme <LineCategoryTheme> mapTheme = MapThemeFactory.CreateFailureMechanismSectionAssemblyGroupMapTheme();

            // Assert
            MapThemeTestHelper.AssertFailureMechanismSectionAssemblyGroupMapTheme(mapTheme);
        }
 /// <summary>
 /// Creates a <see cref="MapLineData"/> with default styling for a combined section assembly.
 /// </summary>
 /// <returns>The created <see cref="MapLineData"/>.</returns>
 public static MapLineData CreateCombinedSectionAssemblyResultMapData()
 {
     return(new MapLineData(Resources.Worst_AssemblyResult_per_section_DisplayName,
                            new LineStyle
     {
         Width = 6,
         DashStyle = LineDashStyle.Solid
     },
                            MapThemeFactory.CreateFailureMechanismSectionAssemblyGroupMapTheme())
     {
         ShowLabels = true,
         SelectedMetaDataAttribute = RiskeerCommonFormsResources.AssemblyGroup_DisplayName
     });
 }