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); }
public MeaningfulBlock(IDataItem memberData) { string memberDoc = null; DocumentDataItem docItem = memberData.GetDocumentDataItem(); if (docItem != null) { memberDoc = docItem.LoadEnglishDocument(); } Init(memberData.GetAssemblyDataItem(), memberDoc); }