Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
compcode [2007/06/13 05:40] – lavirotte | compcode [2011/01/05 14:43] – minor spelling fixes hourdin | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Source Code ===== | ===== Source Code ===== | ||
- | Here is the sample code of a component in c# (save this to a le called | + | Here is a sample code of a component in C# (save this to a file called |
<code csharp> | <code csharp> | ||
- | using WComp.Beans; | + | using WComp.Beans; |
using System.Threading; | using System.Threading; | ||
Line 46: | Line 46: | ||
// This is the signature of the output method | // This is the signature of the output method | ||
public event Output_Sample_Signature Output_Sample; | public event Output_Sample_Signature Output_Sample; | ||
- | // The output port is the event (before) | + | // The output port is the event, named here Output_Sample |
// --- End: Output port sample --- | // --- End: Output port sample --- | ||
} | } | ||
Line 56: | Line 56: | ||
===== Compilation ===== | ===== Compilation ===== | ||
- | Here is a sample of the command line compilation : | + | Here is a sample of the command line compilation: |
< | < | ||
- | csc.exe / | + | csc.exe / |
</ | </ | ||
- | You will find Bean.dll in the WComp distrib. | + | You will find Beans.dll in the SharpWComp |