PackedResource<TResource> Class
Defines the meta-data of an Application resource.
Namespace
Songhay.Models
Base Types
graph BT Type-->Base0["PackedResource"] click Base0 "/SonghayCore/latest/Songhay.Models/PackedResource" Base0-->Base1["object"] Type["PackedResource<TResource>"] class Type type-node

Syntax

public class PackedResource<TResource> : PackedResource

Type Parameters

Name Description
TResource The type of the resource.

Properties

Name Property Type Summary
DisplayName string
Gets or sets the display name.
Inherited from PackedResource
Key string
Gets or sets the key.
Inherited from PackedResource
Name string
Gets or sets the name.
Inherited from PackedResource
XamlObject TResource
Gets or sets the XAML object.
XamlString string
Gets or sets the XAML string.

Extension Methods

Name Value Summary
IsAssignableToISerializable<PackedResource<TResource>>() bool
Determines whether the specified type can be assigned to System.Runtime.Serialization.ISerializable.
ToObjectOrDbNull<PackedResource<TResource>>() object
Boxes the nullable in object or returns DBNull.
ToReferenceTypeValueOrThrow<PackedResource<TResource>>(string) T
Returns the non-null value of the specified, nullable reference type or throws an ArgumentNullException when the value is null.