//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.XamlIntegration { using System; using System.Activities; using System.Collections.Generic; using System.Collections.ObjectModel; public class TextExpressionCompilerResults { ReadOnlyCollection messages; internal TextExpressionCompilerResults() { } public Type ResultType { get; internal set; } public bool HasErrors { get; internal set; } public bool HasSourceInfo { get; internal set; } public ReadOnlyCollection CompilerMessages { get { return this.messages; } } internal void SetMessages(IList messages, bool hasErrors) { this.messages = new ReadOnlyCollection(messages); this.HasErrors = hasErrors; } } }