public void PopulateControl(params object[] parameters) { var schemes = parameters.Where(p => p is IEnumerable <UserAuthenticationScheme>).Single(); AuthenticationData = (schemes as IEnumerable <UserAuthenticationScheme>).Select(scheme => new AuthenticationData { Scheme = scheme, Authenticated = false }).ToArray(); ViewDataControl = this; Reciever.AddControl(this); }