C# 클래스 RedisProviders.RedisProfileProvider

상속: System.Web.Profile.ProfileProvider
파일 보기 프로젝트 열기: kylesonaty/AspNetRedisProviders

공개 메소드들

메소드 설명
DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
DeleteProfiles ( string usernames ) : int
FindInactiveProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
FindProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetAllInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
Initialize ( string name, System config ) : void
SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void

비공개 메소드들

메소드 설명
CreateProfileInfoFromDictionary ( byte[]>.IDictionary dict ) : System.Web.Profile.ProfileInfo
DeleteProfile ( string username, bool isAuthenticated ) : bool
GetConfigValue ( string configValue, string defaultValue ) : string
GetConnection ( ) : RedisConnection
GetProfileKey ( string profileName, bool isAuthenticated ) : string
GetProfilesKey ( ) : string
GetProfilesKeyAnonymous ( ) : string
GetProfilesKeyAuthenticated ( ) : string
OnConnectionError ( object sender, BookSleeve.ErrorEventArgs args ) : void
UpdateActivity ( string username, bool isAuthenticated, bool activityOnly ) : void
WriteToEventLog ( Exception ex, string action ) : void

메소드 상세

DeleteInactiveProfiles() 공개 메소드

public DeleteInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
리턴 int

DeleteProfiles() 공개 메소드

public DeleteProfiles ( System.Web.Profile.ProfileInfoCollection profiles ) : int
profiles System.Web.Profile.ProfileInfoCollection
리턴 int

DeleteProfiles() 공개 메소드

public DeleteProfiles ( string usernames ) : int
usernames string
리턴 int

FindInactiveProfilesByUserName() 공개 메소드

public FindInactiveProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
usernameToMatch string
userInactiveSinceDate System.DateTime
pageIndex int
pageSize int
totalRecords int
리턴 System.Web.Profile.ProfileInfoCollection

FindProfilesByUserName() 공개 메소드

public FindProfilesByUserName ( ProfileAuthenticationOption authenticationOption, string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
usernameToMatch string
pageIndex int
pageSize int
totalRecords int
리턴 System.Web.Profile.ProfileInfoCollection

GetAllInactiveProfiles() 공개 메소드

public GetAllInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
pageIndex int
pageSize int
totalRecords int
리턴 System.Web.Profile.ProfileInfoCollection

GetAllProfiles() 공개 메소드

public GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
pageIndex int
pageSize int
totalRecords int
리턴 System.Web.Profile.ProfileInfoCollection

GetNumberOfInactiveProfiles() 공개 메소드

public GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
리턴 int

GetPropertyValues() 공개 메소드

public GetPropertyValues ( SettingsContext context, SettingsPropertyCollection collection ) : SettingsPropertyValueCollection
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyCollection
리턴 System.Configuration.SettingsPropertyValueCollection

Initialize() 공개 메소드

public Initialize ( string name, System config ) : void
name string
config System
리턴 void

SetPropertyValues() 공개 메소드

public SetPropertyValues ( SettingsContext context, SettingsPropertyValueCollection collection ) : void
context System.Configuration.SettingsContext
collection System.Configuration.SettingsPropertyValueCollection
리턴 void