dotnet / dotnet/vblang

Interface Constructor

Open
#143 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Not even sure if this is a vb or .net thing. I would like to be able to define a specific exception to no constructors in interfaces. Yes I know we have MustInherit or abstract classes.

Example:
```vb
Public Interface IPluginSettingKey
Property SettingID As Guid
Property Name As String
Property PluginID As Guid
Property WebhookID As Long?

Sub New(SettingKey as IPluginSettingKey)

End Interface
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.