Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2b8934fa7d
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (18 sloc) 0.628 kb
using System;
using System.Configuration;
namespace MongoDB.Driver.Configuration
{
public class ConnectionElement : ConfigurationElement
{
[ConfigurationProperty("key", IsRequired = true)]
public string Name{
get{return (String)this["key"];}
set{this["key"] = value;}
}
[ConfigurationProperty("connectionString", DefaultValue = "Server=localhost:27017")]
public string ConnectionString{
get { return (String)this["connectionString"]; }
set { this["connectionString"] = value; }
}
}
}
Jump to Line
Something went wrong with that request. Please try again.