예제 #1
0
 private static string GetLocation(ResourceViewInfo resource, string rootNamespace)
 {
     return(resource.FullName
            .Replace(rootNamespace, string.Empty)
            .Replace(resource.Name, string.Empty)
            .Trim('.')
            .Replace(".", "/"));
 }
 private static string GetLocation(ResourceViewInfo resource, string rootNamespace)
 {
     return resource.FullName
         .Replace(rootNamespace, string.Empty)
         .Replace(resource.Name, string.Empty)
         .Trim('.')
         .Replace(".", "/");
 }