Exemplo n.º 1
0
 public static string GetPropertyName <TProjectSettings>(this CSharpProject <TProjectSettings> project, IView view, IColumn column) where TProjectSettings : class, IProjectSettings, new()
 => view.Name == column.Name ? string.Format("{0}1", project.GetPropertyName(column.Name)) : project.GetPropertyName(column.Name);
Exemplo n.º 2
0
 public static string GetPropertyName <TProjectSettings>(this CSharpProject <TProjectSettings> project, Parameter parameter) where TProjectSettings : class, IProjectSettings, new()
 => project.GetPropertyName(parameter.Name);
Exemplo n.º 3
0
 public static string GetPropertyName <TProjectSettings>(this CSharpProject <TProjectSettings> project, IView view,
                                                         Column column) where TProjectSettings : class, IProjectSettings, new()
 => view.Name == column.Name
         ? $"{project.GetPropertyName(column.Name)}1"
 : project.GetPropertyName(column.Name);