コード例 #1
0
ファイル: Article.cs プロジェクト: diegoventurin/Omega-Config
 /// <summary>
 /// Create a configurable article.
 /// </summary>
 /// <param name="code">The identifier code of the article.</param>
 /// <param name="schema">The schema of the configuration properties.</param>
 public Article(string code, ArtSchema schema)
 {
     this._code         = code;
     this._schema       = schema;
     this._configurable = true;
     SetDefaultValues();
 }
コード例 #2
0
ファイル: Article.cs プロジェクト: diegoventurin/Omega-Config
 /// <summary>
 /// Create a non-configurable article.
 /// </summary>
 /// <param name="code">The identifier code of the article.</param>
 public Article(string code)
 {
     this._code         = code;
     this._configurable = false;
     this._schema       = null;
     SetDefaultValues();
 }