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

CTL-840: Expose.Attribute in VS 2015 for PropertyName{get;} #835

Closed
GeertvanHorrik opened this issue Feb 18, 2016 · 4 comments
Closed

CTL-840: Expose.Attribute in VS 2015 for PropertyName{get;} #835

GeertvanHorrik opened this issue Feb 18, 2016 · 4 comments
Assignees

Comments

@GeertvanHorrik
Copy link
Member

Jira issue originally created by user silyinnur:

in VS 2015 we can write PropertyName{get;} and init property in ctor.

// ViewModel try Exception 
[Model]
[Expose("Name")]
public AnyType PropertyName{get;}

// this is OK
[Model]
[Expose("Name")]
public AnyType PropertyName{get;set;}
@GeertvanHorrik
Copy link
Member Author

Comment created by @GeertvanHorrik:

Thanks for reporting. Will look into it when I have more time, but for now there is a good workaround by specifying the setter.

@GeertvanHorrik GeertvanHorrik added this to the 5.0.0 milestone Apr 12, 2017
@GeertvanHorrik GeertvanHorrik self-assigned this Apr 12, 2017
@GeertvanHorrik
Copy link
Member Author

@mkhomutov can you try to repro this one?

@GeertvanHorrik
Copy link
Member Author

Closing since this one is related to Catel.Fody instead of Catel.

@GeertvanHorrik GeertvanHorrik removed this from the 5.0.0 milestone May 31, 2017
@lock
Copy link

lock bot commented Aug 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant