private void LinkLabelTextBoxLoad(object sender, EventArgs e) { int index = PropertyName.IndexOf("_", StringComparison.Ordinal); if (_entry == null) { PropertyName = PropertyName.Substring(0, index); return; } PropertyValue = _entry.GetType().GetProperty(PropertyName).GetValue(_entry); _propertyName = PropertyName; PropertyName = PropertyName.Substring(0, index); }
public bool NameMatches(string search) { return(string.IsNullOrEmpty(search) || PropertyName.IndexOf(search, StringComparison.OrdinalIgnoreCase) >= 0); }
private bool IsPropertyViaRelationship() { return(PropertyName.IndexOf(".") != -1); }
private bool IsPropertyReflective() { return(PropertyName.IndexOf("-") != -1); }
private bool IsPropertyReflective() { return(PropertyName.IndexOf("-") != -1 || (this.PropDef == null && this.ClassDef != null)); }