public void Configure(IActivityMonitor monitor, IStObjMutableItem o) { if (o.ClassType == typeof(BaseObjectAmbient)) { o.SetAmbientPropertyValue(monitor, "OneStringValue", "Pouf", "ConfiguratorOneStringValueSetToPouf"); } }
public void Configure(IActivityMonitor monitor, IStObjMutableItem o) { if (o.ClassType == typeof(SimpleObjectDirect)) { o.SetDirectPropertyValue(monitor, "OneIntValue", 42, "ConfiguratorOneIntValueSetTo42"); } if (o.ClassType == typeof(SimpleObjectAmbient)) { o.SetAmbientPropertyValue(monitor, "OneIntValue", 42, "ConfiguratorOneIntValueSetTo42"); } }
public void Configure(IActivityMonitor monitor, IStObjMutableItem o) { o.SetAmbientPropertyValue(monitor, PropertyName, PropertyValue, sourceDescription: "AmbientPropertySetAttribute"); }