Public Member Functions | |
void | AddSuffix (string suffix) |
int | CompareTo (object obj) |
bool | Contains (ContentType t) |
override bool | Equals (object obj) |
string | FilenameFromBasename (string basename) |
ICollection< string > | FilenamesFromBasename (string basename) |
ICollection < ContentType > | GetAllImpliedTypes () |
override int | GetHashCode () |
System.Xml.Schema.XmlSchema | GetSchema () |
bool | Implies (ContentType t) |
string | Match (string filename) |
void | ReadXml (System.Xml.XmlReader reader) |
bool | SuffixComplies (string filename) |
override string | ToString () |
delegate string | Translator (string arg) |
void | WriteRefXml (System.Xml.XmlWriter writer) |
void | WriteXml (System.Xml.XmlWriter writer) |
Static Public Member Functions | |
static string | CreateFileDialogWildcard (ICollection< ContentType > types, Translator translator) |
static string | CreateFileDialogWildcard (ICollection< ContentType > types) |
static ICollection < ContentType > | FindContentTypes (ContentFileProperties properties) |
static ContentType | FindOrCreate (string fullTypeName) |
static ContentType | FindOrCreate (string primaryTypeName, string secondaryTypeName) |
static ContentType | FromXml (System.Xml.XmlReader reader) |
static ICollection < ContentType > | GetMatchingTypes (string filename) |
static ContentType | GetOneMatchingType (string filename) |
static bool | operator!= (ContentType t1, ContentType t2) |
static bool | operator== (ContentType t1, ContentType t2) |
Static Public Attributes | |
static readonly ContentType | BMP |
static readonly ContentType | CCode = new ContentType("text", "c", __("Source file containing C code."), ContentFileProperties.CodeObjectSrc, "c") |
static readonly ContentType | CCPlusPlusInclude = new ContentType("text", "c-cplusplus-header", __("Header file containing C or C++ code."), ContentFileProperties.InlinedCodeSrc, "hpp", "hxx", "h++", "hh", "h") |
static readonly ContentType | CInclude = new ContentType("text", "c-header", __("Header file containing C code."), ContentFileProperties.InlinedCodeSrc, "h", CCPlusPlusInclude) |
static readonly ContentType | CPlusPlusCode = new ContentType("text", "cplusplus", __("Source file containing C++ code."), ContentFileProperties.CodeObjectSrc, "cpp", "cxx", "c++", "cc") |
static readonly ContentType | CPlusPlusInclude = new ContentType("text", "cplusplus-header", __("Header file containing C++ code."), ContentFileProperties.InlinedCodeSrc, "hpp", "hxx", "h++", "hh", "h", CCPlusPlusInclude) |
static readonly ContentType | CSharpCode = new ContentType("text", "csharp", __("Source file containing C# code."), ContentFileProperties.CodeObjectSrc, "cs") |
static readonly ContentType | CSV |
static readonly ContentType | Directory |
static readonly ContentType | DotNetDll = new ContentType("binary", "dotnet-dll", __("Dynamically linkable program library requiring a .NET environent."), ContentFileProperties.NetAssembly, "dll") |
static readonly ContentType | DotNetExe = new ContentType("binary", "dotnet-executable", __("Executable program requiring a .NET runtime environment"), ContentFileProperties.NetExecutable, "exe", DotNetDll) |
static readonly ContentType | DotNetModule = new ContentType("binary", "dotnet-module", __("Statically linkable program module requiring a .NET environent."), ContentFileProperties.NetCodeObj, "module", "netmodule", "mod") |
static readonly ContentType | DotNetShellExe = new ContentType("binary", "dotnet-shell-exe", __("Executable program requiring a .NET runtime environment and using a shell like cmd.exe for input/output"), ContentFileProperties.NetExecutable, "exe", DotNetDll) |
static readonly ContentType | DoxygenConfig |
static readonly ContentType | Elf |
static readonly ContentType | GccLib |
static readonly ContentType | GccObj |
static readonly ContentType | GccResObj = new ContentType("application", "gcc-resobj", __("Binary WINDOWS resources compiled into an GCC object file."), ContentFileProperties.WindowsResourceObject, "rc.o") |
static readonly ContentType | GIF |
static readonly ContentType | GMake |
static readonly ContentType | HHC |
static readonly ContentType | HHK |
static readonly ContentType | HHP |
static readonly ContentType | HTB |
static readonly ContentType | HTML |
static readonly ContentType | ICO |
static readonly ContentType | JPEG = new ContentType("image", "jpeg", "JPEG image file.", ContentFileProperties.Compressed, "jpg", "jpeg") |
static readonly ContentType | MacDylib |
static readonly ContentType | MO |
static readonly ContentType | MSSolution |
static readonly ContentType | NMake |
static readonly ContentType | PackageBuilderPackage = new ContentType("application", "packagebuilder-package", "Package built by the PackageBuilder containing source files, compiled files, and project definitions.", ContentFileProperties.NetRessource, "package") |
static readonly ContentType | PackageBuilderProject = new ContentType("application", "packagebuilder-project", "PackageBuilder project containing a layout for building packages and installers.", ContentFileProperties.XMLText, "pkgproj") |
static readonly ContentType | PNG |
static readonly ContentType | PO |
static readonly ContentType | Premake |
static readonly ContentType | RCFile = new ContentType("text", "rc-file", __("Windows resource definition file."), ContentFileProperties.PlainText, "rc") |
static readonly ContentType | ResFile = new ContentType("binary", "res-file", __("Compiled Windows resources."), ContentFileProperties.WindowsResourceObject, "res") |
static readonly ContentType | SnDotNetDll |
static readonly ContentType | SnDotNetExe |
static readonly ContentType | SnDotNetShellExe |
static readonly ContentType | SnKeys |
static readonly ContentType | StaticLib |
static readonly ContentType | TXT |
static readonly ContentType | VBProject |
static readonly ContentType | VCCoffLib |
static readonly ContentType | VCCoffObj |
static readonly ContentType | VCProject |
static readonly ContentType | VisualBasic |
static readonly ContentType | VSProject |
static readonly ContentType | WindowsDll |
static readonly ContentType | WindowsGuiDll |
static readonly ContentType | wxBuildProject = new ContentType("application", "wxbuild-project", ".NET assembly containing wx.Build project definitions.", ContentFileProperties.NetAssembly, ContentType.DotNetDll, "dll", "exe") |
static readonly ContentType | wxGladeFile = new ContentType("text", "wxGlade", __("wxGlade resource file."), ContentFileProperties.PlainText, "wxg") |
static readonly ContentType | XML |
static readonly ContentType | XPM |
static readonly ContentType | XRCFile = new ContentType("text", "xrc-file", __("wxWidgets resource definition file."), ContentFileProperties.PlainText, "xrc") |
static readonly ContentType | ZippedResource |
static readonly ContentType | GZ_CCode |
static readonly ContentType | GZ_CInclude |
static readonly ContentType | GZ_CPlusPlusCode |
static readonly ContentType | GZ_CPlusPlusInclude |
static readonly ContentType | GZ_CSharpCode |
static readonly ContentType | GZ_DotNetDll |
static readonly ContentType | GZ_DotNetExe |
Properties | |
static ICollection < ContentType > | AllContentTypes [get] |
ContentType | CompressedContent [get] |
string | Description [get] |
ICollection < ContentType > | ImpliedTypes [get] |
bool | ImpliesMoreGeneralTypes [get] |
bool | IsCompressed [get] |
bool | IsStrongNameAssembly [get] |
string | Name [get] |
string | Primary [get] |
ContentFileProperties | Properties [get] |
string | Secondary [get] |
string[] | Suffix [get] |
string | SuffixString [get] |
Please note, that only one instance is allowed for each type. This is to avoid the use of ambiguous type specifications.
User query for a description rather than creating one. This knows constants for frequently used data types.
void wx.Build.ContentType.AddSuffix | ( | string | suffix | ) |
Adds a viable suffix characterizing files of thedescribed content type. Is suffix
does not contain an asterisk, the string will be interpreted as a suffix separated by a dot (.). So, "cs" will be translated into "*.cs". You may also add patterns like "lib*.so" containing an asterisk representing a base name.
int wx.Build.ContentType.CompareTo | ( | object | obj | ) |
bool wx.Build.ContentType.Contains | ( | ContentType | t | ) |
True if the argument implies this.
static string wx.Build.ContentType.CreateFileDialogWildcard | ( | ICollection< ContentType > | types, | |
Translator | translator | |||
) | [static] |
Creates a file dialog wildcard containing the files of the provided types.
types | List of types that shall appear in the wildcard | |
translator | If not null , this delegate will be used to translate the description of the mime type. |
static string wx.Build.ContentType.CreateFileDialogWildcard | ( | ICollection< ContentType > | types | ) | [static] |
Creates a file dialog wildcard containing the files of the provided types.
types | List of types that shall appear in the wildcard |
override bool wx.Build.ContentType.Equals | ( | object | obj | ) |
Please note, that equality only is defined wrt. primary and secondary type name.
string wx.Build.ContentType.FilenameFromBasename | ( | string | basename | ) |
This will return a filename complying with the provided basename and the first suffix. If this does not know a suffix, then this will return the basename.
ICollection<string> wx.Build.ContentType.FilenamesFromBasename | ( | string | basename | ) |
Returns the filenames that can be created combining the provided basename with the suffixes known to this content type. If this does not know suffixes, this will return the basename
.
static ICollection<ContentType> wx.Build.ContentType.FindContentTypes | ( | ContentFileProperties | properties | ) | [static] |
Returns the collection of all content types that exhibit all provided properties.
static ContentType wx.Build.ContentType.FindOrCreate | ( | string | fullTypeName | ) | [static] |
Find the content type description due to the provided type names or create one.
static ContentType wx.Build.ContentType.FindOrCreate | ( | string | primaryTypeName, | |
string | secondaryTypeName | |||
) | [static] |
Find the content type description due to the provided type names or create one.
static ContentType wx.Build.ContentType.FromXml | ( | System.Xml.XmlReader | reader | ) | [static] |
Reads a content type from the XML stream and adds it to the collection of known types. The result will be the new type. If the type from the XML stream is already known, the type from the stream will be ignored silently. This, this can either deal with references to known type as serialized by WriteRefXml() or by full exports by WriteXml().
reader | The data source |
ICollection<ContentType> wx.Build.ContentType.GetAllImpliedTypes | ( | ) |
This will create a new collection of all types that are implied by this type, or in other words, contain this. This may be empty. Directly implied types are in front of the resulting collections. Types implied by implied types follow later.
override int wx.Build.ContentType.GetHashCode | ( | ) |
static ICollection<ContentType> wx.Build.ContentType.GetMatchingTypes | ( | string | filename | ) | [static] |
This will create a collection of types that match the provided filename.
filename | This method finds possible content type for this file. |
static ContentType wx.Build.ContentType.GetOneMatchingType | ( | string | filename | ) | [static] |
This will return one content type matching the provided filename if such a type exists. The method returns null
if filename does not match any type.
filename | This method finds possible content type for this file. |
null
.
System.Xml.Schema.XmlSchema wx.Build.ContentType.GetSchema | ( | ) |
Returns null
as suggeted by the framework documentation.
bool wx.Build.ContentType.Implies | ( | ContentType | t | ) |
True if this equals t
or a contained type does so.
string wx.Build.ContentType.Match | ( | string | filename | ) |
Returns the basename according to the first matching suffix.
filename | is the name of a file. If this finds a sufix matching with filename , this will return the supposed basename. If this fails to find a match, the result is null . |
static bool wx.Build.ContentType.operator!= | ( | ContentType | t1, | |
ContentType | t2 | |||
) | [static] |
Comparison based on negation of Equals()
. Can also deal with null
.
static bool wx.Build.ContentType.operator== | ( | ContentType | t1, | |
ContentType | t2 | |||
) | [static] |
Comparison based on Equals()
. Can also deal with null
.
void wx.Build.ContentType.ReadXml | ( | System.Xml.XmlReader | reader | ) |
Reads a content type from the argument stream expecting the current position to point at the start of element "content-type".
reader | The source. |
bool wx.Build.ContentType.SuffixComplies | ( | string | filename | ) |
Return true
if the suffix of filename
complies with one of the associated suffixes.
override string wx.Build.ContentType.ToString | ( | ) |
The output only reflects primary and secondary typename (separated by a /).
delegate string wx.Build.ContentType.Translator | ( | string | arg | ) |
Used to provide CreateFileDialogWildcard() with means to translate English standard descriptions.
arg | String to be translated |
void wx.Build.ContentType.WriteRefXml | ( | System.Xml.XmlWriter | writer | ) |
Only writes the name to the XML stream. Use this to write references to a content type whose data is already known.
writer | The destination of the export. |
void wx.Build.ContentType.WriteXml | ( | System.Xml.XmlWriter | writer | ) |
Writes all properties into the provided XML stream. Please note, that a system can only load at most one type of the same name. All other occurances of the type, even if they have different properties, will be ignored silently.
writer | The destination of the output. |
readonly ContentType wx.Build.ContentType.BMP [static] |
Initial value:
new ContentType("image", "bmp", __("Windows Bitmap."), ContentFileProperties.None, "bmp")
readonly ContentType wx.Build.ContentType.CCode = new ContentType("text", "c", __("Source file containing C code."), ContentFileProperties.CodeObjectSrc, "c") [static] |
"text/c": Source file containing C code.
readonly ContentType wx.Build.ContentType.CCPlusPlusInclude = new ContentType("text", "c-cplusplus-header", __("Header file containing C or C++ code."), ContentFileProperties.InlinedCodeSrc, "hpp", "hxx", "h++", "hh", "h") [static] |
"text/c-cplusplus-header": C or C++ header files which contain C or C++ code but will not be compiled directly. This is usually the type of header files found by tools for dependency checking. At least in those cases, it is unknown whether the contained code shall be compiled in C or C++ mode (with or without mangled symbols).
readonly ContentType wx.Build.ContentType.CInclude = new ContentType("text", "c-header", __("Header file containing C code."), ContentFileProperties.InlinedCodeSrc, "h", CCPlusPlusInclude) [static] |
"text/c-header": Header file containing C code.
readonly ContentType wx.Build.ContentType.CPlusPlusCode = new ContentType("text", "cplusplus", __("Source file containing C++ code."), ContentFileProperties.CodeObjectSrc, "cpp", "cxx", "c++", "cc") [static] |
"text/cplusplus": Source file containing C++ code.
readonly ContentType wx.Build.ContentType.CPlusPlusInclude = new ContentType("text", "cplusplus-header", __("Header file containing C++ code."), ContentFileProperties.InlinedCodeSrc, "hpp", "hxx", "h++", "hh", "h", CCPlusPlusInclude) [static] |
"text/cplusplus-header": C++ header files which contain C++ code but will not be compiled directly.
readonly ContentType wx.Build.ContentType.CSharpCode = new ContentType("text", "csharp", __("Source file containing C# code."), ContentFileProperties.CodeObjectSrc, "cs") [static] |
"text/csharp": Source file containing C# code.
readonly ContentType wx.Build.ContentType.CSV [static] |
Initial value:
new ContentType("text", "csv", __("Comma separated list in local character encoding."), ContentFileProperties.PlainText | ContentFileProperties.Latin1Text, "csv")
readonly ContentType wx.Build.ContentType.Directory [static] |
Initial value:
new ContentType("application", "directory", __("Directory that may contain files."), ContentFileProperties.None)
readonly ContentType wx.Build.ContentType.DotNetDll = new ContentType("binary", "dotnet-dll", __("Dynamically linkable program library requiring a .NET environent."), ContentFileProperties.NetAssembly, "dll") [static] |
"binary/dotnet-dll": Dynamically linkable program library requiring a .NET environent.
readonly ContentType wx.Build.ContentType.DotNetExe = new ContentType("binary", "dotnet-executable", __("Executable program requiring a .NET runtime environment"), ContentFileProperties.NetExecutable, "exe", DotNetDll) [static] |
"binary/dotnet-executable": Executable program requiring a .NET runtime environment. Containing ContentType.DotNetDll.
readonly ContentType wx.Build.ContentType.DotNetModule = new ContentType("binary", "dotnet-module", __("Statically linkable program module requiring a .NET environent."), ContentFileProperties.NetCodeObj, "module", "netmodule", "mod") [static] |
"binary/dotnet-module": .NET CLS module that may serve as input for the assembly linker.
readonly ContentType wx.Build.ContentType.DotNetShellExe = new ContentType("binary", "dotnet-shell-exe", __("Executable program requiring a .NET runtime environment and using a shell like cmd.exe for input/output"), ContentFileProperties.NetExecutable, "exe", DotNetDll) [static] |
"binary/dotnet-shell-exe": Executable program requiring a .NET runtime environment and using a shell like cmd.exe
for input/output. Containing ContentType.DotNetExe.
readonly ContentType wx.Build.ContentType.DoxygenConfig [static] |
Initial value:
new ContentType("application", "doxygen-config", __("Configuration for Doxygen."), ContentFileProperties.PlainText, "dox", "doxygen")
readonly ContentType wx.Build.ContentType.Elf [static] |
Initial value:
new ContentType("binary", "elf", __("Dynamically linkable program library in ELF standard containing native code."), ContentFileProperties.NativeDLL, "lib*.so", StaticLib)
readonly ContentType wx.Build.ContentType.GccLib [static] |
Initial value:
new ContentType("application", "gcc-lib", __("Static library of GNU GCC objects."), ContentFileProperties.NativeStaticLib, "lib", StaticLib)
readonly ContentType wx.Build.ContentType.GccObj [static] |
Initial value:
new ContentType("application", "gcc-o", __("Object file of the GNU GCC compiler."), ContentFileProperties.NativeCodeObject, "o")
readonly ContentType wx.Build.ContentType.GccResObj = new ContentType("application", "gcc-resobj", __("Binary WINDOWS resources compiled into an GCC object file."), ContentFileProperties.WindowsResourceObject, "rc.o") [static] |
readonly ContentType wx.Build.ContentType.GIF [static] |
Initial value:
new ContentType("image", "gif", __("Graphics interchange format."), ContentFileProperties.Compressed, "gif")
readonly ContentType wx.Build.ContentType.GMake [static] |
Initial value:
new ContentType("application", "gnu-make", __("GNU Make program."), ContentFileProperties.PlainText, "Make*")
readonly ContentType wx.Build.ContentType.GZ_CCode [static] |
Initial value:
new ContentType(CCode, "gzipped", "c", __("GZipped C code file."), ContentFileProperties.Compressed, "h.gz")
readonly ContentType wx.Build.ContentType.GZ_CInclude [static] |
Initial value:
new ContentType(CInclude, "gzipped", "c-include", __("GZipped C inlude file."), ContentFileProperties.Compressed, "h.gz")
readonly ContentType wx.Build.ContentType.GZ_CPlusPlusCode [static] |
Initial value:
new ContentType(CPlusPlusCode, "gzipped", "cplusplus", __("GZipped C++ code file."), ContentFileProperties.Compressed, "cpp.gz", "cc.gz", "c++.gz", "cxx.gz")
readonly ContentType wx.Build.ContentType.GZ_CPlusPlusInclude [static] |
Initial value:
new ContentType(CPlusPlusInclude, "gzipped", "cplusplus-include", __("GZipped C++ include file."), ContentFileProperties.Compressed, "h.gz", "hh.gz", "hpp.gz", "hxx.gz", "h++.gz")
readonly ContentType wx.Build.ContentType.GZ_CSharpCode [static] |
Initial value:
new ContentType(CSharpCode, "gzipped", "csharp", __("GZipped C# code file."), ContentFileProperties.Compressed, "cs.gz")
readonly ContentType wx.Build.ContentType.GZ_DotNetDll [static] |
Initial value:
new ContentType(DotNetDll, "gzipped", "dotnet-dll", __("GZipped .NET dynamically linkable program library."), ContentFileProperties.Compressed, "h.gz")
readonly ContentType wx.Build.ContentType.GZ_DotNetExe [static] |
Initial value:
new ContentType(DotNetExe, "gzipped", "dotnet-executable", __("GZipped .NET executable."), ContentFileProperties.Compressed, "h.gz")
readonly ContentType wx.Build.ContentType.HHC [static] |
Initial value:
new ContentType("application", "hhc", __("Help Workshop Contents."), ContentFileProperties.PlainText, "hhc")
readonly ContentType wx.Build.ContentType.HHK [static] |
Initial value:
new ContentType("application", "hhk", __("Help Workshop Keywords."), ContentFileProperties.PlainText, "hhk")
readonly ContentType wx.Build.ContentType.HHP [static] |
Initial value:
new ContentType("application", "hhp", __("Help Workshop Project."), ContentFileProperties.PlainText, "hhp")
readonly ContentType wx.Build.ContentType.HTB [static] |
Initial value:
new ContentType("application", "htb", __("Hyper Text Book."), ContentFileProperties.Compressed, "htb")
readonly ContentType wx.Build.ContentType.HTML [static] |
Initial value:
new ContentType("text", "html", __("Hyper text markup language."), ContentFileProperties.PlainText, "html", "htm")
readonly ContentType wx.Build.ContentType.ICO [static] |
Initial value:
new ContentType("image", "ico", __("Windows Icon Image."), ContentFileProperties.Compressed, "ico")
readonly ContentType wx.Build.ContentType.JPEG = new ContentType("image", "jpeg", "JPEG image file.", ContentFileProperties.Compressed, "jpg", "jpeg") [static] |
"image/jpeg": JPEG image file
readonly ContentType wx.Build.ContentType.MacDylib [static] |
Initial value:
new ContentType("binary", "osx-dylib", __("MAC OS X dynamic library."), ContentFileProperties.NativeDLL, "dylib")
readonly ContentType wx.Build.ContentType.MO [static] |
Initial value:
new ContentType("application", "gettext-mo", __("Gettext Translation Module."), ContentFileProperties.None, "mo")
readonly ContentType wx.Build.ContentType.MSSolution [static] |
Initial value:
new ContentType("application", "visual-studio", __("MS solution file - the data file of Visual Studio."), ContentFileProperties.PlainText | ContentFileProperties.XMLText, "sln")
readonly ContentType wx.Build.ContentType.NMake [static] |
Initial value:
new ContentType("application", "nmake", __("NMake program."), ContentFileProperties.PlainText, "vc", "mak")
nmake
.exe program.
readonly ContentType wx.Build.ContentType.PackageBuilderPackage = new ContentType("application", "packagebuilder-package", "Package built by the PackageBuilder containing source files, compiled files, and project definitions.", ContentFileProperties.NetRessource, "package") [static] |
application/packagebuilder-package: Package built by the package builder containing source files, compiled files, and project definitions.
readonly ContentType wx.Build.ContentType.PackageBuilderProject = new ContentType("application", "packagebuilder-project", "PackageBuilder project containing a layout for building packages and installers.", ContentFileProperties.XMLText, "pkgproj") [static] |
"application/packagebuilder-project: PackageBuilder project containing a layout for building packages and installers.
readonly ContentType wx.Build.ContentType.PNG [static] |
Initial value:
new ContentType("image", "png", __("Portable network graphics."), ContentFileProperties.Compressed, "png")
readonly ContentType wx.Build.ContentType.PO [static] |
Initial value:
new ContentType("text", "gettext-po", __("Gettext Translation Repositorium."), ContentFileProperties.PlainText, "po")
readonly ContentType wx.Build.ContentType.Premake [static] |
Initial value:
new ContentType("application", "premake", __("Premake program."), ContentFileProperties.PlainText, "premake", "lua")
readonly ContentType wx.Build.ContentType.RCFile = new ContentType("text", "rc-file", __("Windows resource definition file."), ContentFileProperties.PlainText, "rc") [static] |
"text/rc-file": Windows resouce definition file.
readonly ContentType wx.Build.ContentType.ResFile = new ContentType("binary", "res-file", __("Compiled Windows resources."), ContentFileProperties.WindowsResourceObject, "res") [static] |
"binary/res-file": Compiled Windows resources.
readonly ContentType wx.Build.ContentType.SnDotNetDll [static] |
Initial value:
new ContentType("binary", "signed-dll", __("Dynamically linkable and strongly named program library requiring a .NET environent."), ContentFileProperties.StrongNameAssembly, "dll", DotNetDll)
sn.exe
) program library requiring a .NET environent. Containing ContentType.DotNetDll.
readonly ContentType wx.Build.ContentType.SnDotNetExe [static] |
Initial value:
new ContentType("binary", "signed-executable", __("Executable strongly named program requiring a .NET runtime environment"), ContentFileProperties.StrongNameAssembly | ContentFileProperties.NetAssembly | ContentFileProperties.Executable, "exe", SnDotNetDll, DotNetExe)
sn.exe
) program requiring a .NET runtime environment. Containing ContentType.SnDll and ContentType.DotNetExe.
readonly ContentType wx.Build.ContentType.SnDotNetShellExe [static] |
Initial value:
new ContentType("binary", "signed-shell-exe", __("Executable strongly named .NET console program"), ContentFileProperties.NetExecutable, "exe", SnDotNetDll, DotNetShellExe)
sn.exe
) program requiring a .NET runtime environment and using a shell like cmd.exe
for input/output. Containing ContentType.DotNetCmdExe and ContentType.SnDll.
readonly ContentType wx.Build.ContentType.SnKeys [static] |
Initial value:
new ContentType("application", "sn-keys", __("A file containing a key pair for signing up using sn.exe"), ContentFileProperties.None, "snk")
sn.exe
.
readonly ContentType wx.Build.ContentType.StaticLib [static] |
Initial value:
new ContentType("application", "static-lib", __("Static library containing native code but of unspecified format."), ContentFileProperties.NativeStaticLib, "lib")
readonly ContentType wx.Build.ContentType.TXT [static] |
Initial value:
new ContentType("text", "plain", __("Text of byte strings in unknown coding (will be displayed in currently used locale)."), ContentFileProperties.PlainText | ContentFileProperties.Latin1Text, "txt")
readonly ContentType wx.Build.ContentType.VBProject [static] |
Initial value:
new ContentType("application", "vb-project", __("MS Visual Studio VB.NET Project."), ContentFileProperties.PlainText | ContentFileProperties.XMLText, "vbproj")
readonly ContentType wx.Build.ContentType.VCCoffLib [static] |
Initial value:
new ContentType("application", "msvc-coff-lib", __("Static library of COFF (Common Object File Format) files."), ContentFileProperties.NativeStaticLib, "lib", StaticLib)
readonly ContentType wx.Build.ContentType.VCCoffObj [static] |
Initial value:
new ContentType("application", "msvc-coff-obj", __("COFF (Common Object File Format) file."), ContentFileProperties.NativeCodeObject, "obj")
cl.exe
compiler.
readonly ContentType wx.Build.ContentType.VCProject [static] |
Initial value:
new ContentType("application", "vc-project", __("MS Visual Studio C++ Project."), ContentFileProperties.PlainText | ContentFileProperties.XMLText, "vcproj")
readonly ContentType wx.Build.ContentType.VisualBasic [static] |
Initial value:
new ContentType("text", "vbasic", __("Visual Basic source code."), ContentFileProperties.PlainText, "vb")
readonly ContentType wx.Build.ContentType.VSProject [static] |
Initial value:
new ContentType("application", "vs-project", __("MS Visual Studio C# Project."), ContentFileProperties.PlainText | ContentFileProperties.XMLText, "vsproj")
readonly ContentType wx.Build.ContentType.WindowsDll [static] |
Initial value:
new ContentType("binary", "windows-dll", __("Dynamically linkable program library in native code that runs on Windows."), ContentFileProperties.NativeDLL, "exe")
readonly ContentType wx.Build.ContentType.WindowsGuiDll [static] |
Initial value:
new ContentType("binary", "windows-gui-dll", __("Dynamically linkable Windows program library presupposing MSVCRT.DLL."), ContentFileProperties.NativeDLL, "exe", WindowsDll)
readonly ContentType wx.Build.ContentType.wxBuildProject = new ContentType("application", "wxbuild-project", ".NET assembly containing wx.Build project definitions.", ContentFileProperties.NetAssembly, ContentType.DotNetDll, "dll", "exe") [static] |
application/wxbuild-project: .NET assembly containing wx.Build project definitions.
readonly ContentType wx.Build.ContentType.wxGladeFile = new ContentType("text", "wxGlade", __("wxGlade resource file."), ContentFileProperties.PlainText, "wxg") [static] |
"text/wxGlade": wxGlade resource file.
readonly ContentType wx.Build.ContentType.XML [static] |
Initial value:
new ContentType("text", "xml", __("Extendable markup language."), ContentFileProperties.PlainText | ContentFileProperties.XMLText, "xml")
readonly ContentType wx.Build.ContentType.XPM [static] |
Initial value:
new ContentType("image", "xpm", __("X pixmap files."), ContentFileProperties.PlainText, "xpm")
readonly ContentType wx.Build.ContentType.XRCFile = new ContentType("text", "xrc-file", __("wxWidgets resource definition file."), ContentFileProperties.PlainText, "xrc") [static] |
"text/xrc-file": wxWidgets resouce definition file.
readonly ContentType wx.Build.ContentType.ZippedResource [static] |
Initial value:
new ContentType("application", "zipped-resource", __("Zipped resource system file."), ContentFileProperties.Compressed, "zrs")
ICollection<ContentType> wx.Build.ContentType.AllContentTypes [static, get] |
The collection of all content types.
ContentType wx.Build.ContentType.CompressedContent [get] |
This is usually null
but in case of a zipped or compressed file, this is the type of the compressed content.
string wx.Build.ContentType.Description [get] |
Read/Write access to the description.
ICollection<ContentType> wx.Build.ContentType.ImpliedTypes [get] |
This is a collection of all directly implied types. Refer to GetAllImpliedTypes() for a collection of all implied types.
bool wx.Build.ContentType.ImpliesMoreGeneralTypes [get] |
True iff this type implies more general content types. This criterion is for instance used to select the description for the file dialog wildcard.
bool wx.Build.ContentType.IsCompressed [get] |
True iff ContentFileProperties
.Compressed is among the Properties
.
bool wx.Build.ContentType.IsStrongNameAssembly [get] |
True iff ContentFileProperties
.StrongNameAssembly is among the Properties
.
string wx.Build.ContentType.Name [get] |
The full name: primary name '/' secondary name.
string wx.Build.ContentType.Primary [get] |
Primary content type name. Read only. Strings like "application" or "text", "audio", "video", "image", "binary".
ContentFileProperties wx.Build.ContentType.Properties [get] |
Returns the properties of files of this type. This will also ask the contained file types for their properties.
string wx.Build.ContentType.Secondary [get] |
Secondary content type name. Read only. Letters plus dots '.' plus numbers. First character is a letter.
string [] wx.Build.ContentType.Suffix [get] |
Read only access to the frequently used suffixes. This may be empty. Use AddSuffix() to add a new suffix.
This is in fact a file name pattern where the asterisk * stands for the base name. This usually contains strings like "*.cxx" or "*.cs", but may also contain things like "lib*.so" (for creating the name of a dynamic ELF library from a base name).
string wx.Build.ContentType.SuffixString [get] |
This is a string listing all suffixes of this content type.