AssetFolderCollection Class
              
              
              Namespace: Stride.Core.Assets
              Assembly: Stride.Core.Assets.dll
              
              
              
              
              
              
                 System.Object →  
                AssetFolderCollection
              
              
                 Derived from AssetFolderCollection: 
              
              
              
              
              
                [DataContract("AssetFolderCollection")]
public sealed class AssetFolderCollection : IList<AssetFolder>, ICollection<AssetFolder>, IReadOnlyList<AssetFolder>, IReadOnlyCollection<AssetFolder>, IEnumerable<AssetFolder>, IEnumerable
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Constructors
              
                
              
              
              
              
              
              AssetFolderCollection()
              
              
              
              
              
                public AssetFolderCollection()
               
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Properties
              
                
              
              
              
              
              
              Count
              
              
              
              
              
                public int Count { get; }
               
              
              Property Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
              
              
              
              
              
              Item[Int32]
              
              
              
              
              
                public AssetFolder this[int index] { get; }
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    index | 
                     | 
                  
                
              
              Property Value
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Methods
              
                
              
              
              
              
              
              Add(AssetFolder)
              
              
              
              
              
                public void Add(AssetFolder item)
               
              
              Parameters
              
              
              
              
              
              
              Clear()
              
              
              
              
              
              
              
              
              
              
              
              CloneTo(AssetFolderCollection)
              
              Clones this instance to the specified instance.
 
              
              
              
                public void CloneTo(AssetFolderCollection foldersTo)
               
              
              Parameters
              
              Exceptions
              
                
                  
                    | Type | 
                    Condition | 
                  
                
                
                  
                    | System.ArgumentNullException | 
                    folders 
 | 
                  
                
              
              
              
              
              
              
              Contains(AssetFolder)
              
              
              
              
              
                public bool Contains(AssetFolder item)
               
              
              Parameters
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              
              
              
              
              
              CopyTo(AssetFolder[], Int32)
              
              
              
              
              
                public void CopyTo(AssetFolder[] array, int arrayIndex)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | AssetFolder[] | 
                    array | 
                     | 
                  
                  
                    | System.Int32 | 
                    arrayIndex | 
                     | 
                  
                
              
              
              
              
              
              
              Find(UDirectory)
              
              
              
              
              
                public AssetFolder Find(UDirectory folder)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | Stride.Core.IO.UDirectory | 
                    folder | 
                     | 
                  
                
              
              Returns
              
              
              
              
              
              
              GetEnumerator()
              
              
              
              
              
                public IEnumerator<AssetFolder> GetEnumerator()
               
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Collections.Generic.IEnumerator<AssetFolder> | 
                     | 
                  
                
              
              
              
              
              
              
              Remove(AssetFolder)
              
              
              
              
              
                public bool Remove(AssetFolder item)
               
              
              Parameters
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Explicit Interface Implementations
              
                
              
              
              
              
              
              ICollection<AssetFolder>.IsReadOnly
              
              
              
              
              
                bool ICollection<AssetFolder>.IsReadOnly { get; }
               
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              
              
              
              
              
              IList<AssetFolder>.IndexOf(AssetFolder)
              
              
              
              
              
                int IList<AssetFolder>.IndexOf(AssetFolder item)
               
              
              Parameters
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
              
              
              
              
              
              IList<AssetFolder>.Insert(Int32, AssetFolder)
              
              
              
              
              
                void IList<AssetFolder>.Insert(int index, AssetFolder item)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    index | 
                     | 
                  
                  
                    | AssetFolder | 
                    item | 
                     | 
                  
                
              
              
              
              
              
              
              IList<AssetFolder>.Item[Int32]
              
              
              
              
              
                AssetFolder IList<AssetFolder>.this[int index] { get; set; }
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    index | 
                     | 
                  
                
              
              Returns
              
              
              
              
              
              
              IList<AssetFolder>.RemoveAt(Int32)
              
              
              
              
              
                void IList<AssetFolder>.RemoveAt(int index)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    index | 
                     | 
                  
                
              
              
              
              
              
              
              IEnumerable.GetEnumerator()
              
              
              
              
              
                IEnumerator IEnumerable.GetEnumerator()
               
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Collections.IEnumerator | 
                     | 
                  
                
              
              
              
 
              
               
              
              
              
              
              Extension Methods