Nemerle.VisualStudio.Project.NemerleProjectNode.GetOutputExtension C# (CSharp) Method

GetOutputExtension() public static method

public static GetOutputExtension ( OutputType outputType ) : string
outputType OutputType
return string
        public static string GetOutputExtension(OutputType outputType)
        {
            switch (outputType)
            {
                case OutputType.Library: return ".dll";
                case OutputType.Exe:
                case OutputType.WinExe: return ".exe";
            }

            throw new InvalidOperationException();
        }