C# Class JustPressPlay.Utilities.JPPDirectory

Show file Open project: RIT-MAGIC/JustPressPlay

Public Methods

Method Description
CheckAndCreateAchievementAndQuestDirectory ( System.Web.HttpServerUtilityBase serverUtilityBase ) : void
CheckAndCreateNewsDirectory ( System.Web.HttpServerUtilityBase serverUtilityBase ) : void
CheckAndCreateSiteContentDirectory ( System.Web.HttpServerUtilityBase serverUtilityBase ) : void
CheckAndCreateUserDirectory ( int userID, System.Web.HttpServerUtilityBase serverUtilityBase ) : void
CreateFilePath ( ImageTypes imageType, int userID = null ) : string

Create the file path that uploaded images will be saved to.

Method Details

CheckAndCreateAchievementAndQuestDirectory() public static method

public static CheckAndCreateAchievementAndQuestDirectory ( System.Web.HttpServerUtilityBase serverUtilityBase ) : void
serverUtilityBase System.Web.HttpServerUtilityBase
return void

CheckAndCreateNewsDirectory() public static method

public static CheckAndCreateNewsDirectory ( System.Web.HttpServerUtilityBase serverUtilityBase ) : void
serverUtilityBase System.Web.HttpServerUtilityBase
return void

CheckAndCreateSiteContentDirectory() public static method

public static CheckAndCreateSiteContentDirectory ( System.Web.HttpServerUtilityBase serverUtilityBase ) : void
serverUtilityBase System.Web.HttpServerUtilityBase
return void

CheckAndCreateUserDirectory() public static method

public static CheckAndCreateUserDirectory ( int userID, System.Web.HttpServerUtilityBase serverUtilityBase ) : void
userID int
serverUtilityBase System.Web.HttpServerUtilityBase
return void

CreateFilePath() public static method

Create the file path that uploaded images will be saved to.
public static CreateFilePath ( ImageTypes imageType, int userID = null ) : string
imageType ImageTypes
userID int
return string