Public Member Functions | |
override bool | Equals (object obj) |
override int | GetHashCode () |
System.Xml.Schema.XmlSchema | GetSchema () |
void | NormalizeOriginalFileNames (string nameOfAValidDirOrFile) |
void | ReadXml (System.Xml.XmlReader reader) |
void | SetResourceName (string basenname, int index) |
SrcLeafData (Build.ContentFile file, Build.RefToProject inProject) | |
SrcLeafData (Build.ContentFile file) | |
SrcLeafData () | |
override string | ToString () |
void | WriteXml (System.Xml.XmlWriter writer) |
Public Attributes | |
CompressionMode | Compression = CompressionMode.GZip |
Build.ContentFile | File |
string | NameInRes = null |
NetFrameworkDescr | NetFramework = null |
PlatformDescr | Platform = null |
Build.RefToProject | ProjectRef = null |
Properties | |
Build.BuildProject | Project [get] |
wx.PackageBuilder.SrcLeafData.SrcLeafData | ( | ) |
CTor without arguments. Use only in the context of serialization.
wx.PackageBuilder.SrcLeafData.SrcLeafData | ( | Build.ContentFile | file | ) |
wx.PackageBuilder.SrcLeafData.SrcLeafData | ( | Build.ContentFile | file, | |
Build.RefToProject | inProject | |||
) |
Is a node about a file in a project.
file | The file | |
inProject | The project that refers to file. |
override bool wx.PackageBuilder.SrcLeafData.Equals | ( | object | obj | ) |
override int wx.PackageBuilder.SrcLeafData.GetHashCode | ( | ) |
System.Xml.Schema.XmlSchema wx.PackageBuilder.SrcLeafData.GetSchema | ( | ) |
Returns null
as suggested by the framework docu.
void wx.PackageBuilder.SrcLeafData.NormalizeOriginalFileNames | ( | string | nameOfAValidDirOrFile | ) |
You may use this method to control the form of the file name that will be used to serialize this (the original filename). The argument is a path to an existing file or directory. This will strip a directory information from this path. After that, the original file name will change to something equivalent to the absolute filename (referring to the same file) but now relative to the directory as specified by the argument.
Use this method to prepare content file instance for serialization in such a way that all file names become relative to the same directory.
nameOfAValidDirOrFile | The name of an existing file or directory. This name will - if relative - be expanded using the BuildConfig. |
System.ArgumentException | Will be raised if the argument is neither the path to an existing file nor directory. |
Implements wx.PackageBuilder.IDataReferringToFiles.
void wx.PackageBuilder.SrcLeafData.ReadXml | ( | System.Xml.XmlReader | reader | ) |
void wx.PackageBuilder.SrcLeafData.SetResourceName | ( | string | basenname, | |
int | index | |||
) |
Support to set unique resource names.
basenname | basename of the resource | |
index | an index to produce a unique name extending the base name. shall be larger than or equal to 0. |
override string wx.PackageBuilder.SrcLeafData.ToString | ( | ) |
void wx.PackageBuilder.SrcLeafData.WriteXml | ( | System.Xml.XmlWriter | writer | ) |
CompressionMode wx.PackageBuilder.SrcLeafData.Compression = CompressionMode.GZip |
string wx.PackageBuilder.SrcLeafData.NameInRes = null |
The name of the file in the resource stream. This is null
if this represents a feature and not a resource.
The .NET version, that has been used to build the file.
The platform, that has been used to build the file.
This is the project that contains the file (if known) or null
.
Build.BuildProject wx.PackageBuilder.SrcLeafData.Project [get] |
This is the project that contains the file (if known) or null
.