|
Listing 22-20 extracted from chapter
.NET Remoting
Listing 22-19< > Listing 22-21
This listing can be compiled with the command line: csc.exe /out:Interface.dll /target:library Example_22_20_to_rename_Interface.cs Errors: 0 Warnings: 0
Example_22_20_to_rename_Interface.cs
namespace RemotingInterfaces {
public interface IAdder {
double Add( double d1, double d2 );
}
public interface IMultiplier {
double Mult( double d1, double d2 );
}
public interface IDivider {
double Div( double d1, double d2 );
}
public interface IFactory {
IAdder BuildNewAdder();
IMultiplier BuildNewMultiplier();
IDivider BuildNewDivider();
}
}
Copyright Patrick Smacchia 2006 2007
|