Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Saga name NLog
//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.
Test
a.i. neural framework / J.A.R.V.I.S. / Just A Rather Very Intelligent System
Problem 5 SingleDigit
Main 5.5
Collections
Math 5.81
Program to implement RamaKrishna
Comparing hashing with different encoding and also transferring bytes
Multi-Dimensional Array
Plt-D v.0.9.1
stackse - search stackoverflow differently
Please log in to post a comment.