Class ReadOnlyFileTypePropertyBagEnumExtensions
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
public static class ReadOnlyFileTypePropertyBagEnumExtensions
- Inheritance
-
ReadOnlyFileTypePropertyBagEnumExtensions
- Inherited Members
Methods
- GetValue<TEnum>(IReadOnlyFileTypePropertyBag, string, TEnum)
Retrieves a value from the property bag and parses it using the specified type. If the key does not exist, or if the parsing fails, then the given default value is returned instead.
- TryGetValue<TEnum>(IReadOnlyFileTypePropertyBag, string, out TEnum)
Attempts to retrieve a value from the property bag and parses it using the specified type. If the key does not exist, or if the parsing fails, then false is returned instead.