delphimvcframework icon indicating copy to clipboard operation
delphimvcframework copied to clipboard

Introduce new clone function with the ability to skip fields

Open rosch100 opened this issue 5 years ago • 1 comments
trafficstars

New class function: class function Clone<T: TCustomAttribute>(AObject: TObject): TObject; overload; static; This clone function skips fields with the TCustomAttribute.

I tested the code and I also hope that the formatting is now correct.

rosch100 avatar May 19 '20 14:05 rosch100

Nice, however the Generic type is used like a parametere here AFAIK. Can you change it using a plain parameter?

danieleteti avatar Jun 23 '20 10:06 danieleteti