Commit Description:
Add colors and handle multiple series.
Commit Description:
Add colors and handle multiple series.
Show/Diff file:
Action:
encompass-cs/encompass-cs/Attributes/QueryWith.cs
20 lines | 489 B | text/x-csharp | CSharpLexer
using Encompass.Exceptions;
using System;
using System.Collections.Generic;
namespace Encompass
{
[AttributeUsage(AttributeTargets.Class)]
public class QueryWith : Attribute
{
public readonly HashSet<Type> QueryWithTypes = new HashSet<Type>();
public QueryWith(params Type[] queryWithTypes)
{
foreach (var queryWithType in queryWithTypes)
{
QueryWithTypes.Add(queryWithType);
}
}
}
}