Table of Contents

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 string
stringToValueMethodName string
trimExtension bool
isRelativeToAssetDirectory bool

Fields

AllowedFileTypes

public readonly string[] AllowedFileTypes

Field Value

string[]

IsRelativeToAssetDirectory

public readonly bool IsRelativeToAssetDirectory

Field Value

bool

TrimExtension

public readonly bool TrimExtension

Field Value

bool

Methods

ConvertStringToValue(Type, string)

public object ConvertStringToValue(Type type, string s)

Parameters

type Type
s string

Returns

object

ConvertValueToString(Type, object)

public string ConvertValueToString(Type type, object value)

Parameters

type Type
value object

Returns

string