private static bool RuntimePredicate(Type type, ref NodeViewAttribute attribute, out Type key)
 {
     attribute.ViewType = type;
     key = attribute.IsRuntimeView ? attribute.NodeType : null;
     return(key != null);
 }
 private static bool EditorPredicate(Type type, ref NodeViewAttribute attribute, out Type key)
 {
     attribute.ViewType = type;
     key = attribute.NodeType;
     return(true);
 }