Esempio n. 1
0
        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));
            }
        }
Esempio n. 2
0
 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 );
     }
 }