Esempio n. 1
0
        internal IAzTask CreateRole(string name, string description = null)
        {
            var iaz = IAzScope.CreateTask(name);

            iaz.IsRoleDefinition = 1;
            iaz.Description      = description;
            iaz.Submit();

            return(iaz);
        }
Esempio n. 2
0
 public IAzTask CreateTask(string name)
 => _scope != null?_scope.CreateTask(name) : _application.CreateTask(name);