mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02: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
@@ -2,7 +2,7 @@ namespace AIStudio.Tools.PluginSystem;
|
||||
|
||||
public readonly record struct InternalPluginData(PluginType Type, Guid Id, string ShortName)
|
||||
{
|
||||
public string ResourcePath => $"{this.Type.GetDirectory()}/{this.ShortName.ToLowerInvariant()}-{this.Id}";
|
||||
public string ResourcePath => $"{this.Type.Directory}/{this.ShortName.ToLowerInvariant()}-{this.Id}";
|
||||
|
||||
public string ResourceName => $"{this.ShortName.ToLowerInvariant()}-{this.Id}";
|
||||
}
|
||||
Reference in new issue
Block a user