Skip to content

Commit 1ae6fee

Browse files
author
Joanna May
committed
refactor: rename introspection property type
1 parent f3daf90 commit 1ae6fee

22 files changed

+39
-39
lines changed

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/BaseClasses_A_BaseClass.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
2626
HasDefaultValue: false,
2727
Getter: static (object obj) => ((BaseClass)obj).Name,
2828
Setter: null,
29-
GenericType: new Chickensoft.Introspection.TypeNode(
29+
TypeNode: new Chickensoft.Introspection.TypeNode(
3030
OpenType: typeof(string),
3131
ClosedType: typeof(string),
3232
IsNullable: false,

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/TestCases_SetOnlyPropertyE303C8557E.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
2424
HasDefaultValue: false,
2525
Getter: null,
2626
Setter: static (object obj, object? value) => ((SetOnlyProperty)obj).Value = (string)value!,
27-
GenericType: new Chickensoft.Introspection.TypeNode(
27+
TypeNode: new Chickensoft.Introspection.TypeNode(
2828
OpenType: typeof(string),
2929
ClosedType: typeof(string),
3030
IsNullable: false,

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/Tests_TestCases_BaseModel6634CD33B5.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
2727
HasDefaultValue: true,
2828
Getter: static (object obj) => ((BaseModel)obj).Name,
2929
Setter: static (object obj, object? value) => ((BaseModel)obj).Name = (string)value!,
30-
GenericType: new Chickensoft.Introspection.TypeNode(
30+
TypeNode: new Chickensoft.Introspection.TypeNode(
3131
OpenType: typeof(string),
3232
ClosedType: typeof(string),
3333
IsNullable: false,

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/TypeRegistry.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ public partial class TypeRegistry : Chickensoft.Introspection.ITypeRegistry {
2727
[typeof(Chickensoft.Introspection.Generator.Tests.Models.DeclaredPropertyTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("DeclaredPropertyTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.DeclaredPropertyTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.DeclaredPropertyTest>()),
2828
[typeof(Chickensoft.Introspection.Generator.Tests.Models.DeclaredTypeRegistryTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("DeclaredTypeRegistryTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.DeclaredTypeRegistryTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.DeclaredTypeRegistryTest>()),
2929
[typeof(Chickensoft.Introspection.Generator.Tests.Models.DeclaredTypeTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("DeclaredTypeTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.DeclaredTypeTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.DeclaredTypeTest>()),
30-
[typeof(Chickensoft.Introspection.Generator.Tests.Models.GenericTypeNodeTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("GenericTypeNodeTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.GenericTypeNodeTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.GenericTypeNodeTest>()),
3130
[typeof(Chickensoft.Introspection.Generator.Tests.Models.ScopeTreeTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("ScopeTreeTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.ScopeTreeTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.ScopeTreeTest>()),
3231
[typeof(Chickensoft.Introspection.Generator.Tests.Models.TypeGeneratorTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("TypeGeneratorTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.TypeGeneratorTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.TypeGeneratorTest>()),
3332
[typeof(Chickensoft.Introspection.Generator.Tests.Models.TypeLocationTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("TypeLocationTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.TypeLocationTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.TypeLocationTest>()),
33+
[typeof(Chickensoft.Introspection.Generator.Tests.Models.TypeNodeTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("TypeNodeTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.TypeNodeTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.TypeNodeTest>()),
3434
[typeof(Chickensoft.Introspection.Generator.Tests.Models.TypeReferenceTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("TypeReferenceTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.TypeReferenceTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.TypeReferenceTest>()),
3535
[typeof(Chickensoft.Introspection.Generator.Tests.Models.UsingDirectiveTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("UsingDirectiveTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.Models.UsingDirectiveTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.Models.UsingDirectiveTest>()),
3636
[typeof(Chickensoft.Introspection.Generator.Tests.NameOfIdTest)] = new Chickensoft.Introspection.ConcreteTypeMetadata("NameOfIdTest", static (r) => r.Receive<Chickensoft.Introspection.Generator.Tests.NameOfIdTest>(), static () => System.Activator.CreateInstance<Chickensoft.Introspection.Generator.Tests.NameOfIdTest>()),

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/_MyContainerClass_MyModel67E837FC39.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
2828
HasDefaultValue: true,
2929
Getter: static (object obj) => ((MyModel)obj).Age,
3030
Setter: static (object obj, object? value) => ((MyModel)obj).Age = (int?)value,
31-
GenericType: new Chickensoft.Introspection.TypeNode(
31+
TypeNode: new Chickensoft.Introspection.TypeNode(
3232
OpenType: typeof(int),
3333
ClosedType: typeof(int),
3434
IsNullable: true,
@@ -49,7 +49,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
4949
HasDefaultValue: true,
5050
Getter: static (object obj) => ((MyModel)obj).Name,
5151
Setter: static (object obj, object? value) => ((MyModel)obj).Name = (string)value!,
52-
GenericType: new Chickensoft.Introspection.TypeNode(
52+
TypeNode: new Chickensoft.Introspection.TypeNode(
5353
OpenType: typeof(string),
5454
ClosedType: typeof(string),
5555
IsNullable: false,

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/er2_DeeplyNestedBaseClassAC795ED913.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
2828
HasDefaultValue: false,
2929
Getter: static (object obj) => ((DeeplyNestedBaseClass)obj).DeepName,
3030
Setter: null,
31-
GenericType: new Chickensoft.Introspection.TypeNode(
31+
TypeNode: new Chickensoft.Introspection.TypeNode(
3232
OpenType: typeof(string),
3333
ClosedType: typeof(string),
3434
IsNullable: false,

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/her_A_B_C_D_SomeBaseClassECA01F390E.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
3030
HasDefaultValue: false,
3131
Getter: static (object obj) => ((SomeBaseClass)obj).Identifier,
3232
Setter: null,
33-
GenericType: new Chickensoft.Introspection.TypeNode(
33+
TypeNode: new Chickensoft.Introspection.TypeNode(
3434
OpenType: typeof(string),
3535
ClosedType: typeof(string),
3636
IsNullable: false,

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/or_Tests_TestCases_MyType1CDCCD6086.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
3131
HasDefaultValue: true,
3232
Getter: static (object obj) => ((MyType)obj).MyProperty,
3333
Setter: static (object obj, object? value) => ((MyType)obj).MyProperty = (string)value!,
34-
GenericType: new Chickensoft.Introspection.TypeNode(
34+
TypeNode: new Chickensoft.Introspection.TypeNode(
3535
OpenType: typeof(string),
3636
ClosedType: typeof(string),
3737
IsNullable: false,
@@ -56,7 +56,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
5656
HasDefaultValue: true,
5757
Getter: static (object obj) => ((MyType)obj).NoAttributeSoNoMetadata,
5858
Setter: null,
59-
GenericType: new Chickensoft.Introspection.TypeNode(
59+
TypeNode: new Chickensoft.Introspection.TypeNode(
6060
OpenType: typeof(int),
6161
ClosedType: typeof(int),
6262
IsNullable: false,
@@ -74,7 +74,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
7474
HasDefaultValue: true,
7575
Getter: static (object obj) => ((MyType)obj).OptionalFloat,
7676
Setter: static (object obj, object? value) => ((MyType)obj).OptionalFloat = (float?)value,
77-
GenericType: new Chickensoft.Introspection.TypeNode(
77+
TypeNode: new Chickensoft.Introspection.TypeNode(
7878
OpenType: typeof(float),
7979
ClosedType: typeof(float),
8080
IsNullable: true,
@@ -95,7 +95,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
9595
HasDefaultValue: true,
9696
Getter: static (object obj) => ((MyType)obj).OptionalInt,
9797
Setter: static (object obj, object? value) => ((MyType)obj).OptionalInt = (int?)value,
98-
GenericType: new Chickensoft.Introspection.TypeNode(
98+
TypeNode: new Chickensoft.Introspection.TypeNode(
9999
OpenType: typeof(int),
100100
ClosedType: typeof(int),
101101
IsNullable: true,

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/s_AttributesWithNamedArgs21E465F742.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
2727
HasDefaultValue: false,
2828
Getter: static (object obj) => ((AttributesWithNamedArgs)obj).Name,
2929
Setter: null,
30-
GenericType: new Chickensoft.Introspection.TypeNode(
30+
TypeNode: new Chickensoft.Introspection.TypeNode(
3131
OpenType: typeof(string),
3232
ClosedType: typeof(string),
3333
IsNullable: false,

Chickensoft.Introspection.Generator.Tests/.generated/Chickensoft.Introspection.Generator/Chickensoft.Introspection.Generator.TypeGenerator/s_TestCases_InitArgsModel651DDFA4A7.g.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
2727
HasDefaultValue: false,
2828
Getter: static (object obj) => ((InitArgsModel)obj).Address,
2929
Setter: static (object obj, object? value) => ((InitArgsModel)obj).Address = (string?)value,
30-
GenericType: new Chickensoft.Introspection.TypeNode(
30+
TypeNode: new Chickensoft.Introspection.TypeNode(
3131
OpenType: typeof(string),
3232
ClosedType: typeof(string),
3333
IsNullable: true,
@@ -48,7 +48,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
4848
HasDefaultValue: false,
4949
Getter: static (object obj) => ((InitArgsModel)obj).Age,
5050
Setter: null,
51-
GenericType: new Chickensoft.Introspection.TypeNode(
51+
TypeNode: new Chickensoft.Introspection.TypeNode(
5252
OpenType: typeof(int),
5353
ClosedType: typeof(int),
5454
IsNullable: false,
@@ -69,7 +69,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
6969
HasDefaultValue: false,
7070
Getter: static (object obj) => ((InitArgsModel)obj).Description,
7171
Setter: null,
72-
GenericType: new Chickensoft.Introspection.TypeNode(
72+
TypeNode: new Chickensoft.Introspection.TypeNode(
7373
OpenType: typeof(string),
7474
ClosedType: typeof(string),
7575
IsNullable: true,
@@ -90,7 +90,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
9090
HasDefaultValue: true,
9191
Getter: static (object obj) => ((InitArgsModel)obj).HasAttended,
9292
Setter: null,
93-
GenericType: new Chickensoft.Introspection.TypeNode(
93+
TypeNode: new Chickensoft.Introspection.TypeNode(
9494
OpenType: typeof(InitArgsEnum),
9595
ClosedType: typeof(InitArgsEnum),
9696
IsNullable: false,
@@ -111,7 +111,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
111111
HasDefaultValue: true,
112112
Getter: static (object obj) => ((InitArgsModel)obj).IsAttending,
113113
Setter: static (object obj, object? value) => ((InitArgsModel)obj).IsAttending = (InitArgsEnum)value!,
114-
GenericType: new Chickensoft.Introspection.TypeNode(
114+
TypeNode: new Chickensoft.Introspection.TypeNode(
115115
OpenType: typeof(InitArgsEnum),
116116
ClosedType: typeof(InitArgsEnum),
117117
IsNullable: false,
@@ -132,7 +132,7 @@ public class MetatypeMetadata : Chickensoft.Introspection.IMetatype {
132132
HasDefaultValue: false,
133133
Getter: static (object obj) => ((InitArgsModel)obj).Name,
134134
Setter: null,
135-
GenericType: new Chickensoft.Introspection.TypeNode(
135+
TypeNode: new Chickensoft.Introspection.TypeNode(
136136
OpenType: typeof(string),
137137
ClosedType: typeof(string),
138138
IsNullable: false,

0 commit comments

Comments
 (0)