메소드 | 설명 | |
---|---|---|
BindWidgetModel ( ICoreWidgetInstance instance, ICorePrincipal user ) : ProfileWidgetViewModel | ||
SaveUser ( ProfileWidgetViewModel model, System.Web.Mvc.FormCollection collection, |
Registers the user.
|
|
SaveWidget ( ProfileWidgetEditModel model ) : ProfileWidgetEditModel |
Saves the widget.
|
|
Validate ( System.Web.Mvc.FormCollection collection, ModelStateDictionary modelState, |
Validates the user profile.
|
public static BindWidgetModel ( ICoreWidgetInstance instance, ICorePrincipal user ) : ProfileWidgetViewModel | ||
instance | ICoreWidgetInstance | |
user | ICorePrincipal | |
리턴 | ProfileWidgetViewModel |
public static SaveUser ( ProfileWidgetViewModel model, System.Web.Mvc.FormCollection collection, |
||
model | ProfileWidgetViewModel | The model. |
collection | System.Web.Mvc.FormCollection | The collection. |
userProfile | The user profile. | |
currentUser | ICorePrincipal | The current user. |
widget | The widget. | |
user | The user. | |
리턴 | bool |
public static SaveWidget ( ProfileWidgetEditModel model ) : ProfileWidgetEditModel | ||
model | ProfileWidgetEditModel | The model. |
리턴 | ProfileWidgetEditModel |
public static Validate ( System.Web.Mvc.FormCollection collection, ModelStateDictionary modelState, |
||
collection | System.Web.Mvc.FormCollection | The collection. |
modelState | ModelStateDictionary | State of the model. |
userProfile | The user profile. | |
리턴 | void |