1 // -----------------------------------------------------------------------
\r
2 // Copyright (c) Microsoft Corporation. All rights reserved.
\r
3 // -----------------------------------------------------------------------
\r
5 using System.ComponentModel.Composition.Hosting;
\r
6 using System.ComponentModel.Composition.Primitives;
\r
7 using Microsoft.Internal;
\r
9 namespace System.ComponentModel.Composition
\r
11 internal class CompositionErrorDebuggerProxy
\r
13 private readonly CompositionError _error;
\r
15 public CompositionErrorDebuggerProxy(CompositionError error)
\r
17 Requires.NotNull(error, "error");
\r
19 this._error = error;
\r
22 public string Description
\r
24 get { return this._error.Description; }
\r
27 public Exception Exception
\r
29 get { return this._error.Exception; }
\r
32 public ICompositionElement Element
\r
34 get { return this._error.Element; }
\r