Created
July 31, 2010 17:09
-
-
Save jasmarc/502383 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Put.Usings.Here; | |
namespace Your.Namespace.Here | |
{ | |
public class CommonPolicyDeclarationWrapper : BaseWrapper | |
{ | |
private CommonPolicyDeclaration _commonPolicyDeclaration; | |
internal CommonPolicyDeclarationWrapper(CommonPolicyDeclaration commonPolicyDeclaration) | |
{ | |
_commonPolicyDeclaration = commonPolicyDeclaration; | |
} | |
public string Description | |
{ | |
get { return _commonPolicyDeclaration.Description; } | |
set | |
{ | |
if (ValueChanged(_commonPolicyDeclaration.Description, value)) | |
{ | |
_commonPolicyDeclaration.Description = value; | |
NotifyPropertyChanged("Description"); | |
} | |
} | |
} | |
public int StatusCode | |
{ | |
get { return _commonPolicyDeclaration.StatusCode; } | |
set | |
{ | |
if (ValueChanged(_commonPolicyDeclaration.StatusCode, value)) | |
{ | |
_commonPolicyDeclaration.StatusCode = value; | |
NotifyPropertyChanged("StatusCode"); | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment