blob: eafbc0c20baa793abbb885c8c062653ee9ef4d3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// -----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// -----------------------------------------------------------------------
using System;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using Microsoft.Internal;
namespace System.ComponentModel.Composition
{
internal class CompositionErrorDebuggerProxy
{
private readonly CompositionError _error;
public CompositionErrorDebuggerProxy(CompositionError error)
{
Requires.NotNull(error, "error");
this._error = error;
}
public string Description
{
get { return this._error.Description; }
}
public Exception Exception
{
get { return this._error.Exception; }
}
public ICompositionElement Element
{
get { return this._error.Element; }
}
}
}
|