Skip to content

Commit

Permalink
prefix abstract classes (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvreony authored Oct 28, 2024
1 parent 4bc844f commit accd73f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

/// <inheritdoc />
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit accd73f

Please sign in to comment.