Class TangerineFilePropertyAttribute
- Namespace
- Lime
- Assembly
- Lime.dll
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public sealed class TangerineFilePropertyAttribute : Attribute
- Inheritance
-
TangerineFilePropertyAttribute
- Inherited Members
Constructors
TangerineFilePropertyAttribute(string[], string, string, bool, bool)
public TangerineFilePropertyAttribute(string[] allowedFileTypes, string valueToStringMethodName = null, string stringToValueMethodName = null, bool trimExtension = true, bool isRelativeToAssetDirectory = true)
Parameters
allowedFileTypes
string[]valueToStringMethodName
stringstringToValueMethodName
stringtrimExtension
boolisRelativeToAssetDirectory
bool
Fields
AllowedFileTypes
public readonly string[] AllowedFileTypes
Field Value
- string[]
IsRelativeToAssetDirectory
public readonly bool IsRelativeToAssetDirectory
Field Value
TrimExtension
public readonly bool TrimExtension
Field Value
Methods
ConvertStringToValue(Type, string)
public object ConvertStringToValue(Type type, string s)
Parameters
Returns
ConvertValueToString(Type, object)
public string ConvertValueToString(Type type, object value)