mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 13:28:33 +00:00
Core - Fix node related warnings
This commit is contained in:
parent
6adcae94b4
commit
313b4a0dea
@ -63,6 +63,11 @@ public abstract class NodeProvider : PluginFeature
|
||||
NodeTypeStore.Add(nodeData);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds a color for lines of the provided type.
|
||||
/// </summary>
|
||||
/// <param name="color">The color to add.</param>
|
||||
/// <typeparam name="T">The type to use the color for.</typeparam>
|
||||
protected TypeColorRegistration RegisterTypeColor<T>(SKColor color)
|
||||
{
|
||||
return NodeTypeStore.AddColor(typeof(T), color, this);
|
||||
|
||||
@ -18,7 +18,7 @@ public interface INode : INotifyPropertyChanged, IBreakableModel
|
||||
/// <summary>
|
||||
/// Gets
|
||||
/// </summary>
|
||||
NodeData? NodeData { get; set; }
|
||||
NodeData NodeData { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the node
|
||||
|
||||
@ -149,7 +149,5 @@ public class NodeData
|
||||
/// </summary>
|
||||
public Type? OutputType { get; }
|
||||
|
||||
private readonly Func<INodeScript, NodeEntity?, INode> _create;
|
||||
|
||||
#endregion
|
||||
}
|
||||
@ -28,8 +28,8 @@ public class NodeEntity
|
||||
}
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public string Type { get; set; }
|
||||
public string ProviderId { get; set; }
|
||||
public string Type { get; set; } = string.Empty;
|
||||
public string ProviderId { get; set; } = string.Empty;
|
||||
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user