Forseti.BoxMapping.GetEffect C# (CSharp) Method

GetEffect() public method

public GetEffect ( int tag_id ) : string
tag_id int
return string
        public string GetEffect(int tag_id)
        {
            if (effect.ContainsKey (tag_id)) {
                if (effect [tag_id] == ADD) {
                    return "add";
                } else if (effect [tag_id] == MULTIPLY) {
                    return "multiply";
                }
            }
            return "Unknown";
        }