Subtext.Providers.BlogEntryEditor.FCKeditor.FileBrowserConnector.GetAllowedExtension C# (CSharp) 메소드

GetAllowedExtension() 개인적인 정적인 메소드

private static GetAllowedExtension ( string resourceType ) : string
resourceType string
리턴 string
        private static string GetAllowedExtension(string resourceType)
        {
            string extStr="";
            if(resourceType.Equals("File"))
            {
                extStr = FckBlogEntryEditorProvider.FileAllowedExtensions;
            }
            else if(resourceType.Equals("Image"))
            {
                extStr = FckBlogEntryEditorProvider.ImageAllowedExtensions;
            }
            return extStr;
        }