public static string GetResourcePath(ReportBuilderFolder rbFolder, string resourceName) { switch (rbFolder) { case ReportBuilderFolder.Resources: return(GetResourcePath(RESOURCES_FOLDER, resourceName)); case ReportBuilderFolder.Rules: return(GetResourcePath(RULES_FOLDER, resourceName)); case ReportBuilderFolder.Taxonomy_DocAndRed: return(GetResourcePath(TAXONOMY_FOLDER, resourceName)); default: return(GetResourcePath(string.Empty, resourceName)); } }
public static string GetResourcePath( ReportBuilderFolder rbFolder, string resourceName ) { switch( rbFolder ) { case ReportBuilderFolder.Resources: return GetResourcePath( RESOURCES_FOLDER, resourceName ); case ReportBuilderFolder.Rules: return GetResourcePath( RULES_FOLDER, resourceName ); case ReportBuilderFolder.Taxonomy_DocAndRed: return GetResourcePath( TAXONOMY_FOLDER, resourceName ); default: return GetResourcePath( string.Empty, resourceName ); } }