- XamlPatterns_v1.1.0.0.zip
- Controls
- Core
- docu
- Program
- Pub
- Desktop.Debug
- Itenso.Community.XamlPatterns.Controls.dll
- Itenso.Community.XamlPatterns.dll
- Desktop.Release
- Itenso.Community.XamlPatterns.Controls.dll
- Itenso.Community.XamlPatterns.dll
- Silverlight.Debug
- Itenso.Community.XamlPatterns.Controls.dll
- Itenso.Community.XamlPatterns.dll
- Silverlight.Release
- Itenso.Community.XamlPatterns.Controls.dll
- Itenso.Community.XamlPatterns.dll
- WindowsPhone.Debug
- Itenso.Community.XamlPatterns.Controls.dll
- Itenso.Community.XamlPatterns.dll
- WindowsPhone.Release
- Itenso.Community.XamlPatterns.Controls.dll
- Itenso.Community.XamlPatterns.dll
- XamlPatterns.Desktop.sln
- XamlPatterns.Desktop.suo
- XamlPatterns.Silverlight.sln
- XamlPatterns.Silverlight.suo
- XamlPatterns.WindowsPhone.sln
- XamlPatterns.WindowsPhone.suo
|
// -- FILE ------------------------------------------------------------------
// name : TypeModel.cs
// project : Itenso Community
// created : Jani Giannoudis - 2012.05.05
// language : c#
// environment: .NET 4.0
// copyright : (c) 2004-2012 by Itenso GmbH, Switzerland
// --------------------------------------------------------------------------
using System;
namespace Itenso.Community.XamlPatterns.Program.Examples.AssemblyBrowser.ViewModel
{
// ------------------------------------------------------------------------
public class TypeModel : ReflectionModel
{
// ----------------------------------------------------------------------
public TypeModel( ReflectionModel parent, Type type ) :
base( parent, type.Name )
{
this.type = type;
} // TypeModel
// ----------------------------------------------------------------------
public Type Type
{
get { return type; }
} // Type
// ----------------------------------------------------------------------
protected override bool DoLoad()
{
Children.Add( new PropertyCollectionModel( this, "Properties", type ) );
Children.Add( new FieldCollectionModel( this, "Fields", type ) );
Children.Add( new MethodCollectionModel( this, "Methods", type ) );
return true;
} // DoLoad
// ----------------------------------------------------------------------
// members
private readonly Type type;
} // class TypeModel
} // namespace Itenso.Community.XamlPatterns.Program.Examples.AssemblyBrowser.ViewModel
// -- EOF -------------------------------------------------------------------
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
👨 Senior .NET Software Engineer
🚀 My Open Source Projects
-
Time Period Library 👉
GitHub
-
Payroll Engine 👉
GitHub
Feedback and contributions are welcome.