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