First commit
This commit is contained in:
15
Runtime/Contracts/IValueConverterManager.cs
Normal file
15
Runtime/Contracts/IValueConverterManager.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user