Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BuildDependencyInfo Struct

    Namespace: Stride.Core.Assets.Analysis
    Assembly: Stride.Core.Assets.dll

    A structure representing information related to a build dependency between one source assets and a target type of asset.

    public struct BuildDependencyInfo : IEquatable<BuildDependencyInfo>
    Name Description
    Constructors
    BuildDependencyInfo(Type, Type, BuildDependencyType)

    Initializes a new instance of the BuildDependencyInfo structure.

    Fields
    AssetType

    The type of asset targeted by this dependency.

    CompilationContext

    The compilation context in which to compile the target asset.

    DependencyType

    The type of dependency, indicating whether the target asset must actually be compiled, and whether it should be compiled before the referecing asset or can be at the same time.

    Methods
    Equals(BuildDependencyInfo)
    Equals(Object)
    GetHashCode()
    Operators
    Equality(BuildDependencyInfo, BuildDependencyInfo)
    Inequality(BuildDependencyInfo, BuildDependencyInfo)
    | Improve this Doc View Source

    Constructors


    BuildDependencyInfo(Type, Type, BuildDependencyType)

    Initializes a new instance of the BuildDependencyInfo structure.

    public BuildDependencyInfo(Type assetType, Type compilationContext, BuildDependencyType dependencyType)
    Parameters
    Type Name Description
    System.Type assetType

    The type of asset targeted by this dependency info.

    System.Type compilationContext

    The compilation context in which to compile the target asset.

    BuildDependencyType dependencyType

    The type of dependency.

    | Improve this Doc View Source

    Fields


    AssetType

    The type of asset targeted by this dependency.

    public readonly Type AssetType
    Field Value
    Type Description
    System.Type

    CompilationContext

    The compilation context in which to compile the target asset.

    public readonly Type CompilationContext
    Field Value
    Type Description
    System.Type
    Remarks

    This context is not relevant if the asset is not compiled, like when DependencyType is CompileAsset


    DependencyType

    The type of dependency, indicating whether the target asset must actually be compiled, and whether it should be compiled before the referecing asset or can be at the same time.

    public readonly BuildDependencyType DependencyType
    Field Value
    Type Description
    BuildDependencyType
    | Improve this Doc View Source

    Methods


    Equals(BuildDependencyInfo)

    public bool Equals(BuildDependencyInfo other)
    Parameters
    Type Name Description
    BuildDependencyInfo other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    | Improve this Doc View Source

    Operators


    Equality(BuildDependencyInfo, BuildDependencyInfo)

    public static bool operator ==(BuildDependencyInfo left, BuildDependencyInfo right)
    Parameters
    Type Name Description
    BuildDependencyInfo left
    BuildDependencyInfo right
    Returns
    Type Description
    System.Boolean

    Inequality(BuildDependencyInfo, BuildDependencyInfo)

    public static bool operator !=(BuildDependencyInfo left, BuildDependencyInfo right)
    Parameters
    Type Name Description
    BuildDependencyInfo left
    BuildDependencyInfo right
    Returns
    Type Description
    System.Boolean

    Inherited Members

    System.ValueType.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