</pre>
===実装===
*Progmras
<pre>
using System;
return configuration;
}
}
}
</pre>
*設定ロード先
<pre>
namespace docWeb.Models
{
public interface IDocumentWebDatabaseSettings
{
string DocumentWebCollectionName { get; set; }
string ConnectionString { get; set; }
string DatabaseName { get; set; }
}
public class DocumentWebDatabaseSettings : IDocumentWebDatabaseSettings
{
public string DocumentWebCollectionName { get; set; }
public string ConnectionString { get; set; }
public string DatabaseName { get; set; }
}
}
</pre>