Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICalculation #53

Open
AlBal2 opened this issue Nov 25, 2024 · 1 comment
Open

ICalculation #53

AlBal2 opened this issue Nov 25, 2024 · 1 comment
Assignees

Comments

@AlBal2
Copy link
Member

AlBal2 commented Nov 25, 2024

Need to ensure setter on ICalculation.Type is not public. Tried making it 'internal set' but that doesn't work as when implementing the Interface outside of the defining class it throws an error.

@kpne
Copy link
Member

kpne commented Nov 25, 2024

Remove set from the interface

public string Type { get; set; }

public string Type { get; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants