Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    UrlReferenceBase Class

    Namespace: Stride.Core.Serialization
    Assembly: 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 null or empty.

    Url
    Methods
    ToString()
    | Improve this Doc View Source

    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 url is null or empty.

    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation