UrlReference<T> Class
Namespace: Stride.Core.SerializationAssembly: Stride.Core.Serialization.dll
Represents a Url to an asset of type
Derived from UrlReference<T>:
[DataSerializer(typeof(UrlReferenceDataSerializer<>), Mode = DataSerializerGenericMode.GenericArguments)]
public sealed class UrlReference<T> : UrlReferenceBase, IUrlReference where T : class
Type Parameters
Name | Description |
---|---|
T | The type off asset. |
Name | Description | |
---|---|---|
Constructors | ||
UrlReference() | Create a new UrlReference<T> instance. |
|
UrlReference(String) | Create a new UrlReference<T> instance. |
Constructors
UrlReference()
Create a new UrlReference<T> instance.
public UrlReference()
UrlReference(String)
Create a new UrlReference<T> instance.
public UrlReference(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If |