using System; using System.Collections.Generic; using System.Text; namespace BlueWest.Data { class DataQueryResult { } internal sealed class PositiveResult : DataQueryResult { public readonly T Value; public PositiveResult(T value) { Value = value; } } internal sealed class NegativeResult : DataQueryResult { public readonly string UserMessage; public NegativeResult(string userMessage) { UserMessage = userMessage; } } }