wx.PackageBuilder.SrcLeafData Class Reference

Inheritance diagram for wx.PackageBuilder.SrcLeafData:

Inheritance graph

List of all members.

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]


Detailed Description

Class representing the data on a leaf node in the tree of sources.

Constructor & Destructor Documentation

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.

Parameters:
file The file
inProject The project that refers to file.


Member Function Documentation

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.

Parameters:
nameOfAValidDirOrFile The name of an existing file or directory. This name will - if relative - be expanded using the BuildConfig.
See also:
OriginalFileName

Exceptions:
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.

Parameters:
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  ) 


Member Data Documentation

CompressionMode wx.PackageBuilder.SrcLeafData.Compression = CompressionMode.GZip

Build.ContentFile wx.PackageBuilder.SrcLeafData.File

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.

NetFrameworkDescr wx.PackageBuilder.SrcLeafData.NetFramework = null

The .NET version, that has been used to build the file.

PlatformDescr wx.PackageBuilder.SrcLeafData.Platform = null

The platform, that has been used to build the file.

Build.RefToProject wx.PackageBuilder.SrcLeafData.ProjectRef = null

This is the project that contains the file (if known) or null.


Property Documentation

Build.BuildProject wx.PackageBuilder.SrcLeafData.Project [get]

This is the project that contains the file (if known) or null.


The wx.NET Build System.   (c) 2009-2010 Harald Meyer auf'm Hofe