示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MethodAccessor"/> class.
 /// </summary>
 /// <param name="methodInfo">The method info.</param>
 public MethodAccessor(MethodInfo methodInfo)
 {
     _methodInfo      = methodInfo;
     _name            = methodInfo.Name;
     _lateBoundMethod = new Lazy <LateBoundMethod>(() => DelegateFactory.CreateMethod(_methodInfo));
 }