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

Update Commands preview wiki page #85

Open
de-odex opened this issue Aug 19, 2019 · 3 comments
Open

Update Commands preview wiki page #85

de-odex opened this issue Aug 19, 2019 · 3 comments
Labels

Comments

@de-odex
Copy link

de-odex commented Aug 19, 2019

... with formatting options for each token

edit: ???

@Piotrekol
Copy link
Owner

it is c# string formatter with optional custom "Eval:" directive that allows for simple math.

wiki is currently both outdated and straight missing pages for several SC features.

For next month or so I plan on suspending any sort of new feature additions(besides bugfixes) and focus on wiki and code refactoring.

@de-odex
Copy link
Author

de-odex commented Aug 20, 2019

(wouldn't the Eval: directive allow for code injection? I feel like it's unsafe) disregard, missed the Evaluate function you made just for this
more issues with the Eval: directive would be what if I wanted to format the token again after?

@Piotrekol
Copy link
Owner

wouldn't the Eval: directive allow for code injection? I feel like it's unsafe

it's not https://docs.microsoft.com/en-us/dotnet/api/system.data.datacolumn.expression?view=netframework-4.8

I wanted to format the token again after?

You can't. use output patterns for that.

@Piotrekol Piotrekol added the docs label Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants