2020-06-30 12:48:39 +02:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
|
|
|
|
----
|
|
|
|
<ServiceContract>
|
|
|
|
Interface IMyService
|
|
|
|
<OperationContract(IsOneWay:=True)>
|
|
|
|
Function SomethingHappened(ByVal parameter As Integer) As Integer ' Noncompliant
|
|
|
|
End Interface
|
|
|
|
----
|
|
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
|
|
|
|
----
|
|
|
|
<ServiceContract>
|
|
|
|
Interface IMyService
|
|
|
|
<OperationContract(IsOneWay:=True)>
|
|
|
|
Sub SomethingHappened(ByVal parameter As Integer)
|
|
|
|
End Interface
|
|
|
|
----
|
|
|
|
|
|
|
|
include::../exceptions.adoc[]
|
2021-09-20 15:38:42 +02:00
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
|
|
|
|
'''
|
|
|
|
== Implementation Specification
|
|
|
|
(visible only on this page)
|
|
|
|
|
|
|
|
include::../message.adoc[]
|
|
|
|
|
|
|
|
include::../highlighting.adoc[]
|
|
|
|
|
|
|
|
endif::env-github,rspecator-view[]
|