|
/*
Copyright (c) 2004, Marc Clifton
All rights reserved.
Usage restricted under the terms of the BSD License conditions:
http://opensource.org/licenses/bsd-license.php
*/
using System;
using System.Drawing;
using System.Reflection;
namespace XmlGuiGenerator
{
public class ObjectModel : PropertyModelBase
{
public override void SetValue(object obj, PropertyInfo pi, string val)
{
try
{
pi.SetValue(obj, val, null);
}
catch
{
throw new PropertySetException("ObjectModel setter failed.");
}
}
}
}
|
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.