Show More
Commit Description:
Add colors and handle multiple series.
Commit Description:
Add colors and handle multiple series.
References:
File last commit:
Show/Diff file:
Action:
encompass-cs/encompass-cs/Attributes/QueryWith.cs
20 lines | 489 B | text/x-csharp | CSharpLexer
20 lines | 489 B | text/x-csharp | CSharpLexer
r169 | 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); | ||||
} | ||||
} | ||||
} | ||||
} | ||||