Click or drag to resize

ServerFileLocations Class

This class helps to centralize the location and name of files.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.SilverlightServerFileLocations

Namespace:  Atalasoft.Imaging.Silverlight
Assembly:  Atalasoft.dotImage.Silverlight.Web (in Atalasoft.dotImage.Silverlight.Web.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class ServerFileLocations

The ServerFileLocations type exposes the following members.

Properties
  NameDescription
Public propertyCacheFolder
Gets the cache folder name.
Public propertyError
Gets the error message or null (Nothing in VB) if there was no error locating the image cache.
Public propertyRelativeCacheFolder
Gets the relative path to the cache folder.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFileName
Returns the filename for the cached image with a ".png" extension.
Public methodGetFileNameWithoutExtension
Returns the server-side filename without an extension.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLocalFileName
Converts a relative filename into the full local path.
Public methodGetOriginalFileName
Returns the filename for the original image.
Public methodGetRelativeAntialiasedFileName
Returns the relative path to the antialiased file in the format "./cachefolder/filename.png".
Public methodGetRelativeAntialiasedFileNameWithoutExtension
Returns the relative path to the antialiased file without an extension in the format "./cachefolder/filename".
Public methodGetRelativeFileName
Returns the relative path to the file in the format "./cachefolder/filename.png".
Public methodGetRelativeFileNameWithoutExtension
Returns the relative path to the file without an extension in the format "./cachefolder/filename".
Public methodGetRelativeUniqueFileName
Get a relative path to a random filename in the format "./cachefolder/filename".
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUniqueFileName
Returns a unique filename without the path.
Public methodGetUrlFromResource
Gets the URL for the resource by appending the ResourcePath to the current page URL.
Public methodLocalFileNameToRelativeUrl
Converts a local server filename into a relative URL that can be sent back to the Silverlight client.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also