Version du 12 janvier 2012 à 15:44
Les règles
Macros
$(PropertyName.Words.All)
|
add item CMD
|
$(PropertyName.Words.AllAsSentence)
|
Add item CMD
|
$(PropertyName.Words.BetweenFirstAndLast)
|
item
|
$(PropertyName.Words.ExceptFirst)
|
item CMD
|
$(PropertyName.Words.ExceptLast)
|
add item
|
$(PropertyName.Words.First)
|
add
|
$(PropertyName.Words.FirstAsStartOfSentence)
|
Add
|
$(PropertyName.Words.Last)
|
CMD
|
$(PropertyName.Words.TheAndAll)
|
the add item CMD
|
$(PropertyName.Words.TheAndAllAsSentence)
|
The add item CMD
|
$(PropertyName.Words.TheAndFirst)
|
the add
|
$(PropertyName.Words.TheAndFirstAsStartOfSentence)
|
The add
|
Exemple
Les propriétés de type Command
Condition sur le Type : ends with Command
<summary/> : The command to $(PropertyName.Words.ExceptLast).
Fichier:Csharp.png
|
/// <summary>
/// The command to add item
/// </summary>
public RelayCommand AddItemCmd { get; set; }
|
Les classes VM
Condition sur le nom de la classe : ends with VM
<summary/> : A View-Model for $(TypeName.Words.Verbatim.ExceptLast)View.
Fichier:Csharp.png
|
/// <summary>
/// A View-Model for StreamMaterialDataView.
/// </summary>
public class StreamMaterialDataVM : INotifyPropertyChanged
|