C# Functions

Function

()

In Class

GService

Language

C#

In Page

/BusinessClasses/GService.cs line 39

Function

Answer()

In Class

QuizNetOnline.Logic.Answer:IAnswer

Language

C#

In Page

/Answer.cs line 43

Function

Answer(int questionID, int value, IAnswer answer)

In Class

QuizNetOnline.Logic.Answer:IAnswer

Language

C#

In Page

/Answer.cs line 31

Arguments

Name Type Description
  questionID int  
  value int  
  answer IAnswer  

Function

AsyncSendEmail(string to, string subject, string body, bool includeQuizNet, bool isBodyHtml)

In Class

QuiznetOnline.Web.UI.PracticeTest

Language

C#

In Page

/PracticeTest.aspx.cs line 207

Arguments

Name Type Description
  to string  
  subject string  
  body string  
  includeQuizNet bool  
  isBodyHtml bool  

Function

ConfigureCountryImage(DataRow result, bool isUserRanking)

In Class

QuiznetOnline.Web.UI.Controls.ResultsView

Language

C#

In Page

/Controls/ResultsView.ascx.cs line 193

Arguments

Name Type Description
  result DataRow  
  isUserRanking bool  

Function

ConfigureRankingsLabel(int i, DataRow result, bool isUserRanking)

In Class

QuiznetOnline.Web.UI.Controls.ResultsView

Language

C#

In Page

/Controls/ResultsView.ascx.cs line 175

Arguments

Name Type Description
  i int  
  result DataRow  
  isUserRanking bool  

Function

ConvertSortDirectionToSql(SortDirection sortDirection)

In Class

QuiznetOnline.Web.UI.Admin.ApproveQuestion

Language

C#

In Page

/Admin/ApproveQuestion.aspx.cs line 360

Arguments

Name Type Description
  sortDirection SortDirection  

Function

CountOccurancesInString(string stringToSearch, string stringToMatch)

In Class

QuiznetOnline.Web.UI.PracticeTest

Language

C#

In Page

/PracticeTest.aspx.cs line 724

Arguments

Name Type Description
  stringToSearch string  
  stringToMatch string  

Function

Create(ISqlWrapper iSqlWrapper)

In Class

QuizNetOnline.Logic.ContactUs

Language

C#

In Page

/ContactUs.cs line 23

Arguments

Name Type Description
  iSqlWrapper ISqlWrapper  

Function

Create(string userName, int questionId, ISqlWrapper iSqlWrapper)

In Class

QuizNetOnline.Logic.UserFavourite

Language

C#

In Page

/UserFavourite.cs line 127

Arguments

Name Type Description
  userName string  
  questionId int  
  iSqlWrapper ISqlWrapper  

Function

Decrypt(string s, ICrypto crypto)

In Class

QuizNetOnline.Logic.Crypto

Language

C#

In Page

/Crypto.cs line 46

Arguments

Name Type Description
  s string  
  crypto ICrypto  

Function

Delete(int questionId, ISqlWrapper iSqlWrapper)

In Class

QuizNetOnline.Logic.UserFavourite

Language

C#

In Page

/UserFavourite.cs line 227

Arguments

Name Type Description
  questionId int  
  iSqlWrapper ISqlWrapper  

Function

Delete(ISqlWrapper isqlWrapper)

In Class

QuizNetOnline.Logic.Answer:IAnswer

Language

C#

In Page

/Answer.cs line 130

Arguments

Name Type Description
  isqlWrapper ISqlWrapper  

Function

Delete(ISqlWrapper iSqlWrapper)

In Class

QuizNetOnline.Logic.ContactUs

Language

C#

In Page

/ContactUs.cs line 47

Arguments

Name Type Description
  iSqlWrapper ISqlWrapper  

Function

Delete(string username, ISqlWrapper isqlWrapper)

In Class

QuizNetOnline.Logic.Profile

Language

C#

In Page

/Profile.cs line 131

Arguments

Name Type Description
  username string  
  isqlWrapper ISqlWrapper  

Function

DeleteAll(ISqlWrapper isqlWrapper, IErrorLog errorLog)

In Class

QuizNetOnline.Logic.AdminMessage

Language

C#

In Page

/AdminMessage.cs line 107

Arguments

Name Type Description
  isqlWrapper ISqlWrapper  
  errorLog IErrorLog  

Function

DeleteUserTest(string userName, string topicCode, string quizType, string tagType)

In Class

QuiznetOnline.Web.WebServices.GetUser

Language

C#

In Page

/WebServices/GetUser.asmx.cs line 46

Arguments

Name Type Description
  userName string  
  topicCode string  
  quizType string  
  tagType string  

Function

Encrypt(string s,ICrypto crypto)

In Class

QuizNetOnline.Logic.Crypto

Language

C#

In Page

/Crypto.cs line 11

Arguments

Name Type Description
  s string  
  crypto ICrypto  

Function

FindControlRecursive(Control root, string id)

In Class

QuiznetOnline.Web.UI.BusinessClasses.FormOperations

Language

C#

In Page

/BusinessClasses/FormOperations.cs line 41

Arguments

Name Type Description
  root Control  
  id string  

Function

Get(string id)

In Class

YouTubeScript

Language

C#

In Page

/BusinessClasses/YouTubeScript.cs line 36

Summary

YouTube Player default script: no autoplay, 320x240

Returns

string

Arguments

Name Type Description
  id string id

Function

Get(string id, bool auto)

In Class

YouTubeScript

Language

C#

In Page

/BusinessClasses/YouTubeScript.cs line 47

Summary

YouTube Player script w/autoplay option (320x240)

Returns

string

Arguments

Name Type Description
  id string id
  auto bool bool

Function

Get(string id, bool auto, int W, int H)

In Class

YouTubeScript

Language

C#

In Page

/BusinessClasses/YouTubeScript.cs line 71

Summary

YouTube Player script w/selectable: autoplay and W/H options

Returns

string

Arguments

Name Type Description
  id string id
  auto bool bool
  W int int
  H int int

Function

Get(string id, bool auto, int W, int H, bool Border)

In Class

YouTubeScript

Language

C#

In Page

/BusinessClasses/YouTubeScript.cs line 85

Summary

YouTube Player script w/selectable: autoplay, W/H, default border color

Returns

string

Arguments

Name Type Description
  id string id
  auto bool bool
  W int int
  H int int
  Border bool bool

Function

Get(string id, int auto)

In Class

YouTubeScript

Language

C#

In Page

/BusinessClasses/YouTubeScript.cs line 58

Summary

YouTube Player script w/autoplay option (320x240)

Returns

string

Arguments

Name Type Description
  id string id
  auto int int

Function

GetAdminMessage(string ClientDateTime, string CountryName)

In Class

QuiznetOnline.Web.UI.WebServices.Tools

Language

C#

In Page

/WebServices/Tools.asmx.cs line 42

Arguments

Name Type Description
  ClientDateTime string  
  CountryName string  

Function

GetCountryRankings(string topicCode, Period period, SqlWrapper sqlWrapper)

In Class

QuizNetOnline.Logic.QuizNetSystem

Language

C#

In Page

/QuizNetSystem.cs line 429

Arguments

Name Type Description
  topicCode string  
  period Period  
  sqlWrapper SqlWrapper  

Function

GetFacebookCookieValue(string cookieValue)

In Class

FacebookSampleASPNETApp.FacebookConnect

Language

C#

In Page

/BusinessClasses/FacebookConnect.cs line 55

Arguments

Name Type Description
  cookieValue string  

Function

GetGoogleObject()

In Class

GService

Language

C#

In Page

/BusinessClasses/GService.cs line 80

Function

GetHistory(string userName)

In Class

QuizNetOnline.Logic.UserSetting

Language

C#

In Page

/UserSetting.cs line 60

Arguments

Name Type Description
  userName string  

Function

GetOptimizedGoogleObject()

In Class

GService

Language

C#

In Page

/BusinessClasses/GService.cs line 90

Function

GetQuestion(int questionID)

In Class

QuiznetOnline.Web.UI.BusinessClasses.FormOperations

Language

C#

In Page

/BusinessClasses/FormOperations.cs line 109

Arguments

Name Type Description
  questionID int  

Function

GetQuiznetOnlineSettingValue(string xmlLocation, string key)

In Class

QuizNetOnline.Logic.QuizNetSystem

Language

C#

In Page

/QuizNetSystem.cs line 34

Arguments

Name Type Description
  xmlLocation string  
  key string  

Function

GetRank(int weight, string topicCode, ISqlWrapper iSqlWrapper)

In Class

QuizNetOnline.Logic.Result

Language

C#

In Page

/Result.cs line 294

Arguments

Name Type Description
  weight int  
  topicCode string  
  iSqlWrapper ISqlWrapper  

Function

GetRankings(string topicCode, Period period, SqlWrapper sqlWrapper)

In Class

QuizNetOnline.Logic.QuizNetSystem

Language

C#

In Page

/QuizNetSystem.cs line 400

Arguments

Name Type Description
  topicCode string  
  period Period  
  sqlWrapper SqlWrapper  

Function

GetSiteUnderMaintenanceValue()

In Class

QuiznetOnline.Web.UI.WebServices.Tools

Language

C#

In Page

/WebServices/Tools.asmx.cs line 36

Function

GetTopicCount(Topic topic,string additionalOptions,string tagOptions,string userName)

In Class

QuizNetOnline.Logic.TableInformation

Language

C#

In Page

/TableInformation.cs line 126

Arguments

Name Type Description
  topic Topic  
  additionalOptions string  
  tagOptions string  
  userName string  

Function

GetTopicCountByTopic(string topicCode)

In Class

QuiznetOnline.Web.WebServices.Quiz

Language

C#

In Page

/WebServices/Quiz.asmx.cs line 33

Arguments

Name Type Description
  topicCode string  

Function

GetTopicsCount(Topic topic,string additionalOptions,string tagOptions,string username)

In Class

QuizNetOnline.Logic.TableInformation

Language

C#

In Page

/TableInformation.cs line 148

Arguments

Name Type Description
  topic Topic  
  additionalOptions string  
  tagOptions string  
  username string  

Function

GetUser(string userID,string password, ISqlWrapper iSqlWrapper)

In Class

QuizNetOnline.Logic.UserWeb

Language

C#

In Page

/UserWeb.cs line 31

Arguments

Name Type Description
  userID string  
  password string  
  iSqlWrapper ISqlWrapper  

Function

GetUserName(DataRow result)

In Class

QuiznetOnline.Web.UI.Controls.ResultsView

Language

C#

In Page

/Controls/ResultsView.ascx.cs line 187

Arguments

Name Type Description
  result DataRow  

Function

Index()

In Class

QuiznetOnline.Web.UI.HomeController

Language

C#

In Page

/Controllers/HomeController.cs line 11

Function

Insert(ISqlWrapper isqlWrapper)

In Class

QuizNetOnline.Logic.Answer:IAnswer

Language

C#

In Page

/Answer.cs line 84

Arguments

Name Type Description
  isqlWrapper ISqlWrapper  

Function

Instance()

In Class

QuizNetOnline.Logic.Question

Language

C#

In Page

/Question.cs line 16

Function

IsLive()

In Class

QuiznetOnline.Web.UI.Master.QuiznetonlineMaster

Language

C#

In Page

/Master/MasterPage.master.cs line 112

Function

IsQuestionFavourite()

In Class

QuiznetOnline.Web.UI.PracticeTest

Language

C#

In Page

/PracticeTest.aspx.cs line 758

Function

IsWebServerLocalHost(string URL)

In Class

QuiznetOnline.Web.UI.BusinessClasses.FormOperations

Language

C#

In Page

/BusinessClasses/FormOperations.cs line 60

Arguments

Name Type Description
  URL string  

Function

MultilineFormatter(string text)

In Class

QuizNetOnline.Logic.WebFunctionsProvider

Language

C#

In Page

/WebFunctionsProvider.cs line 5

Arguments

Name Type Description
  text string  

Function

MyResultsByDate(DateTime startDate, DateTime endDate, string email, string topicCode)

In Class

QuizNetOnline.Logic.Tools

Language

C#

In Page

/Tools.cs line 148

Arguments

Name Type Description
  startDate DateTime  
  endDate DateTime  
  email string  
  topicCode string  

Function

NumberOfLastLoginDate(DateTime startDate, DateTime endDate)

In Class

QuizNetOnline.Logic.Tools

Language

C#

In Page

/Tools.cs line 125

Arguments

Name Type Description
  startDate DateTime  
  endDate DateTime  

Function

NumberOfQuestionsAnsweredByDate(DateTime startDate,DateTime endDate)

In Class

QuizNetOnline.Logic.Tools

Language

C#

In Page

/Tools.cs line 103

Arguments

Name Type Description
  startDate DateTime  
  endDate DateTime  

Function

NumberOfTestsTakenByCountry(DateTime startDate, DateTime endDate)

In Class

QuizNetOnline.Logic.Tools

Language

C#

In Page

/Tools.cs line 78

Arguments

Name Type Description
  startDate DateTime  
  endDate DateTime  

Function

NumberOfTestsTakenByDate(DateTime startDate, DateTime endDate)

In Class

QuizNetOnline.Logic.Tools

Language

C#

In Page

/Tools.cs line 34

Arguments

Name Type Description
  startDate DateTime  
  endDate DateTime  

Function

NumberQuestionsCreated(DateTime startDate, DateTime endDate)

In Class

QuizNetOnline.Logic.Tools

Language

C#

In Page

/Tools.cs line 56

Arguments

Name Type Description
  startDate DateTime  
  endDate DateTime  

Function

PopulateCurrentQuestion(int questionNumber)

In Class

QuiznetOnline.Web.UI.PracticeTest

Language

C#

In Page

/PracticeTest.aspx.cs line 744

Arguments

Name Type Description
  questionNumber int  

Function

RemoveQuestion(Question question)

In Class

QuizNetOnline.Logic.UserFavourite

Language

C#

In Page

/UserFavourite.cs line 222

Arguments

Name Type Description
  question Question  

Function

Save(ISqlWrapper iSqlWrapper)

In Class

QuizNetOnline.Logic.Profile

Language

C#

In Page

/Profile.cs line 62

Arguments

Name Type Description
  iSqlWrapper ISqlWrapper  

Function

Save(ISqlWrapper isqlWrapper)

In Class

QuizNetOnline.Logic.QuestionLog

Language

C#

In Page

/QuestionLog.cs line 91

Arguments

Name Type Description
  isqlWrapper ISqlWrapper  

Function

Save(ISqlWrapper iSqlWrapper)

In Class

QuizNetOnline.Logic.Comments

Language

C#

In Page

/Comments.cs line 40

Arguments

Name Type Description
  iSqlWrapper ISqlWrapper  

Function

SaveResult()

In Class

QuiznetOnline.Web.UI.Status

Language

C#

In Page

/PracticeTestStatus.aspx.cs line 167

Function

SendEmail(string to, string subject, string body, bool includeQuizNet, bool isBodyHtml)

In Class

QuizNetOnline.Logic.QuizNetSystem

Language

C#

In Page

/QuizNetSystem.cs line 458

Arguments

Name Type Description
  to string  
  subject string  
  body string  
  includeQuizNet bool  
  isBodyHtml bool  

Function

SetUpQuestion(bool isAnswerSubmitted)

In Class

QuiznetOnline.Web.UI.PracticeTest

Language

C#

In Page

/PracticeTest.aspx.cs line 472

Arguments

Name Type Description
  isAnswerSubmitted bool  

Function

StringDecode(string str)

In Class

QuiznetOnline.Web.UI.WebServices.Tools

Language

C#

In Page

/WebServices/Tools.asmx.cs line 30

Arguments

Name Type Description
  str string  

Function

StringEncode(string str)

In Class

QuiznetOnline.Web.UI.WebServices.Tools

Language

C#

In Page

/WebServices/Tools.asmx.cs line 24

Arguments

Name Type Description
  str string  

Function

TidyUpLocation(string location)

In Class

QuizNetOnline.Logic.UserLocation

Language

C#

In Page

/UserLocation.cs line 166

Arguments

Name Type Description
  location string  

Function

Update(ISqlWrapper isqlWrapper)

In Class

QuizNetOnline.Logic.Answer:IAnswer

Language

C#

In Page

/Answer.cs line 107

Arguments

Name Type Description
  isqlWrapper ISqlWrapper  

Function

UsersJoiningDateByDate(DateTime startDate, DateTime endDate)

In Class

QuizNetOnline.Logic.Tools

Language

C#

In Page

/Tools.cs line 11

Arguments

Name Type Description
  startDate DateTime  
  endDate DateTime  

.NET Documentation Tool is © 2002 - 2009 Winnersh Triangle Web Solutions Limited.