Example #1
0
 /// <summary>
 /// Creates a new instance of the control proxy this class manages.
 /// </summary>
 /// <returns>The new instance.</returns>
 internal virtual object Create()
 {
     if (ProxyCtor == null)
     {
         ProxyCtor = Framework.CreateProxy(this).GetTypeInfo().GetConstructor(new [] {
             typeof(ControlManager)
         });
     }
     return(ProxyCtor.Invoke(new [] {
         this
     }));
 }