c# - What exactly is a .base.cs file extension -
what .base.cs file extension? how different regular .cs class file? , how used differently? used code generation tool, , generated, , project builds, i'm not sure made .base.cs , not .cs - classes partial classes, not sure if clue.
it's extension used code generation tool ensure name of generated file doesn't conflict existing file in project. since generated classes partial
create own code file same name (minus .base
) extend them. example:
myclass.base.cs // classes created code generator myclass.cs // custom extensions generated classes
it compile other code file.
Comments
Post a Comment