15 lines
548 B
C#
15 lines
548 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Misaki.GraphView
|
|
{
|
|
public interface IValueConverterManager
|
|
{
|
|
public void AddConverter<TSource, TTarget>(IValueConverter<TSource, TTarget> converter);
|
|
public bool CanConvert<TSource, TTarget>();
|
|
public bool CanConvert(Type sourceType, Type targetType);
|
|
|
|
public bool TryConvert<TSource, TTarget>(TSource source, out TTarget target);
|
|
public bool TryConvert(Type sourceType, Type targetType, object source, out object target);
|
|
}
|
|
} |