Exemplo n.º 1
0
 public ManagedResourceRoleResult(RoleResult roleResult)
 {
     ManagedResourceRoleList = new ManagedResourceRoleList
     {
         ManagedResourceRole =
             roleResult.Roles.Select(x => new ManagedResourceRole(x)).ToArray()
     };
     ManagedResourceRoleUnresolvedList = new ManagedResourceRoleUnresolvedList
     {
         ManagedResourceRoleUnresolved =
             roleResult.UnresolvedRoles.Select(
                 x => new ManagedResourceRoleUnresolved(x)).ToArray()
     };
 }
 public ManagedResourceRoleResult(RoleResult roleResult)
 {
     ManagedResourceRoleList = new ManagedResourceRoleList
                               {
                                  ManagedResourceRole =
                                     roleResult.Roles.Select(x => new ManagedResourceRole(x)).ToArray()
                               };
      ManagedResourceRoleUnresolvedList = new ManagedResourceRoleUnresolvedList
                                         {
                                            ManagedResourceRoleUnresolved =
                                               roleResult.UnresolvedRoles.Select(
                                               x => new ManagedResourceRoleUnresolved(x)).ToArray()
                                         };
 }