Batch Operations

These are the topics you'll find covered on this page:

Setting fields

Type SetFields( Type type, object sample, params string[] propertiesToInclude );
Type SetFields( Type type, object sample, Flags bindingFlags, params string[] propertiesToInclude );
object SetFields( object obj, object sample, params string[] propertiesToInclude );
object SetFields( object obj, object sample, Flags bindingFlags, params string[] propertiesToInclude );

void CopyFields( object source, object target );
void CopyFields( object source, object target, Flags bindingFlags );

Setting properties

Type SetProperties( Type type, object sample, params string[] propertiesToInclude );
Type SetProperties( Type type, object sample, Flags bindingFlags, params string[] propertiesToInclude );
object SetProperties( object obj, object sample, params string[] propertiesToInclude );
object SetProperties( object obj, object sample, Flags bindingFlags, params string[] propertiesToInclude );

void CopyProperties( object source, object target );
void CopyProperties( object source, object target, Flags bindingFlags );

Last edited Mar 5, 2010 at 7:58 PM by mertner, version 1

Comments

No comments yet.