예제 #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);
예제 #2
0
 public static string GetPropertyName <TProjectSettings>(this CSharpProject <TProjectSettings> project, Parameter parameter) where TProjectSettings : class, IProjectSettings, new()
 => project.GetPropertyName(parameter.Name);
예제 #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);