C# Class TripsService.User

Inheritance: ISerializable
Afficher le fichier Open project: mnarowski/inzynieria Class Usage Examples

Méthodes publiques

Méthode Description
GetAge ( ) : int
GetDateOfBirth ( ) : System.DateTime
GetName ( ) : String
GetRole ( ) : UserRole
GetSex ( ) : SexEnum
GetSureName ( ) : String
IsAdult ( ) : bool
SetDateOfBirth ( System.DateTime dateOfBirt ) : void
SetName ( String name ) : void
SetRole ( UserRole _role ) : void
SetSex ( SexEnum sex ) : void
SetSureName ( String sureName ) : void

Method Details

GetAge() public méthode

public GetAge ( ) : int
Résultat int

GetDateOfBirth() public méthode

public GetDateOfBirth ( ) : System.DateTime
Résultat System.DateTime

GetName() public méthode

public GetName ( ) : String
Résultat String

GetRole() public méthode

public GetRole ( ) : UserRole
Résultat UserRole

GetSex() public méthode

public GetSex ( ) : SexEnum
Résultat SexEnum

GetSureName() public méthode

public GetSureName ( ) : String
Résultat String

IsAdult() public méthode

public IsAdult ( ) : bool
Résultat bool

SetDateOfBirth() public méthode

public SetDateOfBirth ( System.DateTime dateOfBirt ) : void
dateOfBirt System.DateTime
Résultat void

SetName() public méthode

public SetName ( String name ) : void
name String
Résultat void

SetRole() public méthode

public SetRole ( UserRole _role ) : void
_role UserRole
Résultat void

SetSex() public méthode

public SetSex ( SexEnum sex ) : void
sex SexEnum
Résultat void

SetSureName() public méthode

public SetSureName ( String sureName ) : void
sureName String
Résultat void