public object Get(String name, Document document)
        {
            Field field = document.GetField(name);

            if (field == null)
            {
                return(null);
            }

            return(stringBridge.StringToObject(field.StringValue));
        }
예제 #2
0
        public object Get(String name, Document document)
        {
            var field = document.GetField(name);

            return(field == null ? null : stringBridge.StringToObject(field.GetStringValue()));
        }