4 using System.Collections.Generic;
5 using System.Diagnostics;
8 using SiliconStudio.Core;
9 using SiliconStudio.Core.Diagnostics;
11 namespace SiliconStudio.Assets
17 [DebuggerDisplay(
"Count = {Count}")]
18 [DataContract(
"AssetItems")]
52 var stream =
new MemoryStream();
53 AssetSerializer.Default.Save(stream,
this);
65 if (text == null)
throw new ArgumentNullException(
"text");
67 var stream =
new MemoryStream();
68 var writer =
new StreamWriter(stream);
string ToText()
Converts this instance to a YAML text.
A collection of AssetItem that contains only absolute location without any drive information. This class cannot be inherited.
AssetItemCollection(IEnumerable< AssetItem > collection)
Initializes a new instance of the AssetItemCollection class.
AssetItemCollection(int capacity)
Initializes a new instance of the T:System.Collections.Generic.List`1 class that is empty and has the...
static AssetItemCollection FromText(string text)
Parses items from the specified text.
Use this class to provide a debug output in Visual Studio debugger.
AssetItemCollection()
Initializes a new instance of the AssetItemCollection class.