C# Class Thinktecture.Tools.Web.Services.CodeGeneration.Decorators.AutoSetSpecifiedPropertiesDecorator

Automatically set the ___Specified property to true when setter on matching property is called.
Inheritance: ICodeDecorator
Mostra file Open project: WSCF/WSCF

Public Methods

Method Description
Decorate ( ExtendedCodeDomTree code, CustomCodeGenerationOptions options ) : void

Applies the decorator to the extended CodeDom tree.

Private Methods

Method Description
FindMatchingSpecifiedProperty ( CodeTypeExtension type, string propertyName ) : CodeMemberProperty

Method Details

Decorate() public method

Applies the decorator to the extended CodeDom tree.
public Decorate ( ExtendedCodeDomTree code, CustomCodeGenerationOptions options ) : void
code ExtendedCodeDomTree The extended CodeDom tree.
options CustomCodeGenerationOptions The custom code generation options.
return void