コード例 #1
0
 public Configuration(XmlNode node)
 {
     if (node == null)
     {
         throw new ConfigurationErrorsException("Missing configuration CodeBetter.Canvas/Web");
     }
     _connectionString = node.GetString("connectionString");
     _connectionString = MakeRelative(_connectionString);      
 }
コード例 #2
0
 public AtomResponse(XmlNode content, Action<Response> configurationDelegate = null)
     : base(new Response().ApplicationAtom().Content(content.GetString()), configurationDelegate)
 {
 }
コード例 #3
0
ファイル: ImdnResponse.cs プロジェクト: kelong/JuniorRoute
		public ImdnResponse(XmlNode content, Action<Response> configurationDelegate = null)
			: base(new Response().MessageImdn().Content(content.GetString()), configurationDelegate)
		{
		}
コード例 #4
0
ファイル: XmlResponse.cs プロジェクト: kelong/JuniorRoute
		public XmlResponse(XmlNode content, Action<Response> configurationDelegate = null)
			: base(new Response().TextXml().Content(content.GetString()), configurationDelegate)
		{
		}
コード例 #5
0
 public SvgResponse(XmlNode content, Action<Response> configurationDelegate = null)
     : base(new Response().ImageSvg().Content(content.GetString()), configurationDelegate)
 {
 }
コード例 #6
0
ファイル: RdfResponse.cs プロジェクト: dblchu/JuniorRoute
 public RdfResponse(XmlNode content, Action<Response> configurationDelegate = null)
     : base(Response.OK().ApplicationRdf().Content(content.GetString()), configurationDelegate)
 {
 }
コード例 #7
0
ファイル: X3DXmlResponse.cs プロジェクト: dblchu/JuniorRoute
 public X3DXmlResponse(XmlNode content, Action<Response> configurationDelegate = null)
     : base(Response.OK().ModelX3DXml().Content(content.GetString()), configurationDelegate)
 {
 }