You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Obsolete("Use TranslatorKey instead. This property will be removed in a future version.")]
100
102
publicType?Translator{get;set;}
101
103
102
104
/// <summary>
103
-
/// Gets or sets the list of match expressions used for mapping or validation.
105
+
/// Gets or sets the service key used to resolve the <see cref="IFieldTranslator"/> service from the dependency injection container.
106
+
/// The service must be registered in the DI container with this key and implement <see cref="IFieldTranslator"/>.
104
107
/// </summary>
105
108
/// <value>
106
-
/// A list of string expressions for matching or validation.
109
+
/// The service key used to resolve the translator service from the dependency injection container.
110
+
/// </value>
111
+
[JsonPropertyName("translatorKey")]
112
+
publicstring?TranslatorKey{get;set;}
113
+
114
+
/// <summary>
115
+
/// Gets or sets the list of match or validation expressions associated with this field. These expressions can be used for mapping or validating field values during import.
116
+
/// </summary>
117
+
/// <value>
118
+
/// A list of string expressions for matching or validation purposes.
107
119
/// </value>
108
120
[JsonPropertyName("expressions")]
109
121
publicList<string>Expressions{get;set;}=[];
110
122
111
123
/// <summary>
112
-
/// Returns a string that represents the current <see cref="FieldDefinition"/> instance.
124
+
/// Returns a string that represents the current <see cref="FieldDefinition"/> instance, including display name, field name, and data type.
113
125
/// </summary>
114
126
/// <returns>
115
-
/// A <see cref="string"/> that contains the display name, field name, and data type.
127
+
/// A <see cref="string"/> containing the display name, field name, and data type of the field.
0 commit comments