Version 3.0.1.0

ValueResolverUtility class

Namespace: Sirenix.OdinInspector.Editor.ValueResolver
Assembly: Sirenix.OdinInspector.Editor
public static class ValueResolverUtility
Inheritance
  • System.Object
  • ValueResolverUtility

Methods

CombineErrorMessagesWhereFailed(IValueProvider[])
public static string CombineErrorMessagesWhereFailed(params IValueProvider[] providers)
Parameters
Sirenix.OdinInspector.Editor.ValueResolver.IValueProvider[] providers

Returns
System.String

CreateContext<TDrawer>(TDrawer)
public static DrawerResolverContext<TDrawer> CreateContext<TDrawer>(TDrawer drawer)
    where TDrawer : OdinDrawer
Parameters
TDrawer drawer

Returns
DrawerResolverContext<TDrawer>

Type Parameters
TDrawer

CreateContext<TValidator>(TValidator, MemberInfo)
public static ValidatorResolverContext<TValidator> CreateContext<TValidator>(TValidator validator, MemberInfo member)
    where TValidator : Validator
Parameters
TValidator validator

System.Reflection.MemberInfo member

Returns
ValidatorResolverContext<TValidator>

Type Parameters
TValidator

GetDrawerResolver<TResult>()
public static DrawerValueResolver<OdinDrawer, TResult> GetDrawerResolver<TResult>()
Returns
DrawerValueResolver<OdinDrawer, TResult>

Type Parameters
TResult

GetDrawerResolver<TResult>(ValueResolverSettings)
public static DrawerValueResolver<OdinDrawer, TResult> GetDrawerResolver<TResult>(ValueResolverSettings settings)
Parameters
ValueResolverSettings settings

Returns
DrawerValueResolver<OdinDrawer, TResult>

Type Parameters
TResult

GetDrawerResolver<TDrawer, TResult>()
public static DrawerValueResolver<TDrawer, TResult> GetDrawerResolver<TDrawer, TResult>()
    where TDrawer : OdinDrawer
Returns
DrawerValueResolver<TDrawer, TResult>

Type Parameters
TDrawer

TResult

GetDrawerResolver<TDrawer, TResult>(ValueResolverSettings)
public static DrawerValueResolver<TDrawer, TResult> GetDrawerResolver<TDrawer, TResult>(ValueResolverSettings settings)
    where TDrawer : OdinDrawer
Parameters
ValueResolverSettings settings

Returns
DrawerValueResolver<TDrawer, TResult>

Type Parameters
TDrawer

TResult

GetResolver<TResult>()
public static ValueResolver<ResolverContext, TResult> GetResolver<TResult>()
Returns
ValueResolver<ResolverContext, TResult>

Type Parameters
TResult

GetResolver<TResult>(ValueResolverSettings)
public static ValueResolver<ResolverContext, TResult> GetResolver<TResult>(ValueResolverSettings settings)
Parameters
ValueResolverSettings settings

Returns
ValueResolver<ResolverContext, TResult>

Type Parameters
TResult

GetResolver<TContext, TResult>()
public static ValueResolver<TContext, TResult> GetResolver<TContext, TResult>()
    where TContext : ResolverContext
Returns
ValueResolver<TContext, TResult>

Type Parameters
TContext

TResult

GetResolver<TContext, TResult>(ValueResolverSettings)
public static ValueResolver<TContext, TResult> GetResolver<TContext, TResult>(ValueResolverSettings settings)
    where TContext : ResolverContext
Parameters
ValueResolverSettings settings

Returns
ValueResolver<TContext, TResult>

Type Parameters
TContext

TResult

GetValidatorResolver<TValidator, TResult>()
public static ValidatorValueResolver<TValidator, TResult> GetValidatorResolver<TValidator, TResult>()
    where TValidator : Validator
Returns
ValidatorValueResolver<TValidator, TResult>

Type Parameters
TValidator

TResult

GetValidatorResolver<TValidator, TResult>(ValueResolverSettings)
public static ValidatorValueResolver<TValidator, TResult> GetValidatorResolver<TValidator, TResult>(ValueResolverSettings settings)
    where TValidator : Validator
Parameters
ValueResolverSettings settings

Returns
ValidatorValueResolver<TValidator, TResult>

Type Parameters
TValidator

TResult