public override void AssignToProperty(object obj, PropertyDefinition property) { if (property.CanSet) property.SetOn(obj, GetTypedValue(collectionDef)); else if (property.CanGet) PopulateCollection(collectionDef, property.GetFrom(obj)); }
public override void AssignToProperty(object obj, PropertyDefinition property) { if (property.CanSet) { property.SetOn(obj, GetTypedValue()); } else if (property.CanGet) { typedDictionary = property.GetFrom(obj) as IDictionary; PopulateDictionary(); } }
public override void AssignToProperty(object obj, PropertyDefinition property) { property.SetOn(obj, GetTypedValue()); }
public void AssignToProperty(object obj, PropertyDefinition property) { property.SetOn(obj, value); }