Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    PropertyKey<T> Class

    Namespace: Stride.Core
    Assembly: Stride.Core.dll

    A class that represents a typed tag propety.

    System.Object → PropertyKey → PropertyKey<T>
    Derived from PropertyKey<T>:

    public sealed class PropertyKey<T> : PropertyKey, IComparable
    Type Parameters
    Name Description
    T

    Type of the property

    Name Description
    Constructors
    PropertyKey(String, Type, PropertyKeyMetadata[])

    Initializes a new instance of the PropertyKey<T> class.

    Properties
    DefaultValueMetadataT

    Gets the default value metadata.

    IsValueType
    ObjectInvalidationMetadataT

    Gets the object invalidation metadata (may be null).

    ValidateValueMetadataT

    Gets the validate value metadata (may be null).

    | Improve this Doc View Source

    Constructors


    PropertyKey(String, Type, PropertyKeyMetadata[])

    Initializes a new instance of the PropertyKey<T> class.

    public PropertyKey(string name, Type ownerType, params PropertyKeyMetadata[] metadatas)
    Parameters
    Type Name Description
    System.String name

    The name.

    System.Type ownerType

    Type of the owner.

    PropertyKeyMetadata[] metadatas

    The metadatas.

    | Improve this Doc View Source

    Properties


    DefaultValueMetadataT

    Gets the default value metadata.

    public DefaultValueMetadata<T> DefaultValueMetadataT { get; }
    Property Value
    Type Description
    DefaultValueMetadata<T>

    IsValueType

    public override bool IsValueType { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    PropertyKey.IsValueType

    ObjectInvalidationMetadataT

    Gets the object invalidation metadata (may be null).

    public ObjectInvalidationMetadata<T> ObjectInvalidationMetadataT { get; }
    Property Value
    Type Description
    ObjectInvalidationMetadata<T>

    The object invalidation metadata.


    ValidateValueMetadataT

    Gets the validate value metadata (may be null).

    public ValidateValueMetadata<T> ValidateValueMetadataT { get; }
    Property Value
    Type Description
    ValidateValueMetadata<T>

    The validate value metadata.


    Inherited Members

    PropertyKey.Name
    PropertyKey.Metadatas
    PropertyKey.OwnerType
    PropertyKey.PropertyType
    PropertyKey.CompareTo(Object)
    PropertyKey.ToString()
    PropertyKey.SetupMetadatas()
    PropertyKey.SetupMetadata(PropertyKeyMetadata)

    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