private void BindRoles(object roleName, object anotherRoleName) { // Bind RolePlayers to Roles Name = (NameRole)roleName; AnotherName = (AnotherNameRole)anotherRoleName; }