protected syncFrom ( object other, string name ) : void | ||
other | object | The instance to sync from |
name | string | The name of the property to sync |
Результат | void |
protected override void syncFrom(object other, string name)
{
var di = other as DeviceInfo;
if(di != null)
{
switch (name)
{
case "DatabaseRevision":
this.DatabaseRevision = di.DatabaseRevision;
break;
default:
base.syncFrom(di, name);
break;
}
}
}