Ejemplo n.º 1
0
 public Spark(dynamic model)
 {
     _callingMethod =
         StackTracer.GetPreviousMethodName(GetType().GetConstructors().Where(ci => ci.GetParameters().Count() == 1).First());
     _model = model;
 }
Ejemplo n.º 2
0
 public Spark()
 {
     _callingMethod = StackTracer.GetPreviousMethodName(GetType().GetConstructor(Type.EmptyTypes));
 }