Beispiel #1
0
 protected IEnumerable <IPropertyDefinition> AllProperties(object source)
 {
     return(MicroModelExtensions.AllProperties(this, source));
 }
Beispiel #2
0
 protected ICollectionDefinition <TElement> Collection <TElement>(string propertyName, Expression <Func <IEnumerable <TElement> > > items)
 {
     return(MicroModelExtensions.Collection(this, propertyName, items));
 }
Beispiel #3
0
 protected IPropertyDefinition Command <TCommandParameter>(string commandPropertyName, Action <TCommandParameter> executedCallback, Func <TCommandParameter, bool> canExecuteCallback)
 {
     return(MicroModelExtensions.Command(this, commandPropertyName, executedCallback, canExecuteCallback));
 }
Beispiel #4
0
 protected IPropertyDefinition Command(string commandPropertyName, Action executedCallback)
 {
     return(MicroModelExtensions.Command(this, commandPropertyName, executedCallback));
 }
Beispiel #5
0
 protected IPropertyDefinition Property <TProperty>(Expression <Func <TProperty> > propertyGetter)
 {
     return(MicroModelExtensions.Property(this, propertyGetter));
 }
Beispiel #6
0
 protected IPropertyDefinition Property <TProperty>(string propertyName, Expression <Func <TProperty> > getPropertyCallback)
 {
     return(MicroModelExtensions.Property(this, propertyName, getPropertyCallback));
 }
Beispiel #7
0
 protected IPropertyDefinition Property(string propertyName, Type propertyType, Expression <Func <object> > getPropertyCallback, Func <object, object> setPropertyCallback)
 {
     return(MicroModelExtensions.Property(this, propertyName, propertyType, getPropertyCallback, setPropertyCallback));
 }