Method | Description | |
---|---|---|
AllowUploadSpecialFilesOnlyAttribute ( string extensionsWhiteList, bool justImage ) : System | ||
IsImageFile ( System.Web.HttpPostedFileBase photoFile ) : bool | ||
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void |
Method | Description | |
---|---|---|
CanUpload ( string fileName ) : bool |
public AllowUploadSpecialFilesOnlyAttribute ( string extensionsWhiteList, bool justImage ) : System | ||
extensionsWhiteList | string | |
justImage | bool | |
return | System |
public static IsImageFile ( System.Web.HttpPostedFileBase photoFile ) : bool | ||
photoFile | System.Web.HttpPostedFileBase | |
return | bool |
public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void | ||
filterContext | System.Web.Mvc.ActionExecutingContext | |
return | void |