Remove "this" in result of nameof.full
See original GitHub issueIt’s far easier to be able to do the following when using nameof
in the same class. It’s also impossible to reference private properties when referring interfaces
class Test{
private x:Test;
public y: Test;
public z: string;
nameof(this.x) // "x"
nameof(this.x.y) // "y"
nameof.full(this.x.y.z) "x.y.z"
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Why does nameof return only last name? - Stack Overflow
Note that if you need/want the "full" name, you could do this: $"{nameof(order)}.{nameof(User)}.{nameof(Age)}".GetLastName();. as long as all of these names ...
Read more >Remove and RemoveIf functions in Power Apps
Use the RemoveIf function to remove a record or records based on a condition or a set ... The result may not represent...
Read more >C# Nameof Operator Explained - Pluralsight
The nameof operator takes a code element then it returns a string literal with the same name. ... This gives us the following...
Read more >Remove Hidden Data in Microsoft Excel - Marquette University
Click Inspect to identify hidden content, and then click Remove All to remove the item of your choice. Review the document inspection results....
Read more >MRSA - NHS
The full name of MRSA is methicillin-resistant Staphylococcus aureus. ... it's unlikely you'll be contacted about the result and you should follow the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Kukks this is in version 0.8. Let me know if you have any issues.
@Kukks cool. Thanks for spurring this idea and for your feedback! I like this addition and it being backwards compatible is a plus.
I’ll implement this over the weekend. I’m closing this in favour of #12.