Run Code
|
API
|
Code Wall
|
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
gfrsdfdfvgh
sulu
scasdxcd
1
dxlfkgjdlkgj
Delegates
asxsdxsd
p link gener tor
dfdfdff
prime