Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom methods not triggered when having File as a parameter #325

Open
adamsosinski opened this issue Jan 23, 2020 · 0 comments
Open

Custom methods not triggered when having File as a parameter #325

adamsosinski opened this issue Jan 23, 2020 · 0 comments

Comments

@adamsosinski
Copy link

I'm using a .Net Standard 2.0 Class Library where I have a .tst template for generating .ts files based on classes with DTOClass attribute. I have created a method that has a File as a parameter, yet it is not triggered and just rendered as-is. Please find the below example.

template

${
/// ...
    string PrintDebug(File f){
        return f.FullName;
    }
/// ...
}
$PrintDebug

produce

$PrintDebug

Is there some configuration that I'm missing or something else is the issue?
I will appreciate any help on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant