Showing the changes to Source/Libraries/GSF.Core/Configuration/ConnectionStringParser.cs (1 of 10 files). Show all
Unified · Split
| @@ -121,7 +121,7 @@ namespace GSF.Configuration · 120 unmodified lines | ||
| 121 | 121 | { |
| 122 | 122 | if ((object)defaultValueAttribute == null) |
| 123 | 123 | { |
| 124 | − DefaultValueExpressionParser parser = new DefaultValueExpressionParser(defaultValueExpressionAttribute.Expression); | |
| 124 | + ValueExpressionParser parser = new ValueExpressionParser(defaultValueExpressionAttribute.Expression); | |
| 125 | 125 | |
| 126 | 126 | if ((object)typeRegistry != null) |
| 127 | 127 | parser.TypeRegistry = typeRegistry; |
| @@ -597,7 +597,7 @@ namespace GSF.Configuration · 469 unmodified lines | ||
| 597 | 597 | /// <remarks> |
| 598 | 598 | /// Accessing this property will create a unique type registry for the current attribute type |
| 599 | 599 | /// <typeparamref name="TParameterAttribute"/> which will initially contain the values found in |
| 600 | − /// the <see cref="DefaultValueExpressionParser.DefaultTypeRegistry"/> and can be augmented with | |
| 600 | + /// the <see cref="ValueExpressionParser.DefaultTypeRegistry"/> and can be augmented with | |
| 601 | 601 | /// custom types. Set to <c>null</c> to restore use of the default type registry. |
| 602 | 602 | /// </remarks> |
| 603 | 603 | [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| @@ -609,7 +609,7 @@ namespace GSF.Configuration · 5 unmodified lines | ||
| 609 | 609 | { |
| 610 | 610 | s_typeRegistry = new TypeRegistry(); |
| 611 | 611 | |
| 612 | − foreach (KeyValuePair<string, object> item in DefaultValueExpressionParser.DefaultTypeRegistry) | |
| 612 | + foreach (KeyValuePair<string, object> item in ValueExpressionParser.DefaultTypeRegistry) | |
| 613 | 613 | s_typeRegistry.Add(item.Key, item.Value); |
| 614 | 614 | } |
| 615 | 615 | |