~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Debugger/Debugger.AddIn/Visualizers/Common/ObjectProperty.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the BSD license (for details please see \src\AddIns\Debugger\Debugger.AddIn\license.txt)
 
3
 
 
4
using System;
 
5
using ICSharpCode.NRefactory.Ast;
 
6
 
 
7
namespace Debugger.AddIn.Visualizers
 
8
{
 
9
        /// <summary>
 
10
        /// Property  of an object, in string form.
 
11
        /// </summary>
 
12
        public class ObjectProperty
 
13
        {
 
14
                /// <summary>
 
15
        /// e.g. "Age"
 
16
        /// </summary>
 
17
        public string Name { get; set; }
 
18
        
 
19
        /// <summary>
 
20
        /// e.g. "19"
 
21
        /// </summary>
 
22
        public string Value { get; set; }
 
23
        
 
24
        /// <summary>
 
25
        /// Expression used for obtaining value of this property
 
26
        /// </summary>
 
27
        public Expression Expression { get; set; }
 
28
        
 
29
        /// <summary>
 
30
        /// Is this property of atomic type? (int, string, etc.)
 
31
        /// </summary>
 
32
        public bool IsAtomic { get; set; }
 
33
        
 
34
        /// <summary>
 
35
        /// Is this property value null? Only meaningful if <see cref="IsAtomic"/> is false.
 
36
        /// </summary>
 
37
        public bool IsNull { get; set; }
 
38
        }
 
39
}