C# 9 Guideline Proposals
@Keboo ci sta già lavorando.
Dal 23/12/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
- CONSIDER using records over classes
Unless:- Inheritance chains with classes are required
- The identity of the object is not based of the value of all its fields
- The type is in a public API that may be consumed by older versions of C#
- AVOID positional records when validation of positional members is required
- CONSIDER using init properties instead of readonly properties for optional values
- DO define a constructor to allow setting init properties for backwards compatibility with pre-C# 9
- DO name record positional parameter with PascalCase
- Lingua principale
- C#
- Stelle
- 12
- Fork
- 16
- Merge medio
- 2m
- PR unite (30g)
- 7
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di IntelliTect/CodingGuidelines
-
Overriding ToString() Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
IntelliTect/CodingGuidelines#290 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
IntelliTect/CodingGuidelines#253 ·
-
.editorconfig C# coding guidelines proposal
IntelliTect/CodingGuidelines#249 · 6 commenti · 1 reazione · 2 assegnatari ·
-
INTL0001 when using records Apertaanalyzer C# coding guidelines proposal
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
IntelliTect/CodingGuidelines#231 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
IntelliTect/CodingGuidelines#230 ·
Tutte le issue di IntelliTect/CodingGuidelines
Issue simili
-
core dependencies
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
-
bug frontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
NavigationViewItemAutomationPeer implements IInvokeProvider but never advertises the Invoke pattern Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
unoplatform/uno#24629 ·
-
agentic-workflows Needs: Triage :mag: State: In-PR
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Down / Waiting for removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100