コード例 #1
0
        private ILanguageIterator GetDefaultIterator(string schemaName)
        {
            var schemaNameArgument            = new ConstructorArgument("schemaName", schemaName);
            ILanguageIterator defaultIterator =
                ClassFactory.Get <ILanguageIterator>(DefaultIteratorTagName, schemaNameArgument);

            return(defaultIterator);
        }
コード例 #2
0
 /// <summary>
 /// Initializes new instance of <see cref="MLangContentKit"/>.
 /// </summary>
 /// <param name="contentStore">Multilanguage content store.</param>
 /// <param name="languageIterator">Language iterator.</param>
 public MLangContentKit(IContentStore contentStore, ILanguageIterator languageIterator)
 {
     ContentStore     = contentStore;
     LanguageIterator = languageIterator;
 }