First commit

This commit is contained in:
Misaki
2024-11-02 17:58:52 +09:00
commit e645a5327b
153 changed files with 3729 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
namespace Misaki.GraphView
{
public interface IGraphProcessor
{
public void UpdateComputeOrder();
public void Execute();
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: bba2b93e514c43089c476c3c20181540
timeCreated: 1730452851

View File

@@ -0,0 +1,8 @@
namespace Misaki.GraphView
{
public interface IValueConverter<TSource, TTarget>
{
public TTarget ConvertTo(TSource source);
public TSource ConvertBack(TTarget target);
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 5c1ecd0b335641f68251f7ee19383dc2

View 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);
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: f5db15efa32045c686ecb830d8a61c39
timeCreated: 1730122807