Exemplo n.º 1
0
        public bool IsAllowed(TeamRelation relation)
        {
            var flag = relation.ToFlag();

            return(IsAllowed(flag));
        }
Exemplo n.º 2
0
        public static bool HasValue(this TeamRelationFlag flags, TeamRelation value)
        {
            var valueAsFlag = value.ToFlag();

            return(flags.HasFlag(valueAsFlag));
        }