Beispiel #1
0
 /// <summary>
 /// Returns the embedded view path for the model specified or an empty string if the embedded view attribute was not found
 /// </summary>
 /// <param name="a"></param>
 /// <returns></returns>
 public static string GetEmbeddedViewPath(EmbeddedViewAttribute a)
 {
     return a == null ? string.Empty : EmbeddedViewPath.Create(string.Concat(a.CompiledViewName, ",", a.AssemblyName));
 }
Beispiel #2
0
 /// <summary>
 /// Returns the embedded view path for the model specified or an empty string if the embedded view attribute was not found
 /// </summary>
 /// <param name="a"></param>
 /// <returns></returns>
 public static string GetEmbeddedViewPath(EmbeddedViewAttribute a)
 {
     return(a == null ? string.Empty : EmbeddedViewPath.Create(string.Concat(a.CompiledViewName, ",", a.AssemblyName)));
 }