Seal.Forms.SmartCopyForm.getDestinationName C# (CSharp) Méthode

getDestinationName() private méthode

private getDestinationName ( ) : string
Résultat string
        string getDestinationName()
        {
            if (addRadioButton.Checked)
            {
                if (_source is ReportModel) return ReportsKeyword;
                else if (_source is ReportRestriction) return ModelsKeyword;
                else if (_source is ReportElement) return ModelsKeyword;
                else if (_source is ReportView) return ViewsKeyword;
                else if (_source is ReportTask) return ReportsKeyword;
                else if (_source is ReportOutput) return ReportsKeyword;
            }
            else
            {
                if (_source is ReportModel) return ModelsKeyword;
                else if (_source is ReportRestriction) return RestrictionsKeyword;
                else if (_source is ReportElement) return ElementsKeyword;
                else if (_source is ReportView) return ViewsKeyword;
                else if (_source is ReportTask) return TasksKeyword;
                else if (_source is ReportOutput) return OutputsKeyword;
                else if (_source is TasksFolder) return TasksFolderKeyword;
            }
            return "";
        }