public object Get(String name, Document document) { Field field = document.GetField(name); if (field == null) { return(null); } return(stringBridge.StringToObject(field.StringValue)); }
public object Get(String name, Document document) { var field = document.GetField(name); return(field == null ? null : stringBridge.StringToObject(field.GetStringValue())); }