public IPropertyModuleInstance Add(Guid id) { IPropertyModuleInstance instance = null; if (!_items.ContainsKey(id)) { instance = Modules.ModuleManagement.GetProperty(id); if (instance != null) { instance.Owner = _owner; instance.SetDefaultValues(); _items[id] = instance; PropertyData.AssignModuleTypeData(instance); } } return(instance); }