Программирование в IIS




Пример 3.8


///

/// a single event

///

public class anEvent

{

private long CurrentID;

private string CurrentName;

private string CurrentDescription;

private DateTime CurrentDateTime;

public anEvent()

{

}

///

/// ID for opened event

///

public long ID

{

get

{

return CurrentID;

}

set

{

CurrentID = value;

}

}

///

/// Date and time of actual event

///

public DateTime DateTime

{

get

{

return CurrentDateTime;

}

set

{

CurrentDateTime = value;

}

}

///

/// description of event

///

public string Description

{

get

{

return CurrentDescription;

}

set

{

CurrentDescription = value;

}

}

///

/// Name for opened event

///

public string Name

{

get

{

return CurrentName;

}

set

{

CurrentName = value;

}

}

}




Содержание  Назад  Вперед