Code/Dependencies/DotNetGraph/Attributes/DotAttribute.cs
using System.Threading.Tasks;
using Nodebox.Dependencies.DotNetGraph.Compilation;

namespace Nodebox.Dependencies.DotNetGraph.Attributes {
    public class DotAttribute : IDotAttribute {
        public string Value { get; set; }

        public DotAttribute(string value) {
            Value = value;
        }

        public async Task CompileAsync(CompilationContext context) {
            await context.WriteAsync(Value);
        }
    }
}