Exemple #1
0
 public EntityStyle <StyleLabel> Label()
 {
     if (label == null)
     {
         label = new EntityStyle <StyleLabel>();
     }
     return(label);
 }
Exemple #2
0
 public EntityStyle <AreaStyle> AreaStyle()
 {
     if (areaStyle == null)
     {
         areaStyle = new EntityStyle <AreaStyle>();
     }
     return(areaStyle);
 }
Exemple #3
0
 public EntityStyle <LineLabelStyle> Label()
 {
     if (label == null)
     {
         label = new EntityStyle <LineLabelStyle>();
     }
     return(label);
 }
Exemple #4
0
 public EntityStyle <LineStyle> LineStyle()
 {
     if (lineStyle == null)
     {
         lineStyle = new EntityStyle <LineStyle>();
     }
     return(lineStyle);
 }
 public override string ToString()
 {
     return($"Entity {EntityType.Name} is {EntityStyle.ToString().SplitPascalCase()} " + (EntityStyle == EntityStyles.Standard
                ? $"with {PropertiesWithPublicSetter?.Length ?? 0} settable properties"
                : $"with {PublicSetterMethods?.Length ?? 0} methods, {PublicCtors?.Length == 0} public ctors, and {PublicStaticCreatorMethods?.Length ?? 0} static class factories."));
 }