Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Scheduler NLog config
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { private static readonly Regex configValueExtrator = new Regex(@"NServiceBus\.Agresso\.Endpoint\.Sagas\.([^\.]+)\.(.+)"); private static readonly string config = "NServiceBus.Agresso.Endpoint.Sagas.Order.OrderInvoicingSaga"; public static void Main(string[] args) { var sagaName = configValueExtrator.Replace(config, "$2"); Console.WriteLine("Saganame: {0}", sagaName); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
z
My First Hello world
1
C++ lesson
Switch
blanaced parenthes
EMV_RESULTAT
Customised Code Dashboard
array integration
Accessit SalaryCalculation
Please log in to post a comment.