ActivEarth.Account.EditProfile.imageDirPath C# (CSharp) Méthode

imageDirPath() private méthode

Gets the absolute path to an user image directory on the server.
private imageDirPath ( string dirName ) : string
dirName string Name of the directory. Typically you can just use the name of an image size.
Résultat string
        private string imageDirPath(string dirName)
        {
            return String.Format("{0}\\Images\\Account\\UserProfile\\{1}\\", Server.MapPath("~"), dirName);
        }