/// <inheritdoc /> protected override void CloneCore(Cloneable source) { }
/// <summary> /// Makes the instance a clone (deep copy) of the specified <see cref="Telerik.Data.Core.Cloneable"/>. /// </summary> /// <param name="source">The object to clone.</param> /// <remarks>Notes to Inheritors /// If you derive from <see cref="Telerik.Data.Core.Cloneable"/>, you need to override this method to copy all properties. /// It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties). /// </remarks> protected abstract void CloneOverride(Cloneable source);
/// <inheritdoc /> protected sealed override void CloneCore(Cloneable source) { base.CloneCore(source); this.CloneOverride(source); }
/// <summary> /// Makes the instance a clone (deep copy) of the specified <see cref="Telerik.Data.Core.Cloneable"/>. /// </summary> /// <param name="source">The object to clone.</param> /// <remarks>Notes to Inheritors /// If you derive from <see cref="Telerik.Data.Core.Cloneable"/>, you may need to override this method to copy all properties. /// It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties). /// </remarks> protected abstract void CloneCore(Cloneable source);
protected override void CloneCore(Cloneable source) { var delegateGroupFilter = source as DelegateGroupFilter; this.FilterImpl = delegateGroupFilter.FilterImpl; }