Opalis Quick Integration Kit
3.0
Assembly: Opalis.QuickIntegrationKit(in Opalis.QuickIntegrationKit.dll) Version: 3.0.0.0 (3.1.0.1)
The OpalisMethod attribute marks a method
inside a class that has already been marked as an OpalisObject, as
a method that should be run when the object is invoked by Opalis
Integration Server.
Namespace:
Opalis.QuickIntegrationKit
Assembly: Opalis.QuickIntegrationKit(in Opalis.QuickIntegrationKit.dll) Version: 3.0.0.0 (3.1.0.1)
Syntax
Remarks
You can mark as many methods with the OpalisMethod attribute as required, although the order in which they will be invoked by Opalis Integration Server is undefined.
Methods marked with the OpalisMethod attribute must be public, take no parameters and return void.
Examples
CopyC#
using Opalis.QuickIntegrationKit; using System.IO.File; [OpalisObject( "Copy File")] public class CopyFile { private FileInfo source; private FileInfo destination; private bool overwrite; [OpalisInput] public FileInfo Source { set { source = value; } } [OpalisInput] public FileInfo Destination { set { destination = value; } } [OpalisInput] public Boolean Overwrite { set { overwrite = value; } } [OpalisMethod] public void Run() { source.CopyTo(destination, overwrite); } }
Inheritance Hierarchy
System
.
.
::
.
Object
System . . :: . Attribute
Opalis.QuickIntegrationKit . . :: . OpalisMethodAttribute
System . . :: . Attribute
Opalis.QuickIntegrationKit . . :: . OpalisMethodAttribute