public Configuration(XmlNode node) { if (node == null) { throw new ConfigurationErrorsException("Missing configuration CodeBetter.Canvas/Web"); } _connectionString = node.GetString("connectionString"); _connectionString = MakeRelative(_connectionString); }
public AtomResponse(XmlNode content, Action<Response> configurationDelegate = null) : base(new Response().ApplicationAtom().Content(content.GetString()), configurationDelegate) { }
public ImdnResponse(XmlNode content, Action<Response> configurationDelegate = null) : base(new Response().MessageImdn().Content(content.GetString()), configurationDelegate) { }
public XmlResponse(XmlNode content, Action<Response> configurationDelegate = null) : base(new Response().TextXml().Content(content.GetString()), configurationDelegate) { }
public SvgResponse(XmlNode content, Action<Response> configurationDelegate = null) : base(new Response().ImageSvg().Content(content.GetString()), configurationDelegate) { }
public RdfResponse(XmlNode content, Action<Response> configurationDelegate = null) : base(Response.OK().ApplicationRdf().Content(content.GetString()), configurationDelegate) { }
public X3DXmlResponse(XmlNode content, Action<Response> configurationDelegate = null) : base(Response.OK().ModelX3DXml().Content(content.GetString()), configurationDelegate) { }