BExIS.Dcm.UploadWizard.UploadWizardHelper.GetExtentionList C# (CSharp) Метод

GetExtentionList() публичный статический Метод

public static GetExtentionList ( DataStructureType type ) : List
type DataStructureType
Результат List
        public static List<string> GetExtentionList(DataStructureType type)
        {
            if(type.Equals(DataStructureType.Structured))
                {
                    return new List<string>()
                    {
                        ".xlsm",
                        ".txt",
                        ".csv"
                    };
                }

                if (type.Equals(DataStructureType.Unstructured))
                {
                    return new List<string>()
                    {
                        ".avi",
                        ".bmp",
                        ".csv",
                        ".dbf",
                        ".doc",
                        ".docx",
                        ".gif",
                        ".jpg",
                        ".jpeg",
                        ".mp3",
                        ".mp4",
                        ".pdf",
                        ".png",
                        ".shp",
                        ".shx",
                        ".tif",
                        ".txt",
                        ".xls",
                        ".xlsm",
                        ".xlsx",
                        ".xsd",
                        ".zip"
                    };
                }

                return new List<string>();
        }