Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

53 lines
1.3 KiB
C#

//-----------------------------------------------------------------------------
// 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<TextExpressionCompilerError> messages;
internal TextExpressionCompilerResults()
{
}
public Type ResultType
{
get;
internal set;
}
public bool HasErrors
{
get;
internal set;
}
public bool HasSourceInfo
{
get;
internal set;
}
public ReadOnlyCollection<TextExpressionCompilerError> CompilerMessages
{
get
{
return this.messages;
}
}
internal void SetMessages(IList<TextExpressionCompilerError> messages, bool hasErrors)
{
this.messages = new ReadOnlyCollection<TextExpressionCompilerError>(messages);
this.HasErrors = hasErrors;
}
}
}