Ok, ecco alcuni punti facili. PyBinding è arrivato con questo script:La stringa è nulla o vuota
def IsNotNull(value):
return value is not None
È vicino, ma quello che voglio è questo.
bool IsNotNullOrEmpty(string value) {
return (value != null) && (value.Length > 0);
}
Bene, .NET include String.IsNullOrEmpty. Funzionerebbe? – ojrac