CssSavingArgs class

This class represents set of data that related to external CSS file’s saving that occurs during conversion to HTML format.

public class CssSavingArgs : ResourceSavingArgs


Name Description
CssSavingArgs() Initializes a new instance of the CssSavingArgs class.


Name Description
FileName { get; set; } Gets or sets the supposed file name that goes from converter to code of custom method. Can be use in custom code to decide how to process or where save that file.
KeepStreamOpen { get; set; } Gets or sets a value indicating whether the stream will be kept open after resource saving finishes.
Stream { get; set; } Gets or sets the binary content of saved file.
Uri { get; set; } Gets or sets the resource URI.


Name Description
CloseStreamIfRequired() Close stream if KeepStreamOpen is false, else flush it.

See Also