C# 클래스 Spontaneous.WebApp.Services.UserProfileFacade

Supplies user profile facade functionality.
파일 보기 프로젝트 열기: pashkov/Spontaneous 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AppName ApplicationName

공개 메소드들

메소드 설명
CheckIfJustCreatedProfile ( System userProfile ) : bool
GetAllUserProfiles ( ) : System.Web.Security.MembershipUserCollection
GetCurrentUserType ( ) : string
GetUserInsulinCalcProfile ( ) : UserBaseInsulinCalcProfile
GetUserInsulinCalcProfileModel ( ) : UserBaseInsulinCalcProfileModel
GetUserProfile ( ) : ProfileBase

Get current user profile.

GetUserProfile ( string userName ) : ProfileBase
TraceSuggestValue ( string q, double lat, double lng ) : void

Adding tracing to specific user.

UserProfileFacade ( ApplicationName app ) : System

비공개 메소드들

메소드 설명
FindNearestCoupon ( List couponsList, Location location ) : CouponType
GetClosesMedal ( ) : MedalProgress
GetCoupon ( SpontaneousUserModel userData, List couponsList, UserActivity userActivity ) : CouponType
GetLastMeal ( ) : Meal
GetLastMedal ( ) : UserMedalModel
GetMedals ( ) : List
GetTotalPoints ( ) : int
MedalsNotificationCheck ( ) : bool
SaveUserActivity ( UserActivity userActivity, List allCoupons ) : void
TraceAprooveMeal ( IEnumerable meal ) : void
TraceBasicRestMeal ( Meal meal ) : void
TurnOffMedalFlag ( ) : bool
UpdateCarbsInLastMeal ( string restaurnatId, int menuPartId, int dishId, double totalCarbohydrate ) : bool
UpdatePostMealSugar ( int sugarLevel ) : void
UpdatePreMealSugar ( int sugarLevel, int targetSugar ) : void
VerifyUserLastMeal ( ) : double
factoryMedalChecker ( ) : MedalRequirementsChecker

메소드 상세

CheckIfJustCreatedProfile() 공개 정적인 메소드

public static CheckIfJustCreatedProfile ( System userProfile ) : bool
userProfile System
리턴 bool

GetAllUserProfiles() 공개 정적인 메소드

public static GetAllUserProfiles ( ) : System.Web.Security.MembershipUserCollection
리턴 System.Web.Security.MembershipUserCollection

GetCurrentUserType() 공개 정적인 메소드

public static GetCurrentUserType ( ) : string
리턴 string

GetUserInsulinCalcProfile() 공개 정적인 메소드

public static GetUserInsulinCalcProfile ( ) : UserBaseInsulinCalcProfile
리턴 Spontaneous.DataModel.UserBaseInsulinCalcProfile

GetUserInsulinCalcProfileModel() 공개 정적인 메소드

public static GetUserInsulinCalcProfileModel ( ) : UserBaseInsulinCalcProfileModel
리턴 Spontaneous.WebApp.Models.UserBaseInsulinCalcProfileModel

GetUserProfile() 공개 정적인 메소드

Get current user profile.
public static GetUserProfile ( ) : ProfileBase
리턴 System.Web.Profile.ProfileBase

GetUserProfile() 공개 정적인 메소드

public static GetUserProfile ( string userName ) : ProfileBase
userName string
리턴 System.Web.Profile.ProfileBase

TraceSuggestValue() 공개 메소드

Adding tracing to specific user.
public TraceSuggestValue ( string q, double lat, double lng ) : void
q string
lat double
lng double
리턴 void

UserProfileFacade() 공개 메소드

public UserProfileFacade ( ApplicationName app ) : System
app ApplicationName
리턴 System

프로퍼티 상세

AppName 공개적으로 프로퍼티

public ApplicationName AppName
리턴 ApplicationName