mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 07:07:21 +00:00
Turned getter-like extension methods into extension properties (#1157)
This commit is contained in:
1 parent
0375318b1b
commit
f649febf88
286 files changed
+1379
-1109
No files matched your search
@@ -51,8 +51,8 @@ public sealed class ConfigurationSnippetParser
|
||||
var section = parser.ReadBracketedString();
|
||||
if (section != expectedSection)
|
||||
throw new FormatException(PluginConfigurationObjectDescriptors.TryGet(section, out var otherDescriptor)
|
||||
? string.Format(TB("The pasted configuration describes the type '{0}', but only the type '{1}' can be imported here."), otherDescriptor.Type.GetName(), type.GetName())
|
||||
: string.Format(TB("The pasted configuration does not describe the type '{0}', which can be imported here."), type.GetName()));
|
||||
? string.Format(TB("The pasted configuration describes the type '{0}', but only the type '{1}' can be imported here."), otherDescriptor.Type.Name, type.Name)
|
||||
: string.Format(TB("The pasted configuration does not describe the type '{0}', which can be imported here."), type.Name));
|
||||
|
||||
parser.Expect('[');
|
||||
parser.Expect('#');
|
||||
|
||||
Reference in new issue
Block a user