GetResource() public static méthode

public static GetResource ( Vessel vessel, string resourceName ) : double
vessel Vessel
resourceName string
Résultat double
Exemple #1
0
        private bool TryParseResource(string text)
        {
            Match match = Regex.Match(text, "^<(.+)>$", RegexOptions.IgnoreCase);

            if (match.Success)
            {
                Value = VesselUtils.GetResource(executionContext.Vessel, match.Groups[1].Value);
                return(true);
            }

            return(false);
        }