public IGraphFormatter GetFormatter(Type type) { IGraphFormatter result = m_formatters.GetValue(type); if (result != null) { return(result); } return(m_next != null?m_next.GetFormatter(type) : null); }
public static IGraphFormatter GetDefaultSerializationFormatter(Type type) { UpdateSerializationSystems(); return(_formatterSelector.GetValue(type)); }
public static ISerializationSurrogate GetDefaultSerializationSurrogate(Type type) { UpdateSerializationSystems(); return(_surrogateSelector.GetValue(type)); }