Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name Analyzer

Version License

Namespace based type name matching to given pattern analyzer

Sample

Getting Started

For example project click here

  • Add package: dotnet add package NameAnalyzer
  • Create a .nameanalyzer file near to .csproj file
  • Add semicolon separated rules to .nameanalyzer file
    • First path: Namespace regex
    • Second path: Type name regex
  • Add following to .csproj file inside <Project></Project> node
  <ItemGroup>
    <AdditionalFiles Include="$(MSBuildProjectDirectory)\.nameanalyzer" />
  </ItemGroup>

Note: .nameanalyzer file name is required but location is not required

About

Namespace based type name matching to given pattern analyzer name-analyzer

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages