From accd73f243c34d577dc08f123fe23a339232d247 Mon Sep 17 00:00:00 2001 From: David Vreony Date: Mon, 28 Oct 2024 21:06:43 +0000 Subject: [PATCH] prefix abstract classes (#457) --- .../ControlBoundControlBindingModelClassGenerator.cs | 2 +- .../GenericControlBindingModelClassGenerator.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Vetuviem.SourceGenerator/Features/ControlBindingModels/ControlBoundControlBindingModelClassGenerator.cs b/src/Vetuviem.SourceGenerator/Features/ControlBindingModels/ControlBoundControlBindingModelClassGenerator.cs index de28a71..11139ee 100644 --- a/src/Vetuviem.SourceGenerator/Features/ControlBindingModels/ControlBoundControlBindingModelClassGenerator.cs +++ b/src/Vetuviem.SourceGenerator/Features/ControlBindingModels/ControlBoundControlBindingModelClassGenerator.cs @@ -112,7 +112,7 @@ protected override ClassDeclarationSyntax ApplyBaseClassDeclarationSyntax( .Replace("global::", string.Empty); var baseViewBindingModelClassName = - $"global::{rootNamespace}.{subNameSpace}.Unbound{namedTypeSymbol.Name}ControlBindingModel"; + $"global::{rootNamespace}.{subNameSpace}.AbstractUnbound{namedTypeSymbol.Name}ControlBindingModel"; var baseTypeIdentifier = SyntaxFactory.Identifier(baseViewBindingModelClassName); diff --git a/src/Vetuviem.SourceGenerator/Features/ControlBindingModels/GenericControlBindingModelClassGenerator.cs b/src/Vetuviem.SourceGenerator/Features/ControlBindingModels/GenericControlBindingModelClassGenerator.cs index 186f804..b69a61e 100644 --- a/src/Vetuviem.SourceGenerator/Features/ControlBindingModels/GenericControlBindingModelClassGenerator.cs +++ b/src/Vetuviem.SourceGenerator/Features/ControlBindingModels/GenericControlBindingModelClassGenerator.cs @@ -69,7 +69,7 @@ protected override string GetClassNameIdentifier(INamedTypeSymbol namedTypeSymbo throw new ArgumentNullException(nameof(namedTypeSymbol)); } - return $"Unbound{namedTypeSymbol.Name}ControlBindingModel"; + return $"AbstractUnbound{namedTypeSymbol.Name}ControlBindingModel"; } /// @@ -171,7 +171,7 @@ protected override ClassDeclarationSyntax ApplyBaseClassDeclarationSyntax( .Replace("global::", string.Empty); var baseViewBindingModelClassName = - $"global::{rootNamespace}.{subNameSpace}.Unbound{baseClass.Name}ControlBindingModel"; + $"global::{rootNamespace}.{subNameSpace}.AbstractUnbound{baseClass.Name}ControlBindingModel"; var baseTypeIdentifier = SyntaxFactory.Identifier(baseViewBindingModelClassName);