UrlReferenceBase Class
Namespace: Stride.Core.SerializationAssembly: Stride.Core.Serialization.dll
Base class for IUrlReference implementations
System.Object →
UrlReferenceBase
Derived from UrlReferenceBase: UrlReference UrlReference<T>
[DataContract("urlref", Inherited = true)]
[DataStyle(DataStyle.Compact)]
public abstract class UrlReferenceBase : IUrlReference
Name | Description | |
---|---|---|
Constructors | ||
UrlReferenceBase() | Create a new UrlReferenceBase instance. |
|
UrlReferenceBase(String) | Create a new UrlReferenceBase instance. |
|
Properties | ||
IsEmpty | Gets whether the url is |
|
Url | ||
Methods | ||
ToString() |
Constructors
UrlReferenceBase()
Create a new UrlReferenceBase instance.
protected UrlReferenceBase()
UrlReferenceBase(String)
Create a new UrlReferenceBase instance.
protected UrlReferenceBase(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If |
Properties
IsEmpty
Gets whether the url is null
or empty.
public bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Url
[DataMember(10)]
public string Url { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()