CSScriptCompilers.CCSharpParser.IsUsingDirective C# (CSharp) Méthode

IsUsingDirective() private méthode

private IsUsingDirective ( string code ) : bool
code string
Résultat bool
        bool IsUsingDirective(string code)
        {
            if (code.StartsWith("using ") || code.StartsWith("//css_"))
                return true;
            else
                return false;
        }
        #endregion