Table of Contents

Class ReadOnlyFileTypePropertyBagExtensions

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

Methods

GetValue<T>(IReadOnlyFileTypePropertyBag, string, in T)

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<T>(IReadOnlyFileTypePropertyBag, string, out T)

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.