Table of Contents

Class FileTypePropertyBagEnumExtensions

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll
public static class FileTypePropertyBagEnumExtensions
Inheritance
FileTypePropertyBagEnumExtensions
Inherited Members

Methods

Add<TEnum>(IFileTypePropertyBag, KeyValuePair<string, TEnum>)

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<TEnum>(IFileTypePropertyBag, string, TEnum)

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<TEnum>(IFileTypePropertyBag, KeyValuePair<string, TEnum>)

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<TEnum>(IFileTypePropertyBag, string, TEnum)

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<TEnum>(IFileTypePropertyBag, IEnumerable<KeyValuePair<string, TEnum>>)

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.