Пример #1
0
        public void Initialize([NotNull] IThreatModel model)
        {
            var values = EnumExtensions.GetUIVisible <DefaultActor>()?.ToArray();

            if (values?.Any() ?? false)
            {
                foreach (var value in values)
                {
                    model.AddThreatActor(value);
                }
            }
        }