Click or drag to resize
PicoXLSX

StyleRepository Class

Class to manage all styles at runtime, before writing XLSX files. The main purpose is deduplication and decoupling of styles from workbooks at runtime
Inheritance Hierarchy
SystemObject
  PicoXLSXStyleRepository

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.2.1+e0edc719a6aeecf6c989e5a57750c75d6f3175bb
Syntax
C#
public class StyleRepository

The StyleRepository type exposes the following members.

Constructors
 NameDescription
Private methodStyleRepository Private constructor. The class is not intended to instantiate outside the singleton
Top
Properties
 NameDescription
Public propertyStatic memberInstance Gets the singleton instance of the repository
Public propertyStyles Gets the currently managed styles of the repository
Top
Methods
 NameDescription
Public methodAddStyle Adds a style to the repository and returns the actual reference
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFlushStyles Empties the static repository
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also