Class SourceCodeAsset
Class SourceCodeAsset.
[DataContract("SourceCodeAsset")]
public abstract class SourceCodeAsset : Asset
- Inheritance
-
SourceCodeAsset
- Derived
- Inherited Members
Properties
InternalSerializableTextAccessor
Used internally by serialization.
[DataMember(DataMemberMode.Assign)]
[Display(null, null, Browsable = false)]
public ISerializableTextAccessor InternalSerializableTextAccessor { get; set; }
Property Value
Text
Gets the sourcecode text.
[Display(null, null, Browsable = false)]
public string Text { get; set; }
Property Value
- string
The sourcecode text.
TextAccessor
[Display(null, null, Browsable = false)]
public ITextAccessor TextAccessor { get; set; }
Property Value
Methods
GenerateIdFromLocation(string, string)
Generates a unique identifier from location.
public static AssetId GenerateIdFromLocation(string packageName, string location)
Parameters
Returns
- AssetId
Guid.
Save(Stream)
Saves the content to a stream.
public virtual void Save(Stream stream)
Parameters
stream
Stream