Example #1
0
        public MeaningfulBlock(IDataItem memberData, LanguageUtil.ELanguage language)
        {
            string           memberDoc = null;
            DocumentDataItem docItem   = memberData.GetDocumentDataItem();

            if (docItem != null)
            {
                memberDoc = docItem.LoadDocumentOfLocale(language);
            }

            Init(memberData.GetAssemblyDataItem(), memberDoc);
        }
Example #2
0
        public MeaningfulBlock(IDataItem memberData)
        {
            string           memberDoc = null;
            DocumentDataItem docItem   = memberData.GetDocumentDataItem();

            if (docItem != null)
            {
                memberDoc = docItem.LoadEnglishDocument();
            }

            Init(memberData.GetAssemblyDataItem(), memberDoc);
        }