using System.Reflection; namespace Tapeti.Flow.FlowHelpers { /// /// Converts a method into a unique string representation. /// public static class MethodSerializer { /// /// Converts a method into a unique string representation. /// /// public static string Serialize(MethodInfo method) { return method.Name + '@' + method.DeclaringType?.Assembly.GetName().Name + ':' + method.DeclaringType?.FullName; } } }