예제 #1
0
        private static string GetParentSuffix(ITemplateData currTemplate)
        {
            string suffix = currTemplate.GetSetting(CommonVariables.ParentSuffix);
            if (suffix == null)
                suffix = currTemplate.GetVariable(CommonVariables.ParentSuffix);

            if (suffix == null)
                suffix = "Parent";

            return suffix;
        }
예제 #2
0
        private static string GetRecursiveParentSuffix(ITemplateData currTemplate)
        {
            string suffix = currTemplate.GetSetting(CommonVariables.RecursiveParentSuffix);
            if (suffix == null)
                suffix = currTemplate.GetVariable(CommonVariables.RecursiveParentSuffix);

            if (suffix == null)
                suffix = "Superior";

            return suffix;
        }