Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkatsiaryna_bialiatka <katsiaryna_bialiatka@epam.com>2018-06-08 15:58:17 +0300
committerkatsiaryna_bialiatka <katsiaryna_bialiatka@epam.com>2018-06-08 15:58:17 +0300
commit59459f1de8394c8110c2fddbeb8d65f8741a8122 (patch)
tree7a7aadda3ab69cc983e6b4154753e8b47deeaaf7 /mdoc/mdoc.Test/mdoc.Test.FSharp
parent111914edcbdf705aa44cfaeadabf343e3e3ea052 (diff)
Fix Eii property names for VB
Apply fix to have interface name in signature Fix ecma importers + slash doc importers Add unit and integration tests Addnew attribute for custom Eii name + fix xsd schema Closes #92
Diffstat (limited to 'mdoc/mdoc.Test/mdoc.Test.FSharp')
-rw-r--r--mdoc/mdoc.Test/mdoc.Test.FSharp/Interfaces.fs5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdoc/mdoc.Test/mdoc.Test.FSharp/Interfaces.fs b/mdoc/mdoc.Test/mdoc.Test.FSharp/Interfaces.fs
index 3d279d76..a8a05d02 100644
--- a/mdoc/mdoc.Test/mdoc.Test.FSharp/Interfaces.fs
+++ b/mdoc/mdoc.Test/mdoc.Test.FSharp/Interfaces.fs
@@ -5,12 +5,12 @@
// as shown in the following code.
type IPrintable =
abstract member Print : unit -> unit
+ abstract member MyReadOnlyProperty :int
type SomeClass1(x: int, y: float) =
interface IPrintable with
member this.Print() = printfn "%d %f" x y
-
-
+ member this.MyReadOnlyProperty = 10
// To call the interface method when you have an object of type SomeClass,
// you must upcast the object to the interface type, as shown in the following code.+
@@ -24,6 +24,7 @@ type SomeClass2(x: int, y: float) =
member this.Print() = (this :> IPrintable).Print()
interface IPrintable with
member this.Print() = printfn "%d %f" x y
+ member this.MyReadOnlyProperty = 10
let x2 = new SomeClass2(1, 2.0)
x2.Print()