[fpc-devel] property syntax extension

Inoussa OUEDRAOGO inoussa12 at gmail.com
Thu Oct 18 19:29:36 CEST 2007


Another usage sample at http://dn.codegear.com/article/36962
In the document, the  "[ServiceContract]" is used by the .Net runtime
to define service
interface( see bellow ).

type
  [ServiceContract]
  ISimpleCalc = interface

    [OperationContract]
    function Add(a, b: integer): integer;

    [OperationContract]
    function Subtract(a, b: integer): integer;

  end;

-- 
Inoussa O.



More information about the fpc-devel mailing list