Class FileTypeAttribute
- Namespace
- OmegaEngine.Foundation.Design
- Assembly
- OmegaEngine.Foundation.dll
Stores the file type describing the kind of data a property stores. Controls the behaviour of CodeEditor.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
[PublicAPI]
public sealed class FileTypeAttribute : Attribute, _Attribute
- Inheritance
-
FileTypeAttribute
- Implements
- Inherited Members
- Extension Methods
Constructors
FileTypeAttribute(string)
Creates a new file type attribute.
public FileTypeAttribute(string fileType)
Parameters
fileType
stringThe name of the file type (e.g. XML, JavaScript, Lua).
Properties
FileType
The name of the file type (e.g. XML, JavaScript, Lua).
public string FileType { get; }