C# Class Dev2.Studio.Core.AppResources.ExtensionMethods.ModelPropertyCollectionExtensions

Show file Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
SetValue ( this properties, string propertyName, object value ) : void

Sets the value of a property with in a model properties collection, if the property doesn't exist no action is taken.

Method Details

SetValue() public static method

Sets the value of a property with in a model properties collection, if the property doesn't exist no action is taken.
public static SetValue ( this properties, string propertyName, object value ) : void
properties this The model property collection.
propertyName string Name of the property to set.
value object The value to set.
return void