C# Class TripsService.User

Inheritance: ISerializable
Mostra file Open project: mnarowski/inzynieria Class Usage Examples

Public Methods

Method 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 method

public GetAge ( ) : int
return int

GetDateOfBirth() public method

public GetDateOfBirth ( ) : System.DateTime
return System.DateTime

GetName() public method

public GetName ( ) : String
return String

GetRole() public method

public GetRole ( ) : UserRole
return UserRole

GetSex() public method

public GetSex ( ) : SexEnum
return SexEnum

GetSureName() public method

public GetSureName ( ) : String
return String

IsAdult() public method

public IsAdult ( ) : bool
return bool

SetDateOfBirth() public method

public SetDateOfBirth ( System.DateTime dateOfBirt ) : void
dateOfBirt System.DateTime
return void

SetName() public method

public SetName ( String name ) : void
name String
return void

SetRole() public method

public SetRole ( UserRole _role ) : void
_role UserRole
return void

SetSex() public method

public SetSex ( SexEnum sex ) : void
sex SexEnum
return void

SetSureName() public method

public SetSureName ( String sureName ) : void
sureName String
return void