BetterMembership.Web.BetterProfileProvider.DeleteInactiveProfiles C# (CSharp) Метод

DeleteInactiveProfiles() публичный Метод

public DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
Результат int
        public override int DeleteInactiveProfiles(
            ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate)
        {
            throw new NotSupportedException();
        }

Usage Example

        public void GivenConfirmedUsersWhenDeleteInactiveProfilesThenNotSupportedException(ProfileAuthenticationOption option)
        {
            // arrange
            var testClass = new BetterProfileProvider();

            // act // assert
            Assert.Throws<NotSupportedException>(
                () => testClass.DeleteInactiveProfiles(option, DateTime.MinValue));
        }