ImageResizer
3.4.0
|
Represents a file to resize/re-encode, the resize/encoding settings More...
Public Member Functions | |
BatchResizeItem (string physicalPath, string targetFilename, string resizeQuerystring) | |
Represents a file to resize/re-encode, the resize/encoding settings More... | |
BatchResizeItem | Copy () |
Copies the class, useful for preventing threading issues. Lightweight, only 4 pointers plus class instance. More... | |
void | SetImmutable () |
Blocks any future changes to the instance, throwing an InvalidOperationException. More... | |
override string | ToString () |
Protected Member Functions | |
void | ThowIfInvalid () |
Protected Attributes | |
bool = true | |
Properties | |
string | PhysicalPath [get, set] |
Filesystem path, such as C:.jpg. Throws an InvalidOperationException if you attempt to modify an immutable instance. More... | |
string | ResizeQuerystring [get, set] |
The resize/crop settings applied to the file, ex. ?width=100&height=100&crop=auto&format=png. Throws an InvalidOperationException if you attempt to modify an immutable instance. More... | |
string | TargetFilename [get, set] |
The target filename to use in the compressed folder. If left null, the filename of physicalPath will be used. Should not include the file extension, that will be assigned based on resizeQuerystring and the original extension. Throws an InvalidOperationException if you attempt to modify an immutable instance. More... | |
Represents a file to resize/re-encode, the resize/encoding settings
Definition at line 20 of file BatchJobSettings.cs.
|
inline |
Represents a file to resize/re-encode, the resize/encoding settings
physicalPath | Filesystem path, such as C:.jpg |
targetFilename | The target filename to use in the compressed folder. If left null, the filename of physicalPath will be used. Should not include the file extension, that will be assigned based on resizeQuerystring and the original extension. |
resizeQuerystring | The resize/crop settings applied to the file, ex. ?width=100&height=100&crop=auto&format=png |
Definition at line 29 of file BatchJobSettings.cs.
|
inline |
Copies the class, useful for preventing threading issues. Lightweight, only 4 pointers plus class instance.
Definition at line 96 of file BatchJobSettings.cs.
|
inline |
Blocks any future changes to the instance, throwing an InvalidOperationException.
Definition at line 103 of file BatchJobSettings.cs.
|
getset |
Filesystem path, such as C:.jpg. Throws an InvalidOperationException if you attempt to modify an immutable instance.
Definition at line 56 of file BatchJobSettings.cs.
|
getset |
The resize/crop settings applied to the file, ex. ?width=100&height=100&crop=auto&format=png. Throws an InvalidOperationException if you attempt to modify an immutable instance.
Definition at line 67 of file BatchJobSettings.cs.
Referenced by ImageResizer.Plugins.BatchZipper.BatchResizeWorker.wouldResize(), and ImageResizer.Plugins.BatchZipper.BatchResizeWorker.WriteItemCallback().
|
getset |
The target filename to use in the compressed folder. If left null, the filename of physicalPath will be used. Should not include the file extension, that will be assigned based on resizeQuerystring and the original extension. Throws an InvalidOperationException if you attempt to modify an immutable instance.
Definition at line 80 of file BatchJobSettings.cs.
Referenced by ImageResizer.Plugins.BatchZipper.BatchResizeSettings.FixDuplicateFilenames().