First commit
This commit is contained in:
9
Runtime/Contracts/IGraphProcessor.cs
Normal file
9
Runtime/Contracts/IGraphProcessor.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Misaki.GraphView
|
||||
{
|
||||
public interface IGraphProcessor
|
||||
{
|
||||
public void UpdateComputeOrder();
|
||||
|
||||
public void Execute();
|
||||
}
|
||||
}
|
||||
3
Runtime/Contracts/IGraphProcessor.cs.meta
Normal file
3
Runtime/Contracts/IGraphProcessor.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bba2b93e514c43089c476c3c20181540
|
||||
timeCreated: 1730452851
|
||||
8
Runtime/Contracts/IValueConverter.cs
Normal file
8
Runtime/Contracts/IValueConverter.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Misaki.GraphView
|
||||
{
|
||||
public interface IValueConverter<TSource, TTarget>
|
||||
{
|
||||
public TTarget ConvertTo(TSource source);
|
||||
public TSource ConvertBack(TTarget target);
|
||||
}
|
||||
}
|
||||
2
Runtime/Contracts/IValueConverter.cs.meta
Normal file
2
Runtime/Contracts/IValueConverter.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c1ecd0b335641f68251f7ee19383dc2
|
||||
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);
|
||||
}
|
||||
}
|
||||
3
Runtime/Contracts/IValueConverterManager.cs.meta
Normal file
3
Runtime/Contracts/IValueConverterManager.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f5db15efa32045c686ecb830d8a61c39
|
||||
timeCreated: 1730122807
|
||||
Reference in New Issue
Block a user