public CreatorInformation(EventHandler functionToLaunchCreator, 
     string iconPath, string description, 
     bool paidAddOnFlag = false, 
     UnlockFunction unlockFunction = null,
     PermissionFunction permissionFunction = null, 
     UnlockRegisterFunction unlockRegisterFunction = null)
 {
     this.functionToLaunchCreator = functionToLaunchCreator;
     this.iconPath = iconPath;
     this.description = description;
     this.paidAddOnFlag = paidAddOnFlag;
     this.unlockFunction = unlockFunction;
     this.permissionFunction = permissionFunction;
     this.unlockRegisterFunction = unlockRegisterFunction;
 }
 public CreatorInformation(EventHandler functionToLaunchCreator,
                           string iconPath, string description,
                           bool paidAddOnFlag                            = false,
                           UnlockFunction unlockFunction                 = null,
                           PermissionFunction permissionFunction         = null,
                           UnlockRegisterFunction unlockRegisterFunction = null)
 {
     this.functionToLaunchCreator = functionToLaunchCreator;
     this.iconPath               = iconPath;
     this.description            = description;
     this.paidAddOnFlag          = paidAddOnFlag;
     this.unlockFunction         = unlockFunction;
     this.permissionFunction     = permissionFunction;
     this.unlockRegisterFunction = unlockRegisterFunction;
 }
 public CreatorInformation(
     Action showFunction,
     string iconPath, string description,
     bool paidAddOnFlag                            = false,
     UnlockFunction unlockFunction                 = null,
     PermissionFunction permissionFunction         = null,
     UnlockRegisterFunction unlockRegisterFunction = null)
 {
     this.Show                   = showFunction;
     this.iconPath               = iconPath;
     this.description            = description;
     this.paidAddOnFlag          = paidAddOnFlag;
     this.unlockFunction         = unlockFunction;
     this.permissionFunction     = permissionFunction;
     this.unlockRegisterFunction = unlockRegisterFunction;
 }
 /// <summary>
 /// 删除单条数据
 /// </summary>
 /// <param name="obj"></param>
 /// <returns></returns>
 public int Delete(PermissionFunction obj)
 {
     return(dal.Delete(obj));
 }
 /// <summary>
 /// 更新单条数据
 /// </summary>
 /// <param name="obj"></param>
 /// <returns></returns>
 public int Update(PermissionFunction obj)
 {
     return(dal.Update(obj));
 }
 /// <summary>
 /// 添加单条数据
 /// </summary>
 /// <param name="obj"></param>
 /// <returns></returns>
 public int Add(PermissionFunction obj)
 {
     return(dal.Add(obj));
 }