Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    SourceFilesCollector Class

    Namespace: Stride.Core.Assets.Tracking
    Assembly: Stride.Core.Assets.dll
    System.Object → Stride.Core.Reflection.DataVisitorBase → AssetVisitorBase → SourceFilesCollector
    Derived from SourceFilesCollector:

    public class SourceFilesCollector : AssetVisitorBase, IDataVisitor
    Name Description
    Methods
    GetCompilationInputFiles(Asset)
    GetSourceFiles(Asset)
    GetSourceMembers(Asset)
    VisitObjectMember(Object, ObjectDescriptor, IMemberDescriptor, Object)
    | Improve this Doc View Source

    Methods


    GetCompilationInputFiles(Asset)

    public HashSet<UFile> GetCompilationInputFiles(Asset asset)
    Parameters
    Type Name Description
    Asset asset
    Returns
    Type Description
    System.Collections.Generic.HashSet<Stride.Core.IO.UFile>

    GetSourceFiles(Asset)

    public Dictionary<UFile, bool> GetSourceFiles(Asset asset)
    Parameters
    Type Name Description
    Asset asset
    Returns
    Type Description
    System.Collections.Generic.Dictionary<Stride.Core.IO.UFile, System.Boolean>

    GetSourceMembers(Asset)

    public Dictionary<MemberPath, UFile> GetSourceMembers(Asset asset)
    Parameters
    Type Name Description
    Asset asset
    Returns
    Type Description
    System.Collections.Generic.Dictionary<Stride.Core.Reflection.MemberPath, Stride.Core.IO.UFile>

    VisitObjectMember(Object, ObjectDescriptor, IMemberDescriptor, Object)

    public override void VisitObjectMember(object container, ObjectDescriptor containerDescriptor, IMemberDescriptor member, object value)
    Parameters
    Type Name Description
    System.Object container
    Stride.Core.Reflection.ObjectDescriptor containerDescriptor
    Stride.Core.Reflection.IMemberDescriptor member
    System.Object value
    Overrides
    Stride.Core.Reflection.DataVisitorBase.VisitObjectMember(System.Object, Stride.Core.Reflection.ObjectDescriptor, Stride.Core.Reflection.IMemberDescriptor, System.Object)

    Inherited Members

    Stride.Core.Reflection.DataVisitorBase.TypeDescriptorFactory
    Stride.Core.Reflection.DataVisitorBase.CustomVisitors
    Stride.Core.Reflection.DataVisitorBase.CurrentPath
    Stride.Core.Reflection.DataVisitorBase.AttributeRegistry
    Stride.Core.Reflection.DataVisitorBase.Reset()
    Stride.Core.Reflection.DataVisitorBase.Visit(System.Object)
    Stride.Core.Reflection.DataVisitorBase.Visit(System.Object, Stride.Core.Reflection.ITypeDescriptor)
    Stride.Core.Reflection.DataVisitorBase.VisitNull()
    Stride.Core.Reflection.DataVisitorBase.VisitPrimitive(System.Object, Stride.Core.Reflection.PrimitiveDescriptor)
    Stride.Core.Reflection.DataVisitorBase.VisitObject(System.Object, Stride.Core.Reflection.ObjectDescriptor, System.Boolean)
    Stride.Core.Reflection.DataVisitorBase.VisitArray(System.Array, Stride.Core.Reflection.ArrayDescriptor)
    Stride.Core.Reflection.DataVisitorBase.VisitArrayItem(System.Array, Stride.Core.Reflection.ArrayDescriptor, System.Int32, System.Object, Stride.Core.Reflection.ITypeDescriptor)
    Stride.Core.Reflection.DataVisitorBase.VisitCollection(System.Collections.IEnumerable, Stride.Core.Reflection.CollectionDescriptor)
    Stride.Core.Reflection.DataVisitorBase.VisitCollectionItem(System.Collections.IEnumerable, Stride.Core.Reflection.CollectionDescriptor, System.Int32, System.Object, Stride.Core.Reflection.ITypeDescriptor)
    Stride.Core.Reflection.DataVisitorBase.VisitDictionary(System.Object, Stride.Core.Reflection.DictionaryDescriptor)
    Stride.Core.Reflection.DataVisitorBase.VisitDictionaryKeyValue(System.Object, Stride.Core.Reflection.DictionaryDescriptor, System.Object, Stride.Core.Reflection.ITypeDescriptor, System.Object, Stride.Core.Reflection.ITypeDescriptor)
    Stride.Core.Reflection.DataVisitorBase.CanVisit(System.Object)

    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