public override EventBeanCopyMethod GetCopyMethod(String[] properties) { BaseNestableEventUtil.MapIndexedPropPair pair = BaseNestableEventUtil.GetIndexedAndMappedProps(properties); if (pair.MapProperties.IsEmpty() && pair.ArrayProperties.IsEmpty()) { return(new ObjectArrayEventBeanCopyMethod(this, EventAdapterService)); } else { return(new ObjectArrayEventBeanCopyMethodWithArrayMap( this, EventAdapterService, pair.MapProperties, pair.ArrayProperties, PropertiesIndexes)); } }
public override EventBeanCopyMethodForge GetCopyMethodForge(string[] properties) { var pair = BaseNestableEventUtil.GetIndexedAndMappedProps(properties); if (pair.MapProperties.IsEmpty() && pair.ArrayProperties.IsEmpty()) { return new ObjectArrayEventBeanCopyMethodForge(this, BeanEventTypeFactory.EventBeanTypedEventFactory); } return new ObjectArrayEventBeanCopyMethodWithArrayMapForge( this, pair.MapProperties, pair.ArrayProperties, PropertiesIndexes); }