5 using System.ComponentModel;
8 using SiliconStudio.Core;
9 using SiliconStudio.Core.IO;
10 using SiliconStudio.Core.Storage;
12 namespace SiliconStudio.Assets
17 [DataContract(
"SourceCodeAsset")]
25 public UFile AbsoluteSourceLocation {
get; set; }
27 public string Text {
get; set; }
36 if (location == null)
throw new ArgumentNullException(
"location");
37 return ObjectId.FromBytes(Encoding.UTF8.GetBytes(location)).ToGuid();
static Guid GenerateGuidFromLocation(string location)
Generates a unique identifier from location.
Defines a normalized file path. See UPath for details. This class cannot be inherited.