Class FileTypePropertyBagExtensions
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
public static class FileTypePropertyBagExtensions
- Inheritance
-
FileTypePropertyBagExtensions
- Inherited Members
Methods
- Add<T>(IFileTypePropertyBag, KeyValuePair<string, T>)
Adds the specified key and value to the property bag. The value is converted to a string using its ToString() method. If the key already exists in the property bag then an exception is thrown.
- Add<T>(IFileTypePropertyBag, string, in T)
Adds the specified key and value to the property bag. The value is converted to a string using its ToString() method. If the key already exists in the property bag then an exception is thrown.
- SetItem<T>(IFileTypePropertyBag, KeyValuePair<string, T>)
Sets the specified key and value in the property bag. The value is converted to a string using its ToString() method. If the key already exists in the property bag then it is overwritten.
- SetItem<T>(IFileTypePropertyBag, string, in T)
Sets the specified key and value in the property bag. The value is converted to a string using its ToString() method. If the key already exists in the property bag then it is overwritten.
- SetItems<T>(IFileTypePropertyBag, IEnumerable<KeyValuePair<string, T>>)
Sets the specified keys and values in the property bag. The values are converted to strings using their ToString() method. If a key already exists in the property bag then it is overwritten.