Skip to content
Interpreter for creating strings from usual data
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
application/Interpreter
.gitignore
LICENSE
README.md

README.md

Interpreter

GitHub license

Interpreter for creating strings from usual data

It supports the following configuration:

#env:<SomeEnvironemntVariable# - example : #env:Path#

#now:# - example:#now:yyyyMMddHHmmss#

#utcnow:# - example:#utcnow:yyyyMMddHHmmss#

#guid:Someformat# - example: #guid:n#

@static:<SomeClass.SomeStaticFunction>@ - example : @static:Environment.CurrentDirectory@

TwoSteps: @static:Path.GetPathRoot(#static:Directory.GetCurrentDirectory()#)@";

Reading from appsettings.json : #file:# - example #file:SqlServerConnectionString# - read from

{ "SqlServerConnectionString": "Server=(local)\SQL2016;Database=tempdb;Trusted_Connection=True;" }

For more examples please read http://msprogrammer.serviciipeweb.ro/2018/07/16/interpreterpart-1-of-n/

For the whole interpret , please read http://msprogrammer.serviciipeweb.ro/category/interpreter/

For where it is used, please see

"FolderName": "@static:Environment.CurrentDirectory@" from https://github.com/ignatandrei/AOP_With_Roslyn/blob/master/AOPRoslyn/processme.txt

Even if dotnet aop is running from dot net tools folder(.dotnet\tools.store\dotnet-aop) , it processes files from current directory

You can’t perform that action at this time.