- ASP.NET 3.5 Social Networking
- Andrew Siemer
- 183字
- 2025-02-26 05:47:56
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "Create a new class in the Core.Impl
directory called ProfileService
."
A block of code will be set as follows:
if (profile != null && profile.ProfileID > 0) { attributes = _profileAttributeService.GetProfileAttributesByProfileID(profile.ProfileID); levelOfExperienceType = _levelOfExperienceTypeRepository.GetLevelOfExperienceTypeByID(profile.LevelOfExperienceTypeID); profile.Attributes = attributes; profile.LevelOfExperienceType = levelOfExperienceType; }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:
Account account = _accountRepository.GetAccountByID(AccountID); Profile profile = _profileService.LoadProfileByAccountID(AccountID); if(profile != null) { account.Profile = profile; }
New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this:
"Click the Test Connection button to see if your settings are acceptable."