Mar 19, 2009 at 9:16 AM
Edited Mar 19, 2009 at 10:04 AM
I'm using the pipeline for a solution and need to repreent a number of strongly-typed objects as paramters accross the boundary in contracts, etc. For example:
IUploader : System.AddIn.Contract.IContract
void UploadFilesToServer(String server);
void UploadDataToSqlServer(String server,
String database, MyType myDataType);
Is there a best practise to approach this (e.g. generics), e.g. do I have to create a copy of MyType on both sides of the boundary? Many of the parmaters and types used in samples are primitive types such as double, etc.