Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TypeAccessor" /> class.
 /// </summary>
 /// <param name="type">The <see cref="Type" /> this accessor is for.</param>
 public TypeAccessor(Type type)
 {
     Type = type;
     _lateBoundConstructor = new Lazy <LateBoundConstructor>(() => DelegateFactory.CreateConstructor(Type));
 }