terug naar bijna af...
This commit is contained in:
parent
a69a1d99fb
commit
ad65c44b24
54 changed files with 33314 additions and 33314 deletions
|
@ -1,189 +1,189 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using NerdDinner.Helpers;
|
using NerdDinner.Helpers;
|
||||||
using NerdDinner.Models;
|
using NerdDinner.Models;
|
||||||
|
|
||||||
namespace NerdDinner.Controllers {
|
namespace NerdDinner.Controllers {
|
||||||
|
|
||||||
//
|
//
|
||||||
// ViewModel Classes
|
// ViewModel Classes
|
||||||
|
|
||||||
public class DinnerFormViewModel {
|
public class DinnerFormViewModel {
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
public Dinner Dinner { get; private set; }
|
public Dinner Dinner { get; private set; }
|
||||||
public SelectList Countries { get; private set; }
|
public SelectList Countries { get; private set; }
|
||||||
|
|
||||||
// Constructor
|
// Constructor
|
||||||
public DinnerFormViewModel(Dinner dinner) {
|
public DinnerFormViewModel(Dinner dinner) {
|
||||||
Dinner = dinner;
|
Dinner = dinner;
|
||||||
Countries = new SelectList(PhoneValidator.Countries, Dinner.Country);
|
Countries = new SelectList(PhoneValidator.Countries, Dinner.Country);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Controller Class
|
// Controller Class
|
||||||
|
|
||||||
[HandleError]
|
[HandleError]
|
||||||
public class DinnersController : Controller {
|
public class DinnersController : Controller {
|
||||||
|
|
||||||
IDinnerRepository dinnerRepository;
|
IDinnerRepository dinnerRepository;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Dependency Injection enabled constructors
|
// Dependency Injection enabled constructors
|
||||||
|
|
||||||
public DinnersController()
|
public DinnersController()
|
||||||
: this(new DinnerRepository()) {
|
: this(new DinnerRepository()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
public DinnersController(IDinnerRepository repository) {
|
public DinnersController(IDinnerRepository repository) {
|
||||||
dinnerRepository = repository;
|
dinnerRepository = repository;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// GET: /Dinners/
|
// GET: /Dinners/
|
||||||
// /Dinners/Page/2
|
// /Dinners/Page/2
|
||||||
|
|
||||||
public ActionResult Index(int? page) {
|
public ActionResult Index(int? page) {
|
||||||
|
|
||||||
const int pageSize = 10;
|
const int pageSize = 10;
|
||||||
|
|
||||||
var upcomingDinners = dinnerRepository.FindUpcomingDinners();
|
var upcomingDinners = dinnerRepository.FindUpcomingDinners();
|
||||||
var paginatedDinners = new PaginatedList<Dinner>(upcomingDinners, page ?? 0, pageSize);
|
var paginatedDinners = new PaginatedList<Dinner>(upcomingDinners, page ?? 0, pageSize);
|
||||||
|
|
||||||
return View(paginatedDinners);
|
return View(paginatedDinners);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// GET: /Dinners/Details/5
|
// GET: /Dinners/Details/5
|
||||||
|
|
||||||
public ActionResult Details(int id) {
|
public ActionResult Details(int id) {
|
||||||
|
|
||||||
Dinner dinner = dinnerRepository.GetDinner(id);
|
Dinner dinner = dinnerRepository.GetDinner(id);
|
||||||
|
|
||||||
if (dinner == null)
|
if (dinner == null)
|
||||||
return View("NotFound");
|
return View("NotFound");
|
||||||
|
|
||||||
return View(dinner);
|
return View(dinner);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// GET: /Dinners/Edit/5
|
// GET: /Dinners/Edit/5
|
||||||
|
|
||||||
[Authorize]
|
[Authorize]
|
||||||
public ActionResult Edit(int id) {
|
public ActionResult Edit(int id) {
|
||||||
|
|
||||||
Dinner dinner = dinnerRepository.GetDinner(id);
|
Dinner dinner = dinnerRepository.GetDinner(id);
|
||||||
|
|
||||||
if (!dinner.IsHostedBy(User.Identity.Name))
|
if (!dinner.IsHostedBy(User.Identity.Name))
|
||||||
return View("InvalidOwner");
|
return View("InvalidOwner");
|
||||||
|
|
||||||
return View(new DinnerFormViewModel(dinner));
|
return View(new DinnerFormViewModel(dinner));
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// POST: /Dinners/Edit/5
|
// POST: /Dinners/Edit/5
|
||||||
|
|
||||||
[AcceptVerbs(HttpVerbs.Post), Authorize]
|
[AcceptVerbs(HttpVerbs.Post), Authorize]
|
||||||
public ActionResult Edit(int id, FormCollection collection) {
|
public ActionResult Edit(int id, FormCollection collection) {
|
||||||
|
|
||||||
Dinner dinner = dinnerRepository.GetDinner(id);
|
Dinner dinner = dinnerRepository.GetDinner(id);
|
||||||
|
|
||||||
if (!dinner.IsHostedBy(User.Identity.Name))
|
if (!dinner.IsHostedBy(User.Identity.Name))
|
||||||
return View("InvalidOwner");
|
return View("InvalidOwner");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
UpdateModel(dinner);
|
UpdateModel(dinner);
|
||||||
|
|
||||||
dinnerRepository.Save();
|
dinnerRepository.Save();
|
||||||
|
|
||||||
return RedirectToAction("Details", new { id=dinner.DinnerID });
|
return RedirectToAction("Details", new { id=dinner.DinnerID });
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
ModelState.AddModelErrors(dinner.GetRuleViolations());
|
ModelState.AddModelErrors(dinner.GetRuleViolations());
|
||||||
|
|
||||||
return View(new DinnerFormViewModel(dinner));
|
return View(new DinnerFormViewModel(dinner));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// GET: /Dinners/Create
|
// GET: /Dinners/Create
|
||||||
|
|
||||||
[Authorize]
|
[Authorize]
|
||||||
public ActionResult Create() {
|
public ActionResult Create() {
|
||||||
|
|
||||||
Dinner dinner = new Dinner() {
|
Dinner dinner = new Dinner() {
|
||||||
EventDate = DateTime.Now.AddDays(7)
|
EventDate = DateTime.Now.AddDays(7)
|
||||||
};
|
};
|
||||||
|
|
||||||
return View(new DinnerFormViewModel(dinner));
|
return View(new DinnerFormViewModel(dinner));
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// POST: /Dinners/Create
|
// POST: /Dinners/Create
|
||||||
|
|
||||||
[AcceptVerbs(HttpVerbs.Post), Authorize]
|
[AcceptVerbs(HttpVerbs.Post), Authorize]
|
||||||
public ActionResult Create(Dinner dinner) {
|
public ActionResult Create(Dinner dinner) {
|
||||||
|
|
||||||
if (ModelState.IsValid) {
|
if (ModelState.IsValid) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
dinner.HostedBy = User.Identity.Name;
|
dinner.HostedBy = User.Identity.Name;
|
||||||
|
|
||||||
RSVP rsvp = new RSVP();
|
RSVP rsvp = new RSVP();
|
||||||
rsvp.AttendeeName = User.Identity.Name;
|
rsvp.AttendeeName = User.Identity.Name;
|
||||||
dinner.RSVPs.Add(rsvp);
|
dinner.RSVPs.Add(rsvp);
|
||||||
|
|
||||||
dinnerRepository.Add(dinner);
|
dinnerRepository.Add(dinner);
|
||||||
dinnerRepository.Save();
|
dinnerRepository.Save();
|
||||||
|
|
||||||
return RedirectToAction("Details", new { id=dinner.DinnerID });
|
return RedirectToAction("Details", new { id=dinner.DinnerID });
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
ModelState.AddModelErrors(dinner.GetRuleViolations());
|
ModelState.AddModelErrors(dinner.GetRuleViolations());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return View(new DinnerFormViewModel(dinner));
|
return View(new DinnerFormViewModel(dinner));
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// HTTP GET: /Dinners/Delete/1
|
// HTTP GET: /Dinners/Delete/1
|
||||||
|
|
||||||
[Authorize]
|
[Authorize]
|
||||||
public ActionResult Delete(int id) {
|
public ActionResult Delete(int id) {
|
||||||
|
|
||||||
Dinner dinner = dinnerRepository.GetDinner(id);
|
Dinner dinner = dinnerRepository.GetDinner(id);
|
||||||
|
|
||||||
if (dinner == null)
|
if (dinner == null)
|
||||||
return View("NotFound");
|
return View("NotFound");
|
||||||
|
|
||||||
if (!dinner.IsHostedBy(User.Identity.Name))
|
if (!dinner.IsHostedBy(User.Identity.Name))
|
||||||
return View("InvalidOwner");
|
return View("InvalidOwner");
|
||||||
|
|
||||||
return View(dinner);
|
return View(dinner);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// HTTP POST: /Dinners/Delete/1
|
// HTTP POST: /Dinners/Delete/1
|
||||||
|
|
||||||
[AcceptVerbs(HttpVerbs.Post), Authorize]
|
[AcceptVerbs(HttpVerbs.Post), Authorize]
|
||||||
public ActionResult Delete(int id, string confirmButton) {
|
public ActionResult Delete(int id, string confirmButton) {
|
||||||
|
|
||||||
Dinner dinner = dinnerRepository.GetDinner(id);
|
Dinner dinner = dinnerRepository.GetDinner(id);
|
||||||
|
|
||||||
if (dinner == null)
|
if (dinner == null)
|
||||||
return View("NotFound");
|
return View("NotFound");
|
||||||
|
|
||||||
if (!dinner.IsHostedBy(User.Identity.Name))
|
if (!dinner.IsHostedBy(User.Identity.Name))
|
||||||
return View("InvalidOwner");
|
return View("InvalidOwner");
|
||||||
|
|
||||||
dinnerRepository.Delete(dinner);
|
dinnerRepository.Delete(dinner);
|
||||||
dinnerRepository.Save();
|
dinnerRepository.Save();
|
||||||
|
|
||||||
return View("Deleted");
|
return View("Deleted");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
|
|
||||||
namespace NerdDinner.Controllers {
|
namespace NerdDinner.Controllers {
|
||||||
|
|
||||||
[HandleError]
|
[HandleError]
|
||||||
public class HomeController : Controller {
|
public class HomeController : Controller {
|
||||||
|
|
||||||
public ActionResult Index() {
|
public ActionResult Index() {
|
||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActionResult About() {
|
public ActionResult About() {
|
||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,45 +1,45 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using NerdDinner.Models;
|
using NerdDinner.Models;
|
||||||
|
|
||||||
namespace NerdDinner.Controllers
|
namespace NerdDinner.Controllers
|
||||||
{
|
{
|
||||||
public class RSVPController : Controller {
|
public class RSVPController : Controller {
|
||||||
|
|
||||||
IDinnerRepository dinnerRepository;
|
IDinnerRepository dinnerRepository;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Dependency Injection enabled constructors
|
// Dependency Injection enabled constructors
|
||||||
|
|
||||||
public RSVPController()
|
public RSVPController()
|
||||||
: this(new DinnerRepository()) {
|
: this(new DinnerRepository()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
public RSVPController(IDinnerRepository repository) {
|
public RSVPController(IDinnerRepository repository) {
|
||||||
dinnerRepository = repository;
|
dinnerRepository = repository;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// AJAX: /Dinners/Register/1
|
// AJAX: /Dinners/Register/1
|
||||||
|
|
||||||
[Authorize, AcceptVerbs(HttpVerbs.Post)]
|
[Authorize, AcceptVerbs(HttpVerbs.Post)]
|
||||||
public ActionResult Register(int id) {
|
public ActionResult Register(int id) {
|
||||||
|
|
||||||
Dinner dinner = dinnerRepository.GetDinner(id);
|
Dinner dinner = dinnerRepository.GetDinner(id);
|
||||||
|
|
||||||
if (!dinner.IsUserRegistered(User.Identity.Name)) {
|
if (!dinner.IsUserRegistered(User.Identity.Name)) {
|
||||||
|
|
||||||
RSVP rsvp = new RSVP();
|
RSVP rsvp = new RSVP();
|
||||||
rsvp.AttendeeName = User.Identity.Name;
|
rsvp.AttendeeName = User.Identity.Name;
|
||||||
|
|
||||||
dinner.RSVPs.Add(rsvp);
|
dinner.RSVPs.Add(rsvp);
|
||||||
dinnerRepository.Save();
|
dinnerRepository.Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
return Content("Thanks - we'll see you there!");
|
return Content("Thanks - we'll see you there!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,55 +1,55 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using NerdDinner.Models;
|
using NerdDinner.Models;
|
||||||
|
|
||||||
namespace NerdDinner.Controllers {
|
namespace NerdDinner.Controllers {
|
||||||
|
|
||||||
public class JsonDinner {
|
public class JsonDinner {
|
||||||
public int DinnerID { get; set; }
|
public int DinnerID { get; set; }
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public double Latitude { get; set; }
|
public double Latitude { get; set; }
|
||||||
public double Longitude { get; set; }
|
public double Longitude { get; set; }
|
||||||
public string Description { get; set; }
|
public string Description { get; set; }
|
||||||
public int RSVPCount { get; set; }
|
public int RSVPCount { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SearchController : Controller {
|
public class SearchController : Controller {
|
||||||
|
|
||||||
IDinnerRepository dinnerRepository;
|
IDinnerRepository dinnerRepository;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Dependency Injection enabled constructors
|
// Dependency Injection enabled constructors
|
||||||
|
|
||||||
public SearchController()
|
public SearchController()
|
||||||
: this(new DinnerRepository()) {
|
: this(new DinnerRepository()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
public SearchController(IDinnerRepository repository) {
|
public SearchController(IDinnerRepository repository) {
|
||||||
dinnerRepository = repository;
|
dinnerRepository = repository;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// AJAX: /Search/FindByLocation?longitude=45&latitude=-90
|
// AJAX: /Search/FindByLocation?longitude=45&latitude=-90
|
||||||
|
|
||||||
[AcceptVerbs(HttpVerbs.Post)]
|
[AcceptVerbs(HttpVerbs.Post)]
|
||||||
public ActionResult SearchByLocation(float latitude, float longitude) {
|
public ActionResult SearchByLocation(float latitude, float longitude) {
|
||||||
|
|
||||||
var dinners = dinnerRepository.FindByLocation(latitude, longitude);
|
var dinners = dinnerRepository.FindByLocation(latitude, longitude);
|
||||||
|
|
||||||
var jsonDinners = from dinner in dinners
|
var jsonDinners = from dinner in dinners
|
||||||
select new JsonDinner {
|
select new JsonDinner {
|
||||||
DinnerID = dinner.DinnerID,
|
DinnerID = dinner.DinnerID,
|
||||||
Latitude = dinner.Latitude,
|
Latitude = dinner.Latitude,
|
||||||
Longitude = dinner.Longitude,
|
Longitude = dinner.Longitude,
|
||||||
Title = dinner.Title,
|
Title = dinner.Title,
|
||||||
Description = dinner.Description,
|
Description = dinner.Description,
|
||||||
RSVPCount = dinner.RSVPs.Count
|
RSVPCount = dinner.RSVPs.Count
|
||||||
};
|
};
|
||||||
|
|
||||||
return Json(jsonDinners.ToList());
|
return Json(jsonDinners.ToList());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using System.Web.UI;
|
using System.Web.UI;
|
||||||
|
|
||||||
namespace NerdDinner {
|
namespace NerdDinner {
|
||||||
public partial class _Default : Page {
|
public partial class _Default : Page {
|
||||||
public void Page_Load(object sender, System.EventArgs e) {
|
public void Page_Load(object sender, System.EventArgs e) {
|
||||||
HttpContext.Current.RewritePath(Request.ApplicationPath, false);
|
HttpContext.Current.RewritePath(Request.ApplicationPath, false);
|
||||||
IHttpHandler httpHandler = new MvcHttpHandler();
|
IHttpHandler httpHandler = new MvcHttpHandler();
|
||||||
httpHandler.ProcessRequest(HttpContext.Current);
|
httpHandler.ProcessRequest(HttpContext.Current);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,37 +1,37 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using System.Web.Routing;
|
using System.Web.Routing;
|
||||||
using Dlrsoft.Asp.Mvc;
|
using Dlrsoft.Asp.Mvc;
|
||||||
|
|
||||||
namespace NerdDinner {
|
namespace NerdDinner {
|
||||||
|
|
||||||
public class MvcApplication : System.Web.HttpApplication {
|
public class MvcApplication : System.Web.HttpApplication {
|
||||||
|
|
||||||
public void RegisterRoutes(RouteCollection routes) {
|
public void RegisterRoutes(RouteCollection routes) {
|
||||||
|
|
||||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||||
|
|
||||||
routes.MapRoute(
|
routes.MapRoute(
|
||||||
"UpcomingDinners",
|
"UpcomingDinners",
|
||||||
"Dinners/Page/{page}",
|
"Dinners/Page/{page}",
|
||||||
new { controller = "Dinners", action = "Index" }
|
new { controller = "Dinners", action = "Index" }
|
||||||
);
|
);
|
||||||
|
|
||||||
routes.MapRoute(
|
routes.MapRoute(
|
||||||
"Default", // Route name
|
"Default", // Route name
|
||||||
"{controller}/{action}/{id}", // URL with parameters
|
"{controller}/{action}/{id}", // URL with parameters
|
||||||
new { controller = "Home", action = "Index", id = "" } // Parameter defaults
|
new { controller = "Home", action = "Index", id = "" } // Parameter defaults
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application_Start() {
|
void Application_Start() {
|
||||||
RegisterRoutes(RouteTable.Routes);
|
RegisterRoutes(RouteTable.Routes);
|
||||||
ViewEngines.Engines.Clear();
|
ViewEngines.Engines.Clear();
|
||||||
ViewEngines.Engines.Add(new AspViewEngine());
|
ViewEngines.Engines.Add(new AspViewEngine());
|
||||||
ViewEngines.Engines.Add(new WebFormViewEngine());
|
ViewEngines.Engines.Add(new WebFormViewEngine());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,19 +1,19 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using NerdDinner.Models;
|
using NerdDinner.Models;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
|
|
||||||
namespace NerdDinner.Helpers {
|
namespace NerdDinner.Helpers {
|
||||||
|
|
||||||
public static class ModelStateHelpers {
|
public static class ModelStateHelpers {
|
||||||
|
|
||||||
public static void AddModelErrors(this ModelStateDictionary modelState, IEnumerable<RuleViolation> errors) {
|
public static void AddModelErrors(this ModelStateDictionary modelState, IEnumerable<RuleViolation> errors) {
|
||||||
|
|
||||||
foreach (RuleViolation issue in errors) {
|
foreach (RuleViolation issue in errors) {
|
||||||
modelState.AddModelError(issue.PropertyName, issue.ErrorMessage);
|
modelState.AddModelError(issue.PropertyName, issue.ErrorMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace NerdDinner.Helpers {
|
namespace NerdDinner.Helpers {
|
||||||
|
|
||||||
public class PaginatedList<T> : List<T> {
|
public class PaginatedList<T> : List<T> {
|
||||||
|
|
||||||
public int PageIndex { get; private set; }
|
public int PageIndex { get; private set; }
|
||||||
public int PageSize { get; private set; }
|
public int PageSize { get; private set; }
|
||||||
public int TotalCount { get; private set; }
|
public int TotalCount { get; private set; }
|
||||||
public int TotalPages { get; private set; }
|
public int TotalPages { get; private set; }
|
||||||
|
|
||||||
public PaginatedList(IQueryable<T> source, int pageIndex, int pageSize) {
|
public PaginatedList(IQueryable<T> source, int pageIndex, int pageSize) {
|
||||||
PageIndex = pageIndex;
|
PageIndex = pageIndex;
|
||||||
PageSize = pageSize;
|
PageSize = pageSize;
|
||||||
TotalCount = source.Count();
|
TotalCount = source.Count();
|
||||||
TotalPages = (int) Math.Ceiling(TotalCount / (double)PageSize);
|
TotalPages = (int) Math.Ceiling(TotalCount / (double)PageSize);
|
||||||
|
|
||||||
this.AddRange(source.Skip(PageIndex * PageSize).Take(PageSize));
|
this.AddRange(source.Skip(PageIndex * PageSize).Take(PageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool HasPreviousPage {
|
public bool HasPreviousPage {
|
||||||
get {
|
get {
|
||||||
return (PageIndex > 0);
|
return (PageIndex > 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool HasNextPage {
|
public bool HasNextPage {
|
||||||
get {
|
get {
|
||||||
return (PageIndex+1 < TotalPages);
|
return (PageIndex+1 < TotalPages);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,32 +1,32 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace NerdDinner.Helpers {
|
namespace NerdDinner.Helpers {
|
||||||
|
|
||||||
public class PhoneValidator {
|
public class PhoneValidator {
|
||||||
|
|
||||||
static IDictionary<string, Regex> countryRegex = new Dictionary<string, Regex>()
|
static IDictionary<string, Regex> countryRegex = new Dictionary<string, Regex>()
|
||||||
{
|
{
|
||||||
{ "USA", new Regex("^[2-9]\\d{2}-\\d{3}-\\d{4}$")},
|
{ "USA", new Regex("^[2-9]\\d{2}-\\d{3}-\\d{4}$")},
|
||||||
{ "UK", new Regex("(^1300\\d{6}$)|(^1800|1900|1902\\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\\d{4}$)|(^04\\d{2,3}\\d{6}$)")},
|
{ "UK", new Regex("(^1300\\d{6}$)|(^1800|1900|1902\\d{6}$)|(^0[2|3|7|8]{1}[0-9]{8}$)|(^13\\d{4}$)|(^04\\d{2,3}\\d{6}$)")},
|
||||||
{ "Netherlands", new Regex("(^\\+[0-9]{2}|^\\+[0-9]{2}\\(0\\)|^\\(\\+[0-9]{2}\\)\\(0\\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\\-\\s]{10}$)")},
|
{ "Netherlands", new Regex("(^\\+[0-9]{2}|^\\+[0-9]{2}\\(0\\)|^\\(\\+[0-9]{2}\\)\\(0\\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\\-\\s]{10}$)")},
|
||||||
};
|
};
|
||||||
|
|
||||||
public static bool IsValidNumber(string phoneNumber, string country) {
|
public static bool IsValidNumber(string phoneNumber, string country) {
|
||||||
|
|
||||||
if (country != null && countryRegex.ContainsKey(country))
|
if (country != null && countryRegex.ContainsKey(country))
|
||||||
return countryRegex[country].IsMatch(phoneNumber);
|
return countryRegex[country].IsMatch(phoneNumber);
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IEnumerable<string> Countries {
|
public static IEnumerable<string> Countries {
|
||||||
get {
|
get {
|
||||||
return countryRegex.Keys;
|
return countryRegex.Keys;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,56 +1,56 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Data.Linq;
|
using System.Data.Linq;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using NerdDinner.Helpers;
|
using NerdDinner.Helpers;
|
||||||
|
|
||||||
namespace NerdDinner.Models {
|
namespace NerdDinner.Models {
|
||||||
|
|
||||||
[Bind(Include="Title,Description,EventDate,Address,Country,ContactPhone,Latitude,Longitude")]
|
[Bind(Include="Title,Description,EventDate,Address,Country,ContactPhone,Latitude,Longitude")]
|
||||||
public partial class Dinner {
|
public partial class Dinner {
|
||||||
|
|
||||||
public bool IsHostedBy(string userName) {
|
public bool IsHostedBy(string userName) {
|
||||||
return HostedBy.Equals(userName, StringComparison.InvariantCultureIgnoreCase);
|
return HostedBy.Equals(userName, StringComparison.InvariantCultureIgnoreCase);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsUserRegistered(string userName) {
|
public bool IsUserRegistered(string userName) {
|
||||||
return RSVPs.Any(r => r.AttendeeName.Equals(userName, StringComparison.InvariantCultureIgnoreCase));
|
return RSVPs.Any(r => r.AttendeeName.Equals(userName, StringComparison.InvariantCultureIgnoreCase));
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsValid {
|
public bool IsValid {
|
||||||
get { return (GetRuleViolations().Count() == 0); }
|
get { return (GetRuleViolations().Count() == 0); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<RuleViolation> GetRuleViolations() {
|
public IEnumerable<RuleViolation> GetRuleViolations() {
|
||||||
|
|
||||||
if (String.IsNullOrEmpty(Title))
|
if (String.IsNullOrEmpty(Title))
|
||||||
yield return new RuleViolation("Title is required", "Title");
|
yield return new RuleViolation("Title is required", "Title");
|
||||||
|
|
||||||
if (String.IsNullOrEmpty(Description))
|
if (String.IsNullOrEmpty(Description))
|
||||||
yield return new RuleViolation("Description is required", "Description");
|
yield return new RuleViolation("Description is required", "Description");
|
||||||
|
|
||||||
if (String.IsNullOrEmpty(HostedBy))
|
if (String.IsNullOrEmpty(HostedBy))
|
||||||
yield return new RuleViolation("HostedBy is required", "HostedBy");
|
yield return new RuleViolation("HostedBy is required", "HostedBy");
|
||||||
|
|
||||||
if (String.IsNullOrEmpty(Address))
|
if (String.IsNullOrEmpty(Address))
|
||||||
yield return new RuleViolation("Address is required", "Address");
|
yield return new RuleViolation("Address is required", "Address");
|
||||||
|
|
||||||
if (String.IsNullOrEmpty(Country))
|
if (String.IsNullOrEmpty(Country))
|
||||||
yield return new RuleViolation("Country is required", "Address");
|
yield return new RuleViolation("Country is required", "Address");
|
||||||
|
|
||||||
if (String.IsNullOrEmpty(ContactPhone))
|
if (String.IsNullOrEmpty(ContactPhone))
|
||||||
yield return new RuleViolation("Phone# is required", "ContactPhone");
|
yield return new RuleViolation("Phone# is required", "ContactPhone");
|
||||||
|
|
||||||
if (!PhoneValidator.IsValidNumber(ContactPhone, Country))
|
if (!PhoneValidator.IsValidNumber(ContactPhone, Country))
|
||||||
yield return new RuleViolation("Phone# does not match country", "ContactPhone");
|
yield return new RuleViolation("Phone# does not match country", "ContactPhone");
|
||||||
|
|
||||||
yield break;
|
yield break;
|
||||||
}
|
}
|
||||||
|
|
||||||
partial void OnValidate(ChangeAction action) {
|
partial void OnValidate(ChangeAction action) {
|
||||||
if (!IsValid)
|
if (!IsValid)
|
||||||
throw new ApplicationException("Rule violations prevent saving");
|
throw new ApplicationException("Rule violations prevent saving");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,58 +1,58 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
|
|
||||||
namespace NerdDinner.Models {
|
namespace NerdDinner.Models {
|
||||||
|
|
||||||
public class DinnerRepository : NerdDinner.Models.IDinnerRepository {
|
public class DinnerRepository : NerdDinner.Models.IDinnerRepository {
|
||||||
|
|
||||||
NerdDinnerDataContext db = new NerdDinnerDataContext();
|
NerdDinnerDataContext db = new NerdDinnerDataContext();
|
||||||
|
|
||||||
//
|
//
|
||||||
// Query Methods
|
// Query Methods
|
||||||
|
|
||||||
public IQueryable<Dinner> FindAllDinners() {
|
public IQueryable<Dinner> FindAllDinners() {
|
||||||
return db.Dinners;
|
return db.Dinners;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IQueryable<Dinner> FindUpcomingDinners() {
|
public IQueryable<Dinner> FindUpcomingDinners() {
|
||||||
return from dinner in FindAllDinners()
|
return from dinner in FindAllDinners()
|
||||||
where dinner.EventDate > DateTime.Now
|
where dinner.EventDate > DateTime.Now
|
||||||
orderby dinner.EventDate
|
orderby dinner.EventDate
|
||||||
select dinner;
|
select dinner;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IQueryable<Dinner> FindByLocation(float latitude, float longitude) {
|
public IQueryable<Dinner> FindByLocation(float latitude, float longitude) {
|
||||||
var dinners = from dinner in FindUpcomingDinners()
|
var dinners = from dinner in FindUpcomingDinners()
|
||||||
join i in db.NearestDinners(latitude, longitude)
|
join i in db.NearestDinners(latitude, longitude)
|
||||||
on dinner.DinnerID equals i.DinnerID
|
on dinner.DinnerID equals i.DinnerID
|
||||||
select dinner;
|
select dinner;
|
||||||
|
|
||||||
return dinners;
|
return dinners;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Dinner GetDinner(int id) {
|
public Dinner GetDinner(int id) {
|
||||||
return db.Dinners.SingleOrDefault(d => d.DinnerID == id);
|
return db.Dinners.SingleOrDefault(d => d.DinnerID == id);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Insert/Delete Methods
|
// Insert/Delete Methods
|
||||||
|
|
||||||
public void Add(Dinner dinner) {
|
public void Add(Dinner dinner) {
|
||||||
db.Dinners.InsertOnSubmit(dinner);
|
db.Dinners.InsertOnSubmit(dinner);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Delete(Dinner dinner) {
|
public void Delete(Dinner dinner) {
|
||||||
db.RSVPs.DeleteAllOnSubmit(dinner.RSVPs);
|
db.RSVPs.DeleteAllOnSubmit(dinner.RSVPs);
|
||||||
db.Dinners.DeleteOnSubmit(dinner);
|
db.Dinners.DeleteOnSubmit(dinner);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Persistence
|
// Persistence
|
||||||
|
|
||||||
public void Save() {
|
public void Save() {
|
||||||
db.SubmitChanges();
|
db.SubmitChanges();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace NerdDinner.Models {
|
namespace NerdDinner.Models {
|
||||||
|
|
||||||
public interface IDinnerRepository {
|
public interface IDinnerRepository {
|
||||||
|
|
||||||
IQueryable<Dinner> FindAllDinners();
|
IQueryable<Dinner> FindAllDinners();
|
||||||
IQueryable<Dinner> FindByLocation(float latitude, float longitude);
|
IQueryable<Dinner> FindByLocation(float latitude, float longitude);
|
||||||
IQueryable<Dinner> FindUpcomingDinners();
|
IQueryable<Dinner> FindUpcomingDinners();
|
||||||
Dinner GetDinner(int id);
|
Dinner GetDinner(int id);
|
||||||
|
|
||||||
void Add(Dinner dinner);
|
void Add(Dinner dinner);
|
||||||
void Delete(Dinner dinner);
|
void Delete(Dinner dinner);
|
||||||
|
|
||||||
void Save();
|
void Save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,22 +1,22 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
|
|
||||||
namespace NerdDinner.Models {
|
namespace NerdDinner.Models {
|
||||||
|
|
||||||
public class RuleViolation {
|
public class RuleViolation {
|
||||||
|
|
||||||
public string ErrorMessage { get; private set; }
|
public string ErrorMessage { get; private set; }
|
||||||
public string PropertyName { get; private set; }
|
public string PropertyName { get; private set; }
|
||||||
|
|
||||||
public RuleViolation(string errorMessage) {
|
public RuleViolation(string errorMessage) {
|
||||||
ErrorMessage = errorMessage;
|
ErrorMessage = errorMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
public RuleViolation(string errorMessage, string propertyName) {
|
public RuleViolation(string errorMessage, string propertyName) {
|
||||||
ErrorMessage = errorMessage;
|
ErrorMessage = errorMessage;
|
||||||
PropertyName = propertyName;
|
PropertyName = propertyName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,215 +1,215 @@
|
||||||
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProductVersion>9.0.30729</ProductVersion>
|
<ProductVersion>9.0.30729</ProductVersion>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>{328C148C-DBEE-41A4-B1C7-104CBB216556}</ProjectGuid>
|
<ProjectGuid>{328C148C-DBEE-41A4-B1C7-104CBB216556}</ProjectGuid>
|
||||||
<ProjectTypeGuids>{603c0e0b-db56-11dc-be95-000d561079b0};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
<ProjectTypeGuids>{603c0e0b-db56-11dc-be95-000d561079b0};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>NerdDinner</RootNamespace>
|
<RootNamespace>NerdDinner</RootNamespace>
|
||||||
<AssemblyName>NerdDinner</AssemblyName>
|
<AssemblyName>NerdDinner</AssemblyName>
|
||||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||||
<MvcBuildViews>false</MvcBuildViews>
|
<MvcBuildViews>false</MvcBuildViews>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\</OutputPath>
|
<OutputPath>bin\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\</OutputPath>
|
<OutputPath>bin\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
<OutputPath>bin\x86\Release\</OutputPath>
|
<OutputPath>bin\x86\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Dlrsoft.Asp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Dlrsoft.Asp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\asp\bin\Release\Dlrsoft.Asp.dll</HintPath>
|
<HintPath>..\asp\bin\Release\Dlrsoft.Asp.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Core">
|
<Reference Include="System.Core">
|
||||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Data.DataSetExtensions">
|
<Reference Include="System.Data.DataSetExtensions">
|
||||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Data.Linq">
|
<Reference Include="System.Data.Linq">
|
||||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Abstractions.dll</HintPath>
|
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Abstractions.dll</HintPath>
|
||||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Mvc.dll</HintPath>
|
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Mvc.dll</HintPath>
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Routing.dll</HintPath>
|
<HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC RC\Assemblies\System.Web.Routing.dll</HintPath>
|
||||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Xml.Linq">
|
<Reference Include="System.Xml.Linq">
|
||||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Web" />
|
<Reference Include="System.Web" />
|
||||||
<Reference Include="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
|
<Reference Include="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Web.Services" />
|
<Reference Include="System.Web.Services" />
|
||||||
<Reference Include="System.EnterpriseServices" />
|
<Reference Include="System.EnterpriseServices" />
|
||||||
<Reference Include="System.Web.Mobile" />
|
<Reference Include="System.Web.Mobile" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Controllers\AccountController.cs" />
|
<Compile Include="Controllers\AccountController.cs" />
|
||||||
<Compile Include="Controllers\DinnersController.cs" />
|
<Compile Include="Controllers\DinnersController.cs" />
|
||||||
<Compile Include="Controllers\HomeController.cs" />
|
<Compile Include="Controllers\HomeController.cs" />
|
||||||
<Compile Include="Controllers\SearchController.cs" />
|
<Compile Include="Controllers\SearchController.cs" />
|
||||||
<Compile Include="Controllers\RSVPController.cs">
|
<Compile Include="Controllers\RSVPController.cs">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Default.aspx.cs">
|
<Compile Include="Default.aspx.cs">
|
||||||
<DependentUpon>Default.aspx</DependentUpon>
|
<DependentUpon>Default.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Global.asax.cs">
|
<Compile Include="Global.asax.cs">
|
||||||
<DependentUpon>Global.asax</DependentUpon>
|
<DependentUpon>Global.asax</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Helpers\ControllerHelpers.cs" />
|
<Compile Include="Helpers\ControllerHelpers.cs" />
|
||||||
<Compile Include="Helpers\PaginatedList.cs" />
|
<Compile Include="Helpers\PaginatedList.cs" />
|
||||||
<Compile Include="Helpers\PhoneValidator.cs" />
|
<Compile Include="Helpers\PhoneValidator.cs" />
|
||||||
<Compile Include="Models\Dinner.cs" />
|
<Compile Include="Models\Dinner.cs" />
|
||||||
<Compile Include="Models\DinnerRepository.cs" />
|
<Compile Include="Models\DinnerRepository.cs" />
|
||||||
<Compile Include="Models\IDinnerRepository.cs" />
|
<Compile Include="Models\IDinnerRepository.cs" />
|
||||||
<Compile Include="Models\NerdDinner.designer.cs">
|
<Compile Include="Models\NerdDinner.designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<DependentUpon>NerdDinner.dbml</DependentUpon>
|
<DependentUpon>NerdDinner.dbml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Models\RuleViolation.cs" />
|
<Compile Include="Models\RuleViolation.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="App_Data\NerdDinner.mdf">
|
<Content Include="App_Data\NerdDinner.mdf">
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="App_Data\NerdDinner_log.ldf">
|
<Content Include="App_Data\NerdDinner_log.ldf">
|
||||||
<DependentUpon>NerdDinner.mdf</DependentUpon>
|
<DependentUpon>NerdDinner.mdf</DependentUpon>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="Content\nerd.jpg" />
|
<Content Include="Content\nerd.jpg" />
|
||||||
<Content Include="Default.aspx" />
|
<Content Include="Default.aspx" />
|
||||||
<Content Include="Global.asax" />
|
<Content Include="Global.asax" />
|
||||||
<Content Include="Scripts\Map.js" />
|
<Content Include="Scripts\Map.js" />
|
||||||
<None Include="Views\Dinners\DinnerForm.asc" />
|
<None Include="Views\Dinners\DinnerForm.asc" />
|
||||||
<None Include="Views\Dinners\DinnerForm.ascx.bak" />
|
<None Include="Views\Dinners\DinnerForm.ascx.bak" />
|
||||||
<None Include="Views\Dinners\EditAndDeleteLinks.asc" />
|
<None Include="Views\Dinners\EditAndDeleteLinks.asc" />
|
||||||
<None Include="Views\Dinners\EditAndDeleteLinks.ascx.bak" />
|
<None Include="Views\Dinners\EditAndDeleteLinks.ascx.bak" />
|
||||||
<None Include="Views\Dinners\RSVPStatus.asc" />
|
<None Include="Views\Dinners\RSVPStatus.asc" />
|
||||||
<Content Include="Views\Dinners\Map.asp" />
|
<Content Include="Views\Dinners\Map.asp" />
|
||||||
<Content Include="Views\Dinners\Index.asp" />
|
<Content Include="Views\Dinners\Index.asp" />
|
||||||
<None Include="Views\Dinners\RSVPStatus.ascx.bak">
|
<None Include="Views\Dinners\RSVPStatus.ascx.bak">
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
</None>
|
</None>
|
||||||
<None Include="Views\Dinners\Map.ascx.bak" />
|
<None Include="Views\Dinners\Map.ascx.bak" />
|
||||||
<Content Include="Views\Dinners\Edit.asp" />
|
<Content Include="Views\Dinners\Edit.asp" />
|
||||||
<Content Include="Views\Dinners\Create.asp" />
|
<Content Include="Views\Dinners\Create.asp" />
|
||||||
<Content Include="Views\Dinners\Details.asp" />
|
<Content Include="Views\Dinners\Details.asp" />
|
||||||
<Content Include="Views\Dinners\Delete.asp" />
|
<Content Include="Views\Dinners\Delete.asp" />
|
||||||
<Content Include="Views\Dinners\InvalidOwner.asp" />
|
<Content Include="Views\Dinners\InvalidOwner.asp" />
|
||||||
<Content Include="Views\Dinners\NotFound.asp" />
|
<Content Include="Views\Dinners\NotFound.asp" />
|
||||||
<Content Include="Views\Dinners\Deleted.asp" />
|
<Content Include="Views\Dinners\Deleted.asp" />
|
||||||
<Content Include="Views\Home\Index.asp" />
|
<Content Include="Views\Home\Index.asp" />
|
||||||
<Content Include="Views\Home\About.asp" />
|
<Content Include="Views\Home\About.asp" />
|
||||||
<Content Include="Views\Shared\header.asp" />
|
<Content Include="Views\Shared\header.asp" />
|
||||||
<Content Include="Views\Shared\template.asp" />
|
<Content Include="Views\Shared\template.asp" />
|
||||||
<Content Include="Web.config" />
|
<Content Include="Web.config" />
|
||||||
<Content Include="Content\Site.css" />
|
<Content Include="Content\Site.css" />
|
||||||
<Content Include="Scripts\jquery-1.2.6.js" />
|
<Content Include="Scripts\jquery-1.2.6.js" />
|
||||||
<Content Include="Scripts\jquery-1.2.6.min.js" />
|
<Content Include="Scripts\jquery-1.2.6.min.js" />
|
||||||
<Content Include="Scripts\jquery-1.2.6-vsdoc.js" />
|
<Content Include="Scripts\jquery-1.2.6-vsdoc.js" />
|
||||||
<Content Include="Scripts\jquery-1.2.6.min-vsdoc.js" />
|
<Content Include="Scripts\jquery-1.2.6.min-vsdoc.js" />
|
||||||
<Content Include="Scripts\MicrosoftAjax.js" />
|
<Content Include="Scripts\MicrosoftAjax.js" />
|
||||||
<Content Include="Scripts\MicrosoftAjax.debug.js" />
|
<Content Include="Scripts\MicrosoftAjax.debug.js" />
|
||||||
<Content Include="Scripts\MicrosoftMvcAjax.js" />
|
<Content Include="Scripts\MicrosoftMvcAjax.js" />
|
||||||
<Content Include="Scripts\MicrosoftMvcAjax.debug.js" />
|
<Content Include="Scripts\MicrosoftMvcAjax.debug.js" />
|
||||||
<Content Include="Views\Account\ChangePassword.aspx" />
|
<Content Include="Views\Account\ChangePassword.aspx" />
|
||||||
<Content Include="Views\Account\ChangePasswordSuccess.aspx" />
|
<Content Include="Views\Account\ChangePasswordSuccess.aspx" />
|
||||||
<Content Include="Views\Account\LogOn.aspx" />
|
<Content Include="Views\Account\LogOn.aspx" />
|
||||||
<Content Include="Views\Account\Register.aspx" />
|
<Content Include="Views\Account\Register.aspx" />
|
||||||
<Content Include="Views\Shared\Error.aspx" />
|
<Content Include="Views\Shared\Error.aspx" />
|
||||||
<Content Include="Views\Shared\LoginStatus.ascx" />
|
<Content Include="Views\Shared\LoginStatus.ascx" />
|
||||||
<Content Include="Views\Shared\Site.Master" />
|
<Content Include="Views\Shared\Site.Master" />
|
||||||
<Content Include="Views\Web.config" />
|
<Content Include="Views\Web.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Models\NerdDinner.dbml">
|
<None Include="Models\NerdDinner.dbml">
|
||||||
<Generator>MSLinqToSQLGenerator</Generator>
|
<Generator>MSLinqToSQLGenerator</Generator>
|
||||||
<LastGenOutput>NerdDinner.designer.cs</LastGenOutput>
|
<LastGenOutput>NerdDinner.designer.cs</LastGenOutput>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Models\NerdDinner.dbml.layout">
|
<None Include="Models\NerdDinner.dbml.layout">
|
||||||
<DependentUpon>NerdDinner.dbml</DependentUpon>
|
<DependentUpon>NerdDinner.dbml</DependentUpon>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target> -->
|
</Target> -->
|
||||||
<Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
|
<Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
|
||||||
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\$(ProjectName)" />
|
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\$(ProjectName)" />
|
||||||
</Target>
|
</Target>
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
<VisualStudio>
|
<VisualStudio>
|
||||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||||
<WebProjectProperties>
|
<WebProjectProperties>
|
||||||
<UseIIS>False</UseIIS>
|
<UseIIS>False</UseIIS>
|
||||||
<AutoAssignPort>True</AutoAssignPort>
|
<AutoAssignPort>True</AutoAssignPort>
|
||||||
<DevelopmentServerPort>60848</DevelopmentServerPort>
|
<DevelopmentServerPort>60848</DevelopmentServerPort>
|
||||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||||
<IISUrl>
|
<IISUrl>
|
||||||
</IISUrl>
|
</IISUrl>
|
||||||
<NTLMAuthentication>False</NTLMAuthentication>
|
<NTLMAuthentication>False</NTLMAuthentication>
|
||||||
<UseCustomServer>False</UseCustomServer>
|
<UseCustomServer>False</UseCustomServer>
|
||||||
<CustomServerUrl>
|
<CustomServerUrl>
|
||||||
</CustomServerUrl>
|
</CustomServerUrl>
|
||||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||||
</WebProjectProperties>
|
</WebProjectProperties>
|
||||||
</FlavorProperties>
|
</FlavorProperties>
|
||||||
</VisualStudio>
|
</VisualStudio>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
</Project>
|
</Project>
|
|
@ -1,35 +1,35 @@
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("NerdDinner")]
|
[assembly: AssemblyTitle("NerdDinner")]
|
||||||
[assembly: AssemblyDescription("")]
|
[assembly: AssemblyDescription("")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("NerdDinner")]
|
[assembly: AssemblyProduct("NerdDinner")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2009")]
|
[assembly: AssemblyCopyright("Copyright © 2009")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
// to COM components. If you need to access a type in this assembly from
|
// to COM components. If you need to access a type in this assembly from
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("3f961952-a5a3-4ca2-bc29-5b46b500177d")]
|
[assembly: Guid("3f961952-a5a3-4ca2-bc29-5b46b500177d")]
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
// Version information for an assembly consists of the following four values:
|
||||||
//
|
//
|
||||||
// Major Version
|
// Major Version
|
||||||
// Minor Version
|
// Minor Version
|
||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
// You can specify all the values or you can default the Revision and Build Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("0.5.2.32072")]
|
[assembly: AssemblyFileVersion("0.5.2.32072")]
|
||||||
|
|
|
@ -1,138 +1,138 @@
|
||||||
/// <reference path="jquery-1.2.6.js" />
|
/// <reference path="jquery-1.2.6.js" />
|
||||||
|
|
||||||
var map = null;
|
var map = null;
|
||||||
var points = [];
|
var points = [];
|
||||||
var shapes = [];
|
var shapes = [];
|
||||||
var center = null;
|
var center = null;
|
||||||
|
|
||||||
function LoadMap(latitude, longitude, onMapLoaded) {
|
function LoadMap(latitude, longitude, onMapLoaded) {
|
||||||
map = new VEMap('theMap');
|
map = new VEMap('theMap');
|
||||||
options = new VEMapOptions();
|
options = new VEMapOptions();
|
||||||
options.EnableBirdseye = false;
|
options.EnableBirdseye = false;
|
||||||
|
|
||||||
// Makes the control bar less obtrusize.
|
// Makes the control bar less obtrusize.
|
||||||
map.SetDashboardSize(VEDashboardSize.Small);
|
map.SetDashboardSize(VEDashboardSize.Small);
|
||||||
|
|
||||||
if (onMapLoaded != null)
|
if (onMapLoaded != null)
|
||||||
map.onLoadMap = onMapLoaded;
|
map.onLoadMap = onMapLoaded;
|
||||||
|
|
||||||
if (latitude != null && longitude != null) {
|
if (latitude != null && longitude != null) {
|
||||||
center = new VELatLong(latitude, longitude);
|
center = new VELatLong(latitude, longitude);
|
||||||
}
|
}
|
||||||
|
|
||||||
map.LoadMap(center, null, null, null, null, null, null, options);
|
map.LoadMap(center, null, null, null, null, null, null, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
function LoadPin(LL, name, description) {
|
function LoadPin(LL, name, description) {
|
||||||
var shape = new VEShape(VEShapeType.Pushpin, LL);
|
var shape = new VEShape(VEShapeType.Pushpin, LL);
|
||||||
|
|
||||||
//Make a nice Pushpin shape with a title and description
|
//Make a nice Pushpin shape with a title and description
|
||||||
shape.SetTitle("<span class=\"pinTitle\"> " + escape(name) + "</span>");
|
shape.SetTitle("<span class=\"pinTitle\"> " + escape(name) + "</span>");
|
||||||
if (description !== undefined) {
|
if (description !== undefined) {
|
||||||
shape.SetDescription("<p class=\"pinDetails\">" +
|
shape.SetDescription("<p class=\"pinDetails\">" +
|
||||||
escape(description) + "</p>");
|
escape(description) + "</p>");
|
||||||
}
|
}
|
||||||
map.AddShape(shape);
|
map.AddShape(shape);
|
||||||
points.push(LL);
|
points.push(LL);
|
||||||
shapes.push(shape);
|
shapes.push(shape);
|
||||||
}
|
}
|
||||||
|
|
||||||
function FindAddressOnMap(where) {
|
function FindAddressOnMap(where) {
|
||||||
var numberOfResults = 20;
|
var numberOfResults = 20;
|
||||||
var setBestMapView = true;
|
var setBestMapView = true;
|
||||||
var showResults = true;
|
var showResults = true;
|
||||||
|
|
||||||
map.Find("", where, null, null, null,
|
map.Find("", where, null, null, null,
|
||||||
numberOfResults, showResults, true, true,
|
numberOfResults, showResults, true, true,
|
||||||
setBestMapView, callbackForLocation);
|
setBestMapView, callbackForLocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
function callbackForLocation(layer, resultsArray, places,
|
function callbackForLocation(layer, resultsArray, places,
|
||||||
hasMore, VEErrorMessage) {
|
hasMore, VEErrorMessage) {
|
||||||
|
|
||||||
clearMap();
|
clearMap();
|
||||||
|
|
||||||
if (places == null)
|
if (places == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//Make a pushpin for each place we find
|
//Make a pushpin for each place we find
|
||||||
$.each(places, function(i, item) {
|
$.each(places, function(i, item) {
|
||||||
var description = "";
|
var description = "";
|
||||||
if (item.Description !== undefined) {
|
if (item.Description !== undefined) {
|
||||||
description = item.Description;
|
description = item.Description;
|
||||||
}
|
}
|
||||||
var LL = new VELatLong(item.LatLong.Latitude,
|
var LL = new VELatLong(item.LatLong.Latitude,
|
||||||
item.LatLong.Longitude);
|
item.LatLong.Longitude);
|
||||||
|
|
||||||
LoadPin(LL, item.Name, description);
|
LoadPin(LL, item.Name, description);
|
||||||
});
|
});
|
||||||
|
|
||||||
//Make sure all pushpins are visible
|
//Make sure all pushpins are visible
|
||||||
if (points.length > 1) {
|
if (points.length > 1) {
|
||||||
map.SetMapView(points);
|
map.SetMapView(points);
|
||||||
}
|
}
|
||||||
|
|
||||||
//If we've found exactly one place, that's our address.
|
//If we've found exactly one place, that's our address.
|
||||||
if (points.length === 1) {
|
if (points.length === 1) {
|
||||||
$("#Latitude").val(points[0].Latitude);
|
$("#Latitude").val(points[0].Latitude);
|
||||||
$("#Longitude").val(points[0].Longitude);
|
$("#Longitude").val(points[0].Longitude);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function clearMap() {
|
function clearMap() {
|
||||||
map.Clear();
|
map.Clear();
|
||||||
points = [];
|
points = [];
|
||||||
shapes = [];
|
shapes = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
function FindDinnersGivenLocation(where) {
|
function FindDinnersGivenLocation(where) {
|
||||||
map.Find("", where, null, null, null, null, null, false,
|
map.Find("", where, null, null, null, null, null, false,
|
||||||
null, null, callbackUpdateMapDinners);
|
null, null, callbackUpdateMapDinners);
|
||||||
}
|
}
|
||||||
|
|
||||||
function callbackUpdateMapDinners(layer, resultsArray, places, hasMore, VEErrorMessage) {
|
function callbackUpdateMapDinners(layer, resultsArray, places, hasMore, VEErrorMessage) {
|
||||||
$("#dinnerList").empty();
|
$("#dinnerList").empty();
|
||||||
clearMap();
|
clearMap();
|
||||||
var center = map.GetCenter();
|
var center = map.GetCenter();
|
||||||
|
|
||||||
$.post("/Search/SearchByLocation", { latitude: center.Latitude,
|
$.post("/Search/SearchByLocation", { latitude: center.Latitude,
|
||||||
longitude: center.Longitude
|
longitude: center.Longitude
|
||||||
}, function(dinners) {
|
}, function(dinners) {
|
||||||
$.each(dinners, function(i, dinner) {
|
$.each(dinners, function(i, dinner) {
|
||||||
|
|
||||||
var LL = new VELatLong(dinner.Latitude, dinner.Longitude, 0, null);
|
var LL = new VELatLong(dinner.Latitude, dinner.Longitude, 0, null);
|
||||||
|
|
||||||
var RsvpMessage = "";
|
var RsvpMessage = "";
|
||||||
|
|
||||||
if (dinner.RSVPCount == 1)
|
if (dinner.RSVPCount == 1)
|
||||||
RsvpMessage = "" + dinner.RSVPCount + " RSVP";
|
RsvpMessage = "" + dinner.RSVPCount + " RSVP";
|
||||||
else
|
else
|
||||||
RsvpMessage = "" + dinner.RSVPCount + " RSVPs";
|
RsvpMessage = "" + dinner.RSVPCount + " RSVPs";
|
||||||
|
|
||||||
// Add Pin to Map
|
// Add Pin to Map
|
||||||
LoadPin(LL, '<a href="/Dinners/Details/' + dinner.DinnerID + '">'
|
LoadPin(LL, '<a href="/Dinners/Details/' + dinner.DinnerID + '">'
|
||||||
+ dinner.Title + '</a>',
|
+ dinner.Title + '</a>',
|
||||||
"<p>" + dinner.Description + "</p>" + RsvpMessage);
|
"<p>" + dinner.Description + "</p>" + RsvpMessage);
|
||||||
|
|
||||||
//Add a dinner to the <ul> dinnerList on the right
|
//Add a dinner to the <ul> dinnerList on the right
|
||||||
$('#dinnerList').append($('<li/>')
|
$('#dinnerList').append($('<li/>')
|
||||||
.attr("class", "dinnerItem")
|
.attr("class", "dinnerItem")
|
||||||
.append($('<a/>').attr("href",
|
.append($('<a/>').attr("href",
|
||||||
"/Dinners/Details/" + dinner.DinnerID)
|
"/Dinners/Details/" + dinner.DinnerID)
|
||||||
.html(dinner.Title)).append(" ("+RsvpMessage+")"));
|
.html(dinner.Title)).append(" ("+RsvpMessage+")"));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Adjust zoom to display all the pins we just added.
|
// Adjust zoom to display all the pins we just added.
|
||||||
if (points.length > 1) {
|
if (points.length > 1) {
|
||||||
map.SetMapView(points);
|
map.SetMapView(points);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display the event's pin-bubble on hover.
|
// Display the event's pin-bubble on hover.
|
||||||
$(".dinnerItem").each(function(i, dinner) {
|
$(".dinnerItem").each(function(i, dinner) {
|
||||||
$(dinner).hover(
|
$(dinner).hover(
|
||||||
function() { map.ShowInfoBox(shapes[i]); },
|
function() { map.ShowInfoBox(shapes[i]); },
|
||||||
function() { map.HideInfoBox(shapes[i]); }
|
function() { map.HideInfoBox(shapes[i]); }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}, "json");
|
}, "json");
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -1,337 +1,337 @@
|
||||||
//----------------------------------------------------------
|
//----------------------------------------------------------
|
||||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||||
//----------------------------------------------------------
|
//----------------------------------------------------------
|
||||||
// MicrosoftMvcAjax.js
|
// MicrosoftMvcAjax.js
|
||||||
|
|
||||||
Type.registerNamespace('Sys.Mvc');
|
Type.registerNamespace('Sys.Mvc');
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Sys.Mvc.AjaxOptions
|
// Sys.Mvc.AjaxOptions
|
||||||
|
|
||||||
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
|
Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Sys.Mvc.InsertionMode
|
// Sys.Mvc.InsertionMode
|
||||||
|
|
||||||
Sys.Mvc.InsertionMode = function() {
|
Sys.Mvc.InsertionMode = function() {
|
||||||
/// <field name="replace" type="Number" integer="true" static="true">
|
/// <field name="replace" type="Number" integer="true" static="true">
|
||||||
/// </field>
|
/// </field>
|
||||||
/// <field name="insertBefore" type="Number" integer="true" static="true">
|
/// <field name="insertBefore" type="Number" integer="true" static="true">
|
||||||
/// </field>
|
/// </field>
|
||||||
/// <field name="insertAfter" type="Number" integer="true" static="true">
|
/// <field name="insertAfter" type="Number" integer="true" static="true">
|
||||||
/// </field>
|
/// </field>
|
||||||
};
|
};
|
||||||
Sys.Mvc.InsertionMode.prototype = {
|
Sys.Mvc.InsertionMode.prototype = {
|
||||||
replace: 0,
|
replace: 0,
|
||||||
insertBefore: 1,
|
insertBefore: 1,
|
||||||
insertAfter: 2
|
insertAfter: 2
|
||||||
}
|
}
|
||||||
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
|
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Sys.Mvc.AjaxContext
|
// Sys.Mvc.AjaxContext
|
||||||
|
|
||||||
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
|
Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
|
||||||
/// <param name="request" type="Sys.Net.WebRequest">
|
/// <param name="request" type="Sys.Net.WebRequest">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="updateTarget" type="Object" domElement="true">
|
/// <param name="updateTarget" type="Object" domElement="true">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="loadingElement" type="Object" domElement="true">
|
/// <param name="loadingElement" type="Object" domElement="true">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
|
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
|
/// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
|
||||||
/// </field>
|
/// </field>
|
||||||
/// <field name="_loadingElement" type="Object" domElement="true">
|
/// <field name="_loadingElement" type="Object" domElement="true">
|
||||||
/// </field>
|
/// </field>
|
||||||
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
|
/// <field name="_response" type="Sys.Net.WebRequestExecutor">
|
||||||
/// </field>
|
/// </field>
|
||||||
/// <field name="_request" type="Sys.Net.WebRequest">
|
/// <field name="_request" type="Sys.Net.WebRequest">
|
||||||
/// </field>
|
/// </field>
|
||||||
/// <field name="_updateTarget" type="Object" domElement="true">
|
/// <field name="_updateTarget" type="Object" domElement="true">
|
||||||
/// </field>
|
/// </field>
|
||||||
this._request = request;
|
this._request = request;
|
||||||
this._updateTarget = updateTarget;
|
this._updateTarget = updateTarget;
|
||||||
this._loadingElement = loadingElement;
|
this._loadingElement = loadingElement;
|
||||||
this._insertionMode = insertionMode;
|
this._insertionMode = insertionMode;
|
||||||
}
|
}
|
||||||
Sys.Mvc.AjaxContext.prototype = {
|
Sys.Mvc.AjaxContext.prototype = {
|
||||||
_insertionMode: 0,
|
_insertionMode: 0,
|
||||||
_loadingElement: null,
|
_loadingElement: null,
|
||||||
_response: null,
|
_response: null,
|
||||||
_request: null,
|
_request: null,
|
||||||
_updateTarget: null,
|
_updateTarget: null,
|
||||||
|
|
||||||
get_data: function Sys_Mvc_AjaxContext$get_data() {
|
get_data: function Sys_Mvc_AjaxContext$get_data() {
|
||||||
/// <value type="String"></value>
|
/// <value type="String"></value>
|
||||||
if (this._response) {
|
if (this._response) {
|
||||||
return this._response.get_responseData();
|
return this._response.get_responseData();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
|
get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
|
||||||
/// <value type="Sys.Mvc.InsertionMode"></value>
|
/// <value type="Sys.Mvc.InsertionMode"></value>
|
||||||
return this._insertionMode;
|
return this._insertionMode;
|
||||||
},
|
},
|
||||||
|
|
||||||
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
|
get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
|
||||||
/// <value type="Object" domElement="true"></value>
|
/// <value type="Object" domElement="true"></value>
|
||||||
return this._loadingElement;
|
return this._loadingElement;
|
||||||
},
|
},
|
||||||
|
|
||||||
get_response: function Sys_Mvc_AjaxContext$get_response() {
|
get_response: function Sys_Mvc_AjaxContext$get_response() {
|
||||||
/// <value type="Sys.Net.WebRequestExecutor"></value>
|
/// <value type="Sys.Net.WebRequestExecutor"></value>
|
||||||
return this._response;
|
return this._response;
|
||||||
},
|
},
|
||||||
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
|
set_response: function Sys_Mvc_AjaxContext$set_response(value) {
|
||||||
/// <value type="Sys.Net.WebRequestExecutor"></value>
|
/// <value type="Sys.Net.WebRequestExecutor"></value>
|
||||||
this._response = value;
|
this._response = value;
|
||||||
return value;
|
return value;
|
||||||
},
|
},
|
||||||
|
|
||||||
get_request: function Sys_Mvc_AjaxContext$get_request() {
|
get_request: function Sys_Mvc_AjaxContext$get_request() {
|
||||||
/// <value type="Sys.Net.WebRequest"></value>
|
/// <value type="Sys.Net.WebRequest"></value>
|
||||||
return this._request;
|
return this._request;
|
||||||
},
|
},
|
||||||
|
|
||||||
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
|
get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
|
||||||
/// <value type="Object" domElement="true"></value>
|
/// <value type="Object" domElement="true"></value>
|
||||||
return this._updateTarget;
|
return this._updateTarget;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Sys.Mvc.AsyncHyperlink
|
// Sys.Mvc.AsyncHyperlink
|
||||||
|
|
||||||
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
|
Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
|
||||||
}
|
}
|
||||||
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
|
Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
|
||||||
/// <param name="anchor" type="Object" domElement="true">
|
/// <param name="anchor" type="Object" domElement="true">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="evt" type="Sys.UI.DomEvent">
|
/// <param name="evt" type="Sys.UI.DomEvent">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
|
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
|
||||||
/// </param>
|
/// </param>
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
|
Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Sys.Mvc.MvcHelpers
|
// Sys.Mvc.MvcHelpers
|
||||||
|
|
||||||
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
|
Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
|
||||||
}
|
}
|
||||||
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
|
Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
|
||||||
/// <param name="form" type="Object" domElement="true">
|
/// <param name="form" type="Object" domElement="true">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <returns type="String"></returns>
|
/// <returns type="String"></returns>
|
||||||
var formElements = form.elements;
|
var formElements = form.elements;
|
||||||
var formBody = new Sys.StringBuilder();
|
var formBody = new Sys.StringBuilder();
|
||||||
var count = formElements.length;
|
var count = formElements.length;
|
||||||
for (var i = 0; i < count; i++) {
|
for (var i = 0; i < count; i++) {
|
||||||
var element = formElements[i];
|
var element = formElements[i];
|
||||||
var name = element.name;
|
var name = element.name;
|
||||||
if (!name || !name.length) {
|
if (!name || !name.length) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
var tagName = element.tagName.toUpperCase();
|
var tagName = element.tagName.toUpperCase();
|
||||||
if (tagName === 'INPUT') {
|
if (tagName === 'INPUT') {
|
||||||
var inputElement = element;
|
var inputElement = element;
|
||||||
var type = inputElement.type;
|
var type = inputElement.type;
|
||||||
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
|
if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
|
||||||
formBody.append(encodeURIComponent(name));
|
formBody.append(encodeURIComponent(name));
|
||||||
formBody.append('=');
|
formBody.append('=');
|
||||||
formBody.append(encodeURIComponent(inputElement.value));
|
formBody.append(encodeURIComponent(inputElement.value));
|
||||||
formBody.append('&');
|
formBody.append('&');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (tagName === 'SELECT') {
|
else if (tagName === 'SELECT') {
|
||||||
var selectElement = element;
|
var selectElement = element;
|
||||||
var optionCount = selectElement.options.length;
|
var optionCount = selectElement.options.length;
|
||||||
for (var j = 0; j < optionCount; j++) {
|
for (var j = 0; j < optionCount; j++) {
|
||||||
var optionElement = selectElement.options[j];
|
var optionElement = selectElement.options[j];
|
||||||
if (optionElement.selected) {
|
if (optionElement.selected) {
|
||||||
formBody.append(encodeURIComponent(name));
|
formBody.append(encodeURIComponent(name));
|
||||||
formBody.append('=');
|
formBody.append('=');
|
||||||
formBody.append(encodeURIComponent(optionElement.value));
|
formBody.append(encodeURIComponent(optionElement.value));
|
||||||
formBody.append('&');
|
formBody.append('&');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (tagName === 'TEXTAREA') {
|
else if (tagName === 'TEXTAREA') {
|
||||||
formBody.append(encodeURIComponent(name));
|
formBody.append(encodeURIComponent(name));
|
||||||
formBody.append('=');
|
formBody.append('=');
|
||||||
formBody.append(encodeURIComponent((element.value)));
|
formBody.append(encodeURIComponent((element.value)));
|
||||||
formBody.append('&');
|
formBody.append('&');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return formBody.toString();
|
return formBody.toString();
|
||||||
}
|
}
|
||||||
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
|
Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
|
||||||
/// <param name="url" type="String">
|
/// <param name="url" type="String">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="verb" type="String">
|
/// <param name="verb" type="String">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="body" type="String">
|
/// <param name="body" type="String">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="triggerElement" type="Object" domElement="true">
|
/// <param name="triggerElement" type="Object" domElement="true">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
|
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
|
||||||
/// </param>
|
/// </param>
|
||||||
if (ajaxOptions.confirm) {
|
if (ajaxOptions.confirm) {
|
||||||
if (!confirm(ajaxOptions.confirm)) {
|
if (!confirm(ajaxOptions.confirm)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ajaxOptions.url) {
|
if (ajaxOptions.url) {
|
||||||
url = ajaxOptions.url;
|
url = ajaxOptions.url;
|
||||||
}
|
}
|
||||||
if (ajaxOptions.httpMethod) {
|
if (ajaxOptions.httpMethod) {
|
||||||
verb = ajaxOptions.httpMethod;
|
verb = ajaxOptions.httpMethod;
|
||||||
}
|
}
|
||||||
if (body.length > 0 && !body.endsWith('&')) {
|
if (body.length > 0 && !body.endsWith('&')) {
|
||||||
body += '&';
|
body += '&';
|
||||||
}
|
}
|
||||||
body += 'X-Requested-With=XMLHttpRequest';
|
body += 'X-Requested-With=XMLHttpRequest';
|
||||||
var requestBody = '';
|
var requestBody = '';
|
||||||
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
|
if (verb.toUpperCase() === 'GET' || verb.toUpperCase() === 'DELETE') {
|
||||||
if (url.indexOf('?') > -1) {
|
if (url.indexOf('?') > -1) {
|
||||||
if (!url.endsWith('&')) {
|
if (!url.endsWith('&')) {
|
||||||
url += '&';
|
url += '&';
|
||||||
}
|
}
|
||||||
url += body;
|
url += body;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
url += '?';
|
url += '?';
|
||||||
url += body;
|
url += body;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
requestBody = body;
|
requestBody = body;
|
||||||
}
|
}
|
||||||
var request = new Sys.Net.WebRequest();
|
var request = new Sys.Net.WebRequest();
|
||||||
request.set_url(url);
|
request.set_url(url);
|
||||||
request.set_httpVerb(verb);
|
request.set_httpVerb(verb);
|
||||||
request.set_body(requestBody);
|
request.set_body(requestBody);
|
||||||
if (verb.toUpperCase() === 'PUT') {
|
if (verb.toUpperCase() === 'PUT') {
|
||||||
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
|
request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
|
||||||
}
|
}
|
||||||
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
|
request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
|
||||||
var updateElement = null;
|
var updateElement = null;
|
||||||
if (ajaxOptions.updateTargetId) {
|
if (ajaxOptions.updateTargetId) {
|
||||||
updateElement = $get(ajaxOptions.updateTargetId);
|
updateElement = $get(ajaxOptions.updateTargetId);
|
||||||
}
|
}
|
||||||
var loadingElement = null;
|
var loadingElement = null;
|
||||||
if (ajaxOptions.loadingElementId) {
|
if (ajaxOptions.loadingElementId) {
|
||||||
loadingElement = $get(ajaxOptions.loadingElementId);
|
loadingElement = $get(ajaxOptions.loadingElementId);
|
||||||
}
|
}
|
||||||
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
|
var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
|
||||||
var continueRequest = true;
|
var continueRequest = true;
|
||||||
if (ajaxOptions.onBegin) {
|
if (ajaxOptions.onBegin) {
|
||||||
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
|
continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
|
||||||
}
|
}
|
||||||
if (loadingElement) {
|
if (loadingElement) {
|
||||||
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
|
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
|
||||||
}
|
}
|
||||||
if (continueRequest) {
|
if (continueRequest) {
|
||||||
request.add_completed(Function.createDelegate(null, function(executor) {
|
request.add_completed(Function.createDelegate(null, function(executor) {
|
||||||
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
|
Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
|
||||||
}));
|
}));
|
||||||
request.invoke();
|
request.invoke();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
|
Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
|
||||||
/// <param name="request" type="Sys.Net.WebRequest">
|
/// <param name="request" type="Sys.Net.WebRequest">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
|
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
|
/// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
|
||||||
/// </param>
|
/// </param>
|
||||||
ajaxContext.set_response(request.get_executor());
|
ajaxContext.set_response(request.get_executor());
|
||||||
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
|
if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var statusCode = ajaxContext.get_response().get_statusCode();
|
var statusCode = ajaxContext.get_response().get_statusCode();
|
||||||
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
|
if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
|
||||||
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
|
if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
|
||||||
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
|
var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
|
||||||
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
|
if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
|
||||||
eval(ajaxContext.get_data());
|
eval(ajaxContext.get_data());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
|
Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ajaxOptions.onSuccess) {
|
if (ajaxOptions.onSuccess) {
|
||||||
ajaxOptions.onSuccess(ajaxContext);
|
ajaxOptions.onSuccess(ajaxContext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (ajaxOptions.onFailure) {
|
if (ajaxOptions.onFailure) {
|
||||||
ajaxOptions.onFailure(ajaxContext);
|
ajaxOptions.onFailure(ajaxContext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ajaxContext.get_loadingElement()) {
|
if (ajaxContext.get_loadingElement()) {
|
||||||
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
|
Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
|
Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
|
||||||
/// <param name="target" type="Object" domElement="true">
|
/// <param name="target" type="Object" domElement="true">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
|
/// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="content" type="String">
|
/// <param name="content" type="String">
|
||||||
/// </param>
|
/// </param>
|
||||||
if (target) {
|
if (target) {
|
||||||
switch (insertionMode) {
|
switch (insertionMode) {
|
||||||
case Sys.Mvc.InsertionMode.replace:
|
case Sys.Mvc.InsertionMode.replace:
|
||||||
target.innerHTML = content;
|
target.innerHTML = content;
|
||||||
break;
|
break;
|
||||||
case Sys.Mvc.InsertionMode.insertBefore:
|
case Sys.Mvc.InsertionMode.insertBefore:
|
||||||
if (content && content.length > 0) {
|
if (content && content.length > 0) {
|
||||||
target.innerHTML = content + target.innerHTML.trimStart();
|
target.innerHTML = content + target.innerHTML.trimStart();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Sys.Mvc.InsertionMode.insertAfter:
|
case Sys.Mvc.InsertionMode.insertAfter:
|
||||||
if (content && content.length > 0) {
|
if (content && content.length > 0) {
|
||||||
target.innerHTML = target.innerHTML.trimEnd() + content;
|
target.innerHTML = target.innerHTML.trimEnd() + content;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Sys.Mvc.AsyncForm
|
// Sys.Mvc.AsyncForm
|
||||||
|
|
||||||
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
|
Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
|
||||||
}
|
}
|
||||||
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
|
Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
|
||||||
/// <param name="form" type="Object" domElement="true">
|
/// <param name="form" type="Object" domElement="true">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="evt" type="Sys.UI.DomEvent">
|
/// <param name="evt" type="Sys.UI.DomEvent">
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
|
/// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
|
||||||
/// </param>
|
/// </param>
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
|
var body = Sys.Mvc.MvcHelpers._serializeForm(form);
|
||||||
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
|
Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
|
Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
|
||||||
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
|
Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
|
||||||
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
|
Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
|
||||||
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
|
Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
|
||||||
|
|
||||||
// ---- Do not remove this footer ----
|
// ---- Do not remove this footer ----
|
||||||
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
|
// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
|
||||||
// -----------------------------------
|
// -----------------------------------
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
Type.registerNamespace('Sys.Mvc');Sys.Mvc.$create_AjaxOptions=function(){return {};}
|
Type.registerNamespace('Sys.Mvc');Sys.Mvc.$create_AjaxOptions=function(){return {};}
|
||||||
Sys.Mvc.InsertionMode=function(){};Sys.Mvc.InsertionMode.prototype = {replace:0,insertBefore:1,insertAfter:2}
|
Sys.Mvc.InsertionMode=function(){};Sys.Mvc.InsertionMode.prototype = {replace:0,insertBefore:1,insertAfter:2}
|
||||||
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode',false);Sys.Mvc.AjaxContext=function(request,updateTarget,loadingElement,insertionMode){this.$3=request;this.$4=updateTarget;this.$1=loadingElement;this.$0=insertionMode;}
|
Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode',false);Sys.Mvc.AjaxContext=function(request,updateTarget,loadingElement,insertionMode){this.$3=request;this.$4=updateTarget;this.$1=loadingElement;this.$0=insertionMode;}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -1,25 +1,25 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>Host a Dinner</title>
|
<title>Host a Dinner</title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<% Html.RenderPartial("DinnerForm") %>
|
<% Html.RenderPartial("DinnerForm") %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,39 +1,39 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>Delete Confirmation: <%=Html.Encode(Model.Title) %></title>
|
<title>Delete Confirmation: <%=Html.Encode(Model.Title) %></title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<h2>
|
<h2>
|
||||||
Delete Confirmation
|
Delete Confirmation
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Please confirm you want to cancel the dinner titled:
|
<p>Please confirm you want to cancel the dinner titled:
|
||||||
<i> <%=Html.Encode(Model.Title) %>? </i> </p>
|
<i> <%=Html.Encode(Model.Title) %>? </i> </p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% dim myForm
|
<% dim myForm
|
||||||
myForm = Html.BeginForm() %>
|
myForm = Html.BeginForm() %>
|
||||||
|
|
||||||
<input name="confirmButton" type="submit" value="Delete" />
|
<input name="confirmButton" type="submit" value="Delete" />
|
||||||
|
|
||||||
<% myForm.dispose() %>
|
<% myForm.dispose() %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,33 +1,33 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>Deleted</title>
|
<title>Deleted</title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<h2>Dinner Deleted</h2>
|
<h2>Dinner Deleted</h2>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Your dinner was successfully deleted.</p>
|
<p>Your dinner was successfully deleted.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p><a href="/dinners">Click for Upcoming Dinners</a></p>
|
<p><a href="/dinners">Click for Upcoming Dinners</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,57 +1,57 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title><%= Html.Encode(Model.Title) %></title>
|
<title><%= Html.Encode(Model.Title) %></title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<div id="dinnerDiv">
|
<div id="dinnerDiv">
|
||||||
|
|
||||||
<h2><%= Html.Encode(Model.Title) %></h2>
|
<h2><%= Html.Encode(Model.Title) %></h2>
|
||||||
<p>
|
<p>
|
||||||
<strong>When:</strong>
|
<strong>When:</strong>
|
||||||
<%= Model.EventDate.ToShortDateString() %>
|
<%= Model.EventDate.ToShortDateString() %>
|
||||||
|
|
||||||
<strong>@</strong>
|
<strong>@</strong>
|
||||||
<%= Model.EventDate.ToShortTimeString() %>
|
<%= Model.EventDate.ToShortTimeString() %>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<strong>Where:</strong>
|
<strong>Where:</strong>
|
||||||
<%= Html.Encode(Model.Address) %>,
|
<%= Html.Encode(Model.Address) %>,
|
||||||
<%= Html.Encode(Model.Country) %>
|
<%= Html.Encode(Model.Country) %>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<strong>Description:</strong>
|
<strong>Description:</strong>
|
||||||
<%= Html.Encode(Model.Description) %>
|
<%= Html.Encode(Model.Description) %>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<strong>Organizer:</strong>
|
<strong>Organizer:</strong>
|
||||||
<%= Html.Encode(Model.HostedBy) %>
|
<%= Html.Encode(Model.HostedBy) %>
|
||||||
(<%= Html.Encode(Model.ContactPhone) %>)
|
(<%= Html.Encode(Model.ContactPhone) %>)
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<% Html.RenderPartial("RSVPStatus"); %>
|
<% Html.RenderPartial("RSVPStatus"); %>
|
||||||
<% Html.RenderPartial("EditAndDeleteLinks"); %>
|
<% Html.RenderPartial("EditAndDeleteLinks"); %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="mapDiv">
|
<div id="mapDiv">
|
||||||
<% Html.RenderPartial("map"); %>
|
<% Html.RenderPartial("map"); %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>Edit: <%=Html.Encode(Model.Dinner.Title) %></title>
|
<title>Edit: <%=Html.Encode(Model.Dinner.Title) %></title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<h2>Edit Dinner</h2>
|
<h2>Edit Dinner</h2>
|
||||||
|
|
||||||
<% Html.RenderPartial("DinnerForm"); %>
|
<% Html.RenderPartial("DinnerForm"); %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,62 +1,62 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>Upcoming Dinners</title>
|
<title>Upcoming Dinners</title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<h2>
|
<h2>
|
||||||
Upcoming Dinners
|
Upcoming Dinners
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<% dim dinner
|
<% dim dinner
|
||||||
for each dinner in Model %>
|
for each dinner in Model %>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<%= Html.ActionLink(dinner.Title, "Details", Html.RouteValue("id", dinner.DinnerID)) %>
|
<%= Html.ActionLink(dinner.Title, "Details", Html.RouteValue("id", dinner.DinnerID)) %>
|
||||||
on
|
on
|
||||||
<%= Html.Encode(dinner.EventDate.ToShortDateString())%>
|
<%= Html.Encode(dinner.EventDate.ToShortDateString())%>
|
||||||
@
|
@
|
||||||
<%= Html.Encode(dinner.EventDate.ToShortTimeString())%>
|
<%= Html.Encode(dinner.EventDate.ToShortTimeString())%>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<% next %>
|
<% next %>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
|
|
||||||
<% if Model.HasPreviousPage then %>
|
<% if Model.HasPreviousPage then %>
|
||||||
|
|
||||||
<%= Html.RouteLink("<<<", "UpcomingDinners", Html.RouteValue("page", Model.PageIndex-1)) %>
|
<%= Html.RouteLink("<<<", "UpcomingDinners", Html.RouteValue("page", Model.PageIndex-1)) %>
|
||||||
|
|
||||||
<% end if %>
|
<% end if %>
|
||||||
|
|
||||||
<% if Model.HasNextPage then %>
|
<% if Model.HasNextPage then %>
|
||||||
|
|
||||||
<%= Html.RouteLink(">>>", "UpcomingDinners", Html.RouteValue("page", Model.PageIndex+1)) %>
|
<%= Html.RouteLink(">>>", "UpcomingDinners", Html.RouteValue("page", Model.PageIndex+1)) %>
|
||||||
|
|
||||||
<% end if %>
|
<% end if %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>You Don't Own This Dinner</title>
|
<title>You Don't Own This Dinner</title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<h2>Error Accessing Dinner</h2>
|
<h2>Error Accessing Dinner</h2>
|
||||||
|
|
||||||
<p>Sorry - but only the host of a Dinner can edit or delete it.</p>
|
<p>Sorry - but only the host of a Dinner can edit or delete it.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
<script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2" type="text/javascript"></script>
|
<script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2" type="text/javascript"></script>
|
||||||
|
|
||||||
<script src="/Scripts/Map.js" type="text/javascript"></script>
|
<script src="/Scripts/Map.js" type="text/javascript"></script>
|
||||||
|
|
||||||
<div id="theMap" style="width:520px">
|
<div id="theMap" style="width:520px">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var latitude = <%=Model.Latitude %>;
|
var latitude = <%=Model.Latitude %>;
|
||||||
var longitude = <%=Model.Longitude %>;
|
var longitude = <%=Model.Longitude %>;
|
||||||
|
|
||||||
if ((latitude == 0) || (longitude == 0))
|
if ((latitude == 0) || (longitude == 0))
|
||||||
LoadMap();
|
LoadMap();
|
||||||
else
|
else
|
||||||
LoadMap(latitude, longitude, mapLoaded);
|
LoadMap(latitude, longitude, mapLoaded);
|
||||||
});
|
});
|
||||||
|
|
||||||
function mapLoaded() {
|
function mapLoaded() {
|
||||||
var title = "<%= Html.Encode(Model.Title) %>";
|
var title = "<%= Html.Encode(Model.Title) %>";
|
||||||
var address = "<%= Html.Encode(Model.Address) %>";
|
var address = "<%= Html.Encode(Model.Address) %>";
|
||||||
|
|
||||||
LoadPin(center, title, address);
|
LoadPin(center, title, address);
|
||||||
map.SetZoomLevel(14);
|
map.SetZoomLevel(14);
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
|
@ -1,29 +1,29 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>Dinner Not Found</title>
|
<title>Dinner Not Found</title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
||||||
<h2>Dinner Not Found</h2>
|
<h2>Dinner Not Found</h2>
|
||||||
|
|
||||||
<p>Sorry - but the dinner you requested doesn't exist or was deleted.</p>
|
<p>Sorry - but the dinner you requested doesn't exist or was deleted.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>About</title>
|
<title>About</title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<h2>What is NerdDinner.com?</h2>
|
<h2>What is NerdDinner.com?</h2>
|
||||||
<p>
|
<p>
|
||||||
<p><img src="/Content/nerd.jpg" align="left" height="200" style="padding-right:20px" />Are you a huge nerd? Perhaps a geek? No? Maybe a dork, dweeb or wonk.
|
<p><img src="/Content/nerd.jpg" align="left" height="200" style="padding-right:20px" />Are you a huge nerd? Perhaps a geek? No? Maybe a dork, dweeb or wonk.
|
||||||
Quite possibly you're just a normal person. Either way, you're a social being. You need to get out for a bite
|
Quite possibly you're just a normal person. Either way, you're a social being. You need to get out for a bite
|
||||||
to eat occasionally, preferably with folks that are like you.</p>
|
to eat occasionally, preferably with folks that are like you.</p>
|
||||||
<p>Enter <a href="http://www.nerddinner.com">NerdDinner.com</a>, for all your event planning needs. We're focused on one thing. Organizing the world's
|
<p>Enter <a href="http://www.nerddinner.com">NerdDinner.com</a>, for all your event planning needs. We're focused on one thing. Organizing the world's
|
||||||
nerds and helping them eat in packs. </p>
|
nerds and helping them eat in packs. </p>
|
||||||
<p>We're free and fun. <a href="/">Find a dinner near you</a>, or <a href="/dinners/create">host a dinner</a>. Be social.</p>
|
<p>We're free and fun. <a href="/">Find a dinner near you</a>, or <a href="/dinners/create">host a dinner</a>. Be social.</p>
|
||||||
<p>We also have blog badges and widgets that you can install on your blog or website so your readers can get
|
<p>We also have blog badges and widgets that you can install on your blog or website so your readers can get
|
||||||
involved in the Nerd Dinner movement. Well, it's not really a movement. Mostly just geeks in a food court, but still.</p>
|
involved in the Nerd Dinner movement. Well, it's not really a movement. Mostly just geeks in a food court, but still.</p>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,60 +1,60 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title>Find a Dinner</title>
|
<title>Find a Dinner</title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2" type="text/javascript"></script>
|
<script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2" type="text/javascript"></script>
|
||||||
<script src="/Scripts/Map.js" type="text/javascript"></script>
|
<script src="/Scripts/Map.js" type="text/javascript"></script>
|
||||||
|
|
||||||
<h2>Find a Dinner</h2>
|
<h2>Find a Dinner</h2>
|
||||||
|
|
||||||
<div id="mapDivLeft">
|
<div id="mapDivLeft">
|
||||||
|
|
||||||
<div id="searchBox">
|
<div id="searchBox">
|
||||||
Enter your location: <%= Html.TextBox("Location") %> or <%= Html.ActionLink("View All Upcoming Dinners", "Index", "Dinners") %>.
|
Enter your location: <%= Html.TextBox("Location") %> or <%= Html.ActionLink("View All Upcoming Dinners", "Index", "Dinners") %>.
|
||||||
<input id="search" type="submit" value="Search" />
|
<input id="search" type="submit" value="Search" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="theMap">
|
<div id="theMap">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="mapDivRight">
|
<div id="mapDivRight">
|
||||||
<div id="dinnerList"></div>
|
<div id="dinnerList"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
LoadMap();
|
LoadMap();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#search").click(function(evt) {
|
$("#search").click(function(evt) {
|
||||||
var where = jQuery.trim($("#Location").val());
|
var where = jQuery.trim($("#Location").val());
|
||||||
if (where.length < 1)
|
if (where.length < 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
FindDinnersGivenLocation(where);
|
FindDinnersGivenLocation(where);
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
|
||||||
<%
|
<%
|
||||||
if (Request.IsAuthenticated) {
|
if (Request.IsAuthenticated) {
|
||||||
%>
|
%>
|
||||||
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
|
Welcome <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
|
||||||
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
|
[ <%= Html.ActionLink("Log Off", "LogOff", "Account") %> ]
|
||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
%>
|
%>
|
||||||
[ <%= Html.ActionLink("Log On", "LogOn", "Account") %> ]
|
[ <%= Html.ActionLink("Log On", "LogOn", "Account") %> ]
|
||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<div id="title">
|
<div id="title">
|
||||||
<h1>NerdDinner</h1>
|
<h1>NerdDinner</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="logindisplay">
|
<div id="logindisplay">
|
||||||
<% Html.RenderPartial("LoginStatus") %>
|
<% Html.RenderPartial("LoginStatus") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="menucontainer">
|
<div id="menucontainer">
|
||||||
<ul id="menu">
|
<ul id="menu">
|
||||||
<li><%= Html.ActionLink("Find Dinner", "Index", "Home")%></li>
|
<li><%= Html.ActionLink("Find Dinner", "Index", "Home")%></li>
|
||||||
<li><%= Html.ActionLink("Host Dinner", "Create", "Dinners")%></li>
|
<li><%= Html.ActionLink("Host Dinner", "Create", "Dinners")%></li>
|
||||||
<li><%= Html.ActionLink("About", "About", "Home")%></li>
|
<li><%= Html.ActionLink("About", "About", "Home")%></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,25 +1,25 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head id="Head1" runat="server">
|
<head id="Head1" runat="server">
|
||||||
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
|
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
|
||||||
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
|
||||||
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
<meta content="Nerd, Dinner, Geek, Luncheon, Dweeb, Breakfast, Technology, Bar, Beer, Wonk" name="keywords" />
|
||||||
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
<meta name="description" content="Host and promote your own Nerd Dinner free!" />
|
||||||
|
|
||||||
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
<script src="/Scripts/jquery-1.2.6.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
||||||
<% Html.RenderPartial("header") %>
|
<% Html.RenderPartial("header") %>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
|
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,34 +1,34 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<system.web>
|
<system.web>
|
||||||
<httpHandlers>
|
<httpHandlers>
|
||||||
<add path="*" verb="*"
|
<add path="*" verb="*"
|
||||||
type="System.Web.HttpNotFoundHandler"/>
|
type="System.Web.HttpNotFoundHandler"/>
|
||||||
</httpHandlers>
|
</httpHandlers>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Enabling request validation in view pages would cause validation to occur
|
Enabling request validation in view pages would cause validation to occur
|
||||||
after the input has already been processed by the controller. By default
|
after the input has already been processed by the controller. By default
|
||||||
MVC performs request validation before a controller processes the input.
|
MVC performs request validation before a controller processes the input.
|
||||||
To change this behavior apply the ValidateInputAttribute to a
|
To change this behavior apply the ValidateInputAttribute to a
|
||||||
controller or action.
|
controller or action.
|
||||||
-->
|
-->
|
||||||
<pages
|
<pages
|
||||||
validateRequest="false"
|
validateRequest="false"
|
||||||
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||||
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||||
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||||
<controls>
|
<controls>
|
||||||
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
|
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
|
||||||
</controls>
|
</controls>
|
||||||
</pages>
|
</pages>
|
||||||
</system.web>
|
</system.web>
|
||||||
|
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<validation validateIntegratedModeConfiguration="false"/>
|
<validation validateIntegratedModeConfiguration="false"/>
|
||||||
<handlers>
|
<handlers>
|
||||||
<remove name="BlockViewHandler"/>
|
<remove name="BlockViewHandler"/>
|
||||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
|
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler"/>
|
||||||
</handlers>
|
</handlers>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -1,156 +1,156 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!--
|
<!--
|
||||||
Note: As an alternative to hand editing this file you can use the
|
Note: As an alternative to hand editing this file you can use the
|
||||||
web admin tool to configure settings for your application. Use
|
web admin tool to configure settings for your application. Use
|
||||||
the Website->Asp.Net Configuration option in Visual Studio.
|
the Website->Asp.Net Configuration option in Visual Studio.
|
||||||
A full list of settings and comments can be found in
|
A full list of settings and comments can be found in
|
||||||
machine.config.comments usually located in
|
machine.config.comments usually located in
|
||||||
\Windows\Microsoft.Net\Framework\v2.x\Config
|
\Windows\Microsoft.Net\Framework\v2.x\Config
|
||||||
-->
|
-->
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||||
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||||
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
||||||
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||||
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
|
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
|
||||||
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
||||||
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
||||||
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
||||||
</sectionGroup>
|
</sectionGroup>
|
||||||
</sectionGroup>
|
</sectionGroup>
|
||||||
</sectionGroup>
|
</sectionGroup>
|
||||||
</configSections>
|
</configSections>
|
||||||
<connectionStrings configSource="ConnectionStrings.config" />
|
<connectionStrings configSource="ConnectionStrings.config" />
|
||||||
<system.web>
|
<system.web>
|
||||||
<!--
|
<!--
|
||||||
Set compilation debug="true" to insert debugging
|
Set compilation debug="true" to insert debugging
|
||||||
symbols into the compiled page. Because this
|
symbols into the compiled page. Because this
|
||||||
affects performance, set this value to true only
|
affects performance, set this value to true only
|
||||||
during development.
|
during development.
|
||||||
-->
|
-->
|
||||||
<compilation debug="true">
|
<compilation debug="true">
|
||||||
<assemblies>
|
<assemblies>
|
||||||
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
||||||
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
||||||
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
||||||
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
||||||
</assemblies>
|
</assemblies>
|
||||||
</compilation>
|
</compilation>
|
||||||
<!--
|
<!--
|
||||||
The <authentication> section enables configuration
|
The <authentication> section enables configuration
|
||||||
of the security authentication mode used by
|
of the security authentication mode used by
|
||||||
ASP.NET to identify an incoming user.
|
ASP.NET to identify an incoming user.
|
||||||
-->
|
-->
|
||||||
<authentication mode="Forms">
|
<authentication mode="Forms">
|
||||||
<forms loginUrl="~/Account/Logon" />
|
<forms loginUrl="~/Account/Logon" />
|
||||||
</authentication>
|
</authentication>
|
||||||
<membership>
|
<membership>
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<clear />
|
||||||
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/" />
|
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/" />
|
||||||
</providers>
|
</providers>
|
||||||
</membership>
|
</membership>
|
||||||
<profile>
|
<profile>
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<clear />
|
||||||
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/" />
|
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/" />
|
||||||
</providers>
|
</providers>
|
||||||
</profile>
|
</profile>
|
||||||
<roleManager enabled="false">
|
<roleManager enabled="false">
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<clear />
|
||||||
<add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
</providers>
|
</providers>
|
||||||
</roleManager>
|
</roleManager>
|
||||||
<customErrors mode="Off" />
|
<customErrors mode="Off" />
|
||||||
<!--
|
<!--
|
||||||
The <customErrors> section enables configuration
|
The <customErrors> section enables configuration
|
||||||
of what to do if/when an unhandled error occurs
|
of what to do if/when an unhandled error occurs
|
||||||
during the execution of a request. Specifically,
|
during the execution of a request. Specifically,
|
||||||
it enables developers to configure html error pages
|
it enables developers to configure html error pages
|
||||||
to be displayed in place of a error stack trace.
|
to be displayed in place of a error stack trace.
|
||||||
|
|
||||||
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
|
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
|
||||||
<error statusCode="403" redirect="NoAccess.htm" />
|
<error statusCode="403" redirect="NoAccess.htm" />
|
||||||
<error statusCode="404" redirect="FileNotFound.htm" />
|
<error statusCode="404" redirect="FileNotFound.htm" />
|
||||||
</customErrors>
|
</customErrors>
|
||||||
-->
|
-->
|
||||||
<pages>
|
<pages>
|
||||||
<controls>
|
<controls>
|
||||||
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
</controls>
|
</controls>
|
||||||
<namespaces>
|
<namespaces>
|
||||||
<add namespace="System.Web.Mvc" />
|
<add namespace="System.Web.Mvc" />
|
||||||
<add namespace="System.Web.Mvc.Ajax" />
|
<add namespace="System.Web.Mvc.Ajax" />
|
||||||
<add namespace="System.Web.Mvc.Html" />
|
<add namespace="System.Web.Mvc.Html" />
|
||||||
<add namespace="System.Web.Routing" />
|
<add namespace="System.Web.Routing" />
|
||||||
<add namespace="System.Linq" />
|
<add namespace="System.Linq" />
|
||||||
<add namespace="System.Collections.Generic" />
|
<add namespace="System.Collections.Generic" />
|
||||||
</namespaces>
|
</namespaces>
|
||||||
</pages>
|
</pages>
|
||||||
<httpHandlers>
|
<httpHandlers>
|
||||||
<remove verb="*" path="*.asmx" />
|
<remove verb="*" path="*.asmx" />
|
||||||
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
|
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
|
||||||
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
</httpHandlers>
|
</httpHandlers>
|
||||||
<httpModules>
|
<httpModules>
|
||||||
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
</httpModules>
|
</httpModules>
|
||||||
</system.web>
|
</system.web>
|
||||||
<system.codedom>
|
<system.codedom>
|
||||||
<compilers>
|
<compilers>
|
||||||
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<providerOption name="CompilerVersion" value="v3.5" />
|
<providerOption name="CompilerVersion" value="v3.5" />
|
||||||
<providerOption name="WarnAsError" value="false" />
|
<providerOption name="WarnAsError" value="false" />
|
||||||
</compiler>
|
</compiler>
|
||||||
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<providerOption name="CompilerVersion" value="v3.5" />
|
<providerOption name="CompilerVersion" value="v3.5" />
|
||||||
<providerOption name="OptionInfer" value="true" />
|
<providerOption name="OptionInfer" value="true" />
|
||||||
<providerOption name="WarnAsError" value="false" />
|
<providerOption name="WarnAsError" value="false" />
|
||||||
</compiler>
|
</compiler>
|
||||||
</compilers>
|
</compilers>
|
||||||
</system.codedom>
|
</system.codedom>
|
||||||
<!--
|
<!--
|
||||||
The system.webServer section is required for running ASP.NET AJAX under Internet
|
The system.webServer section is required for running ASP.NET AJAX under Internet
|
||||||
Information Services 7.0. It is not necessary for previous version of IIS.
|
Information Services 7.0. It is not necessary for previous version of IIS.
|
||||||
-->
|
-->
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<validation validateIntegratedModeConfiguration="false" />
|
<validation validateIntegratedModeConfiguration="false" />
|
||||||
<modules runAllManagedModulesForAllRequests="true">
|
<modules runAllManagedModulesForAllRequests="true">
|
||||||
<remove name="ScriptModule" />
|
<remove name="ScriptModule" />
|
||||||
<remove name="UrlRoutingModule" />
|
<remove name="UrlRoutingModule" />
|
||||||
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
</modules>
|
</modules>
|
||||||
<handlers>
|
<handlers>
|
||||||
<remove name="WebServiceHandlerFactory-Integrated" />
|
<remove name="WebServiceHandlerFactory-Integrated" />
|
||||||
<remove name="ScriptHandlerFactory" />
|
<remove name="ScriptHandlerFactory" />
|
||||||
<remove name="ScriptHandlerFactoryAppServices" />
|
<remove name="ScriptHandlerFactoryAppServices" />
|
||||||
<remove name="ScriptResource" />
|
<remove name="ScriptResource" />
|
||||||
<remove name="MvcHttpHandler" />
|
<remove name="MvcHttpHandler" />
|
||||||
<remove name="UrlRoutingHandler" />
|
<remove name="UrlRoutingHandler" />
|
||||||
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||||
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
</handlers>
|
</handlers>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="microsoft.visualstudio.teamsystems.backupinfo" value="6;web.config.backup" />
|
<add key="microsoft.visualstudio.teamsystems.backupinfo" value="6;web.config.backup" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
</configuration>
|
</configuration>
|
|
@ -1,57 +1,57 @@
|
||||||
'
|
'
|
||||||
' Visual Basic .NET Parser
|
' Visual Basic .NET Parser
|
||||||
'
|
'
|
||||||
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
||||||
'
|
'
|
||||||
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||||
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
||||||
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
'
|
'
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' An external checksum for a file.
|
''' An external checksum for a file.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public NotInheritable Class ExternalChecksum
|
Public NotInheritable Class ExternalChecksum
|
||||||
Private ReadOnly _Filename As String
|
Private ReadOnly _Filename As String
|
||||||
Private ReadOnly _Guid As String
|
Private ReadOnly _Guid As String
|
||||||
Private ReadOnly _Checksum As String
|
Private ReadOnly _Checksum As String
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The filename that the checksum is for.
|
''' The filename that the checksum is for.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Filename() As String
|
Public ReadOnly Property Filename() As String
|
||||||
Get
|
Get
|
||||||
Return _Filename
|
Return _Filename
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The guid of the file.
|
''' The guid of the file.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Guid() As String
|
Public ReadOnly Property Guid() As String
|
||||||
Get
|
Get
|
||||||
Return _Guid
|
Return _Guid
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The checksum for the file.
|
''' The checksum for the file.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Checksum() As String
|
Public ReadOnly Property Checksum() As String
|
||||||
Get
|
Get
|
||||||
Return _Checksum
|
Return _Checksum
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Constructs a new external checksum.
|
''' Constructs a new external checksum.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="filename">The filename that the checksum is for.</param>
|
''' <param name="filename">The filename that the checksum is for.</param>
|
||||||
''' <param name="guid">The guid of the file.</param>
|
''' <param name="guid">The guid of the file.</param>
|
||||||
''' <param name="checksum">The checksum for the file.</param>
|
''' <param name="checksum">The checksum for the file.</param>
|
||||||
Public Sub New(ByVal filename As String, ByVal guid As String, ByVal checksum As String)
|
Public Sub New(ByVal filename As String, ByVal guid As String, ByVal checksum As String)
|
||||||
_Filename = filename
|
_Filename = filename
|
||||||
_Guid = guid
|
_Guid = guid
|
||||||
_Checksum = checksum
|
_Checksum = checksum
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
|
@ -1,68 +1,68 @@
|
||||||
'
|
'
|
||||||
' Visual Basic .NET Parser
|
' Visual Basic .NET Parser
|
||||||
'
|
'
|
||||||
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
||||||
'
|
'
|
||||||
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||||
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
||||||
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
'
|
'
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' A line mapping from a source span to an external file and line.
|
''' A line mapping from a source span to an external file and line.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public NotInheritable Class ExternalLineMapping
|
Public NotInheritable Class ExternalLineMapping
|
||||||
Private ReadOnly _Start, _Finish As Location
|
Private ReadOnly _Start, _Finish As Location
|
||||||
Private ReadOnly _File As String
|
Private ReadOnly _File As String
|
||||||
Private ReadOnly _Line As Long
|
Private ReadOnly _Line As Long
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The start location of the mapping in the source.
|
''' The start location of the mapping in the source.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Start() As Location
|
Public ReadOnly Property Start() As Location
|
||||||
Get
|
Get
|
||||||
Return _Start
|
Return _Start
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The end location of the mapping in the source.
|
''' The end location of the mapping in the source.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Finish() As Location
|
Public ReadOnly Property Finish() As Location
|
||||||
Get
|
Get
|
||||||
Return _Finish
|
Return _Finish
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The external file the source maps to.
|
''' The external file the source maps to.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property File() As String
|
Public ReadOnly Property File() As String
|
||||||
Get
|
Get
|
||||||
Return _File
|
Return _File
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The external line number the source maps to.
|
''' The external line number the source maps to.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Line() As Long
|
Public ReadOnly Property Line() As Long
|
||||||
Get
|
Get
|
||||||
Return _Line
|
Return _Line
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Constructs a new external line mapping.
|
''' Constructs a new external line mapping.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="start">The start location in the source.</param>
|
''' <param name="start">The start location in the source.</param>
|
||||||
''' <param name="finish">The end location in the source.</param>
|
''' <param name="finish">The end location in the source.</param>
|
||||||
''' <param name="file">The name of the external file.</param>
|
''' <param name="file">The name of the external file.</param>
|
||||||
''' <param name="line">The line number in the external file.</param>
|
''' <param name="line">The line number in the external file.</param>
|
||||||
Public Sub New(ByVal start As Location, ByVal finish As Location, ByVal file As String, ByVal line As Long)
|
Public Sub New(ByVal start As Location, ByVal finish As Location, ByVal file As String, ByVal line As Long)
|
||||||
_Start = start
|
_Start = start
|
||||||
_Finish = finish
|
_Finish = finish
|
||||||
_File = file
|
_File = file
|
||||||
_Line = line
|
_Line = line
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
|
@ -1,24 +1,24 @@
|
||||||
'
|
'
|
||||||
' Visual Basic .NET Parser
|
' Visual Basic .NET Parser
|
||||||
'
|
'
|
||||||
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
||||||
'
|
'
|
||||||
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||||
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
||||||
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
'
|
'
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The numeric base of an integer literal.
|
''' The numeric base of an integer literal.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public Enum IntegerBase
|
Public Enum IntegerBase
|
||||||
''' <summary>Base 10.</summary>
|
''' <summary>Base 10.</summary>
|
||||||
[Decimal]
|
[Decimal]
|
||||||
|
|
||||||
''' <summary>Base 8.</summary>
|
''' <summary>Base 8.</summary>
|
||||||
Octal
|
Octal
|
||||||
|
|
||||||
''' <summary>Base 16.</summary>
|
''' <summary>Base 16.</summary>
|
||||||
Hexadecimal
|
Hexadecimal
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
'
|
'
|
||||||
' Visual Basic .NET Parser
|
' Visual Basic .NET Parser
|
||||||
'
|
'
|
||||||
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
||||||
'
|
'
|
||||||
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||||
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
||||||
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
'
|
'
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The version of the language you want.
|
''' The version of the language you want.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
<Flags()> _
|
<Flags()> _
|
||||||
Public Enum LanguageVersion
|
Public Enum LanguageVersion
|
||||||
None = &H0
|
None = &H0
|
||||||
|
|
||||||
''' <summary>Visual Basic 7.1</summary>
|
''' <summary>Visual Basic 7.1</summary>
|
||||||
''' <remarks>Shipped in Visual Basic 2003</remarks>
|
''' <remarks>Shipped in Visual Basic 2003</remarks>
|
||||||
VisualBasic71 = &H1
|
VisualBasic71 = &H1
|
||||||
|
|
||||||
''' <summary>Visual Basic 8.0</summary>
|
''' <summary>Visual Basic 8.0</summary>
|
||||||
''' <remarks>Shipped in Visual Basic 2005</remarks>
|
''' <remarks>Shipped in Visual Basic 2005</remarks>
|
||||||
VisualBasic80 = &H2
|
VisualBasic80 = &H2
|
||||||
|
|
||||||
All = &H3
|
All = &H3
|
||||||
End Enum
|
End Enum
|
|
@ -1,48 +1,48 @@
|
||||||
Shared Source License for VBParser
|
Shared Source License for VBParser
|
||||||
|
|
||||||
This license governs use of the accompanying software ('Software'), and your
|
This license governs use of the accompanying software ('Software'), and your
|
||||||
use of the Software constitutes acceptance of this license.
|
use of the Software constitutes acceptance of this license.
|
||||||
|
|
||||||
You may use the Software for any commercial or noncommercial purpose,
|
You may use the Software for any commercial or noncommercial purpose,
|
||||||
including distributing derivative works.
|
including distributing derivative works.
|
||||||
|
|
||||||
In return, we simply require that you agree:
|
In return, we simply require that you agree:
|
||||||
|
|
||||||
1. Not to remove any copyright or other notices from the Software.
|
1. Not to remove any copyright or other notices from the Software.
|
||||||
2. That if you distribute the Software in source code form you do so only
|
2. That if you distribute the Software in source code form you do so only
|
||||||
under this license (i.e. you must include a complete copy of this license
|
under this license (i.e. you must include a complete copy of this license
|
||||||
with your distribution), and if you distribute the Software solely in
|
with your distribution), and if you distribute the Software solely in
|
||||||
object form you only do so under a license that complies with this
|
object form you only do so under a license that complies with this
|
||||||
license.
|
license.
|
||||||
3. That the Software comes "as is", with no warranties. None whatsoever.
|
3. That the Software comes "as is", with no warranties. None whatsoever.
|
||||||
This means no express, implied or statutory warranty, including without
|
This means no express, implied or statutory warranty, including without
|
||||||
limitation, warranties of merchantability or fitness for a particular
|
limitation, warranties of merchantability or fitness for a particular
|
||||||
purpose or any warranty of title or non-infringement. Also, you must pass
|
purpose or any warranty of title or non-infringement. Also, you must pass
|
||||||
this disclaimer on whenever you distribute the Software or derivative
|
this disclaimer on whenever you distribute the Software or derivative
|
||||||
works.
|
works.
|
||||||
4. That no contributor to the Software will be liable for any of those types
|
4. That no contributor to the Software will be liable for any of those types
|
||||||
of damages known as indirect, special, consequential, or incidental
|
of damages known as indirect, special, consequential, or incidental
|
||||||
related to the Software or this license, to the maximum extent the law
|
related to the Software or this license, to the maximum extent the law
|
||||||
permits, no matter what legal theory it’s based on. Also, you must pass
|
permits, no matter what legal theory it’s based on. Also, you must pass
|
||||||
this limitation of liability on whenever you distribute the Software or
|
this limitation of liability on whenever you distribute the Software or
|
||||||
derivative works.
|
derivative works.
|
||||||
5. That if you sue anyone over patents that you think may apply to the
|
5. That if you sue anyone over patents that you think may apply to the
|
||||||
Software for a person's use of the Software, your license to the Software
|
Software for a person's use of the Software, your license to the Software
|
||||||
ends automatically.
|
ends automatically.
|
||||||
6. That the patent rights, if any, granted in this license only apply to the
|
6. That the patent rights, if any, granted in this license only apply to the
|
||||||
Software, not to any derivative works you make.
|
Software, not to any derivative works you make.
|
||||||
7. That the Software is subject to U.S. export jurisdiction at the time it
|
7. That the Software is subject to U.S. export jurisdiction at the time it
|
||||||
is licensed to you, and it may be subject to additional export or import
|
is licensed to you, and it may be subject to additional export or import
|
||||||
laws in other places. You agree to comply with all such laws and
|
laws in other places. You agree to comply with all such laws and
|
||||||
regulations that may apply to the Software after delivery of the software
|
regulations that may apply to the Software after delivery of the software
|
||||||
to you.
|
to you.
|
||||||
8. That if you are an agency of the U.S. Government, (i) Software provided
|
8. That if you are an agency of the U.S. Government, (i) Software provided
|
||||||
pursuant to a solicitation issued on or after December 1, 1995, is
|
pursuant to a solicitation issued on or after December 1, 1995, is
|
||||||
provided with the commercial license rights set forth in this license,
|
provided with the commercial license rights set forth in this license,
|
||||||
and (ii) Software provided pursuant to a solicitation issued prior to
|
and (ii) Software provided pursuant to a solicitation issued prior to
|
||||||
December 1, 1995, is provided with “Restricted Rights” as set forth in
|
December 1, 1995, is provided with “Restricted Rights” as set forth in
|
||||||
FAR, 48 C.F.R. 52.227-14 (June 1987) or DFAR, 48 C.F.R. 252.227-7013
|
FAR, 48 C.F.R. 52.227-14 (June 1987) or DFAR, 48 C.F.R. 252.227-7013
|
||||||
(Oct 1988), as applicable.
|
(Oct 1988), as applicable.
|
||||||
9. That your rights under this License end automatically if you breach it in
|
9. That your rights under this License end automatically if you breach it in
|
||||||
any way.
|
any way.
|
||||||
10.That all rights not expressly granted to you in this license are reserved.
|
10.That all rights not expressly granted to you in this license are reserved.
|
||||||
|
|
|
@ -1,160 +1,160 @@
|
||||||
'
|
'
|
||||||
' Visual Basic .NET Parser
|
' Visual Basic .NET Parser
|
||||||
'
|
'
|
||||||
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
||||||
'
|
'
|
||||||
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||||
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
||||||
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
'
|
'
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Stores source code line and column information.
|
''' Stores source code line and column information.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public Structure Location
|
Public Structure Location
|
||||||
Private ReadOnly _Index As Integer
|
Private ReadOnly _Index As Integer
|
||||||
Private ReadOnly _Line As Integer
|
Private ReadOnly _Line As Integer
|
||||||
Private ReadOnly _Column As Integer
|
Private ReadOnly _Column As Integer
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The index in the stream (0-based).
|
''' The index in the stream (0-based).
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Index() As Integer
|
Public ReadOnly Property Index() As Integer
|
||||||
Get
|
Get
|
||||||
Return _Index
|
Return _Index
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The physical line number (1-based).
|
''' The physical line number (1-based).
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Line() As Integer
|
Public ReadOnly Property Line() As Integer
|
||||||
Get
|
Get
|
||||||
Return _Line
|
Return _Line
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The physical column number (1-based).
|
''' The physical column number (1-based).
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property Column() As Integer
|
Public ReadOnly Property Column() As Integer
|
||||||
Get
|
Get
|
||||||
Return _Column
|
Return _Column
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Whether the location is a valid location.
|
''' Whether the location is a valid location.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public ReadOnly Property IsValid() As Boolean
|
Public ReadOnly Property IsValid() As Boolean
|
||||||
Get
|
Get
|
||||||
Return Line <> 0 AndAlso Column <> 0
|
Return Line <> 0 AndAlso Column <> 0
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Constructs a new Location for a particular source location.
|
''' Constructs a new Location for a particular source location.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="index">The index in the stream (0-based).</param>
|
''' <param name="index">The index in the stream (0-based).</param>
|
||||||
''' <param name="line">The physical line number (1-based).</param>
|
''' <param name="line">The physical line number (1-based).</param>
|
||||||
''' <param name="column">The physical column number (1-based).</param>
|
''' <param name="column">The physical column number (1-based).</param>
|
||||||
Public Sub New(ByVal index As Integer, ByVal line As Integer, ByVal column As Integer)
|
Public Sub New(ByVal index As Integer, ByVal line As Integer, ByVal column As Integer)
|
||||||
_Index = index
|
_Index = index
|
||||||
_Line = line
|
_Line = line
|
||||||
_Column = column
|
_Column = column
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Compares two specified Location values to see if they are equal.
|
''' Compares two specified Location values to see if they are equal.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="left">One location to compare.</param>
|
''' <param name="left">One location to compare.</param>
|
||||||
''' <param name="right">The other location to compare.</param>
|
''' <param name="right">The other location to compare.</param>
|
||||||
''' <returns>True if the locations are the same, False otherwise.</returns>
|
''' <returns>True if the locations are the same, False otherwise.</returns>
|
||||||
Public Shared Operator =(ByVal left As Location, ByVal right As Location) As Boolean
|
Public Shared Operator =(ByVal left As Location, ByVal right As Location) As Boolean
|
||||||
Return left.Index = right.Index
|
Return left.Index = right.Index
|
||||||
End Operator
|
End Operator
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Compares two specified Location values to see if they are not equal.
|
''' Compares two specified Location values to see if they are not equal.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="left">One location to compare.</param>
|
''' <param name="left">One location to compare.</param>
|
||||||
''' <param name="right">The other location to compare.</param>
|
''' <param name="right">The other location to compare.</param>
|
||||||
''' <returns>True if the locations are not the same, False otherwise.</returns>
|
''' <returns>True if the locations are not the same, False otherwise.</returns>
|
||||||
Public Shared Operator <>(ByVal left As Location, ByVal right As Location) As Boolean
|
Public Shared Operator <>(ByVal left As Location, ByVal right As Location) As Boolean
|
||||||
Return left.Index <> right.Index
|
Return left.Index <> right.Index
|
||||||
End Operator
|
End Operator
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Compares two specified Location values to see if one is before the other.
|
''' Compares two specified Location values to see if one is before the other.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="left">One location to compare.</param>
|
''' <param name="left">One location to compare.</param>
|
||||||
''' <param name="right">The other location to compare.</param>
|
''' <param name="right">The other location to compare.</param>
|
||||||
''' <returns>True if the first location is before the other location, False otherwise.</returns>
|
''' <returns>True if the first location is before the other location, False otherwise.</returns>
|
||||||
Public Shared Operator <(ByVal left As Location, ByVal right As Location) As Boolean
|
Public Shared Operator <(ByVal left As Location, ByVal right As Location) As Boolean
|
||||||
Return left.Index < right.Index
|
Return left.Index < right.Index
|
||||||
End Operator
|
End Operator
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Compares two specified Location values to see if one is after the other.
|
''' Compares two specified Location values to see if one is after the other.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="left">One location to compare.</param>
|
''' <param name="left">One location to compare.</param>
|
||||||
''' <param name="right">The other location to compare.</param>
|
''' <param name="right">The other location to compare.</param>
|
||||||
''' <returns>True if the first location is after the other location, False otherwise.</returns>
|
''' <returns>True if the first location is after the other location, False otherwise.</returns>
|
||||||
Public Shared Operator >(ByVal left As Location, ByVal right As Location) As Boolean
|
Public Shared Operator >(ByVal left As Location, ByVal right As Location) As Boolean
|
||||||
Return left.Index > right.Index
|
Return left.Index > right.Index
|
||||||
End Operator
|
End Operator
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Compares two specified Location values to see if one is before or the same as the other.
|
''' Compares two specified Location values to see if one is before or the same as the other.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="left">One location to compare.</param>
|
''' <param name="left">One location to compare.</param>
|
||||||
''' <param name="right">The other location to compare.</param>
|
''' <param name="right">The other location to compare.</param>
|
||||||
''' <returns>True if the first location is before or the same as the other location, False otherwise.</returns>
|
''' <returns>True if the first location is before or the same as the other location, False otherwise.</returns>
|
||||||
Public Shared Operator <=(ByVal left As Location, ByVal right As Location) As Boolean
|
Public Shared Operator <=(ByVal left As Location, ByVal right As Location) As Boolean
|
||||||
Return left.Index <= right.Index
|
Return left.Index <= right.Index
|
||||||
End Operator
|
End Operator
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Compares two specified Location values to see if one is after or the same as the other.
|
''' Compares two specified Location values to see if one is after or the same as the other.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="left">One location to compare.</param>
|
''' <param name="left">One location to compare.</param>
|
||||||
''' <param name="right">The other location to compare.</param>
|
''' <param name="right">The other location to compare.</param>
|
||||||
''' <returns>True if the first location is after or the same as the other location, False otherwise.</returns>
|
''' <returns>True if the first location is after or the same as the other location, False otherwise.</returns>
|
||||||
Public Shared Operator >=(ByVal left As Location, ByVal right As Location) As Boolean
|
Public Shared Operator >=(ByVal left As Location, ByVal right As Location) As Boolean
|
||||||
Return left.Index >= right.Index
|
Return left.Index >= right.Index
|
||||||
End Operator
|
End Operator
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Compares two specified Location values.
|
''' Compares two specified Location values.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <param name="left">One location to compare.</param>
|
''' <param name="left">One location to compare.</param>
|
||||||
''' <param name="right">The other location to compare.</param>
|
''' <param name="right">The other location to compare.</param>
|
||||||
''' <returns>0 if the locations are equal, -1 if the left one is less than the right one, 1 otherwise.</returns>
|
''' <returns>0 if the locations are equal, -1 if the left one is less than the right one, 1 otherwise.</returns>
|
||||||
Public Shared Function Compare(ByVal left As Location, ByVal right As Location) As Integer
|
Public Shared Function Compare(ByVal left As Location, ByVal right As Location) As Integer
|
||||||
If left = right Then
|
If left = right Then
|
||||||
Return 0
|
Return 0
|
||||||
ElseIf left < right Then
|
ElseIf left < right Then
|
||||||
Return -1
|
Return -1
|
||||||
Else
|
Else
|
||||||
Return 1
|
Return 1
|
||||||
End If
|
End If
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Overrides Function ToString() As String
|
Public Overrides Function ToString() As String
|
||||||
Return "(" & Me.Column & "," & Me.Line & ")"
|
Return "(" & Me.Column & "," & Me.Line & ")"
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Overrides Function Equals(ByVal obj As Object) As Boolean
|
Public Overrides Function Equals(ByVal obj As Object) As Boolean
|
||||||
If TypeOf obj Is Location Then
|
If TypeOf obj Is Location Then
|
||||||
Return Me = DirectCast(obj, Location)
|
Return Me = DirectCast(obj, Location)
|
||||||
Else
|
Else
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Overrides Function GetHashCode() As Integer
|
Public Overrides Function GetHashCode() As Integer
|
||||||
' Mask off the upper 32 bits of the index and use that as
|
' Mask off the upper 32 bits of the index and use that as
|
||||||
' the hash code.
|
' the hash code.
|
||||||
Return CInt(Index And &HFFFFFFFFL)
|
Return CInt(Index And &HFFFFFFFFL)
|
||||||
End Function
|
End Function
|
||||||
End Structure
|
End Structure
|
|
@ -1,13 +1,13 @@
|
||||||
'------------------------------------------------------------------------------
|
'------------------------------------------------------------------------------
|
||||||
' <auto-generated>
|
' <auto-generated>
|
||||||
' This code was generated by a tool.
|
' This code was generated by a tool.
|
||||||
' Runtime Version:2.0.50727.4005
|
' Runtime Version:2.0.50727.4005
|
||||||
'
|
'
|
||||||
' Changes to this file may cause incorrect behavior and will be lost if
|
' Changes to this file may cause incorrect behavior and will be lost if
|
||||||
' the code is regenerated.
|
' the code is regenerated.
|
||||||
' </auto-generated>
|
' </auto-generated>
|
||||||
'------------------------------------------------------------------------------
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
Option Strict On
|
Option Strict On
|
||||||
Option Explicit On
|
Option Explicit On
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,468 +1,468 @@
|
||||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectType>Local</ProjectType>
|
<ProjectType>Local</ProjectType>
|
||||||
<ProductVersion>9.0.30729</ProductVersion>
|
<ProductVersion>9.0.30729</ProductVersion>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}</ProjectGuid>
|
<ProjectGuid>{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}</ProjectGuid>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ApplicationIcon>
|
<ApplicationIcon>
|
||||||
</ApplicationIcon>
|
</ApplicationIcon>
|
||||||
<AssemblyKeyContainerName>
|
<AssemblyKeyContainerName>
|
||||||
</AssemblyKeyContainerName>
|
</AssemblyKeyContainerName>
|
||||||
<AssemblyName>Dlrsoft.VBParser</AssemblyName>
|
<AssemblyName>Dlrsoft.VBParser</AssemblyName>
|
||||||
<AssemblyOriginatorKeyFile>
|
<AssemblyOriginatorKeyFile>
|
||||||
</AssemblyOriginatorKeyFile>
|
</AssemblyOriginatorKeyFile>
|
||||||
<AssemblyOriginatorKeyMode>None</AssemblyOriginatorKeyMode>
|
<AssemblyOriginatorKeyMode>None</AssemblyOriginatorKeyMode>
|
||||||
<DefaultClientScript>JScript</DefaultClientScript>
|
<DefaultClientScript>JScript</DefaultClientScript>
|
||||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||||
<DelaySign>false</DelaySign>
|
<DelaySign>false</DelaySign>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<OptionCompare>Binary</OptionCompare>
|
<OptionCompare>Binary</OptionCompare>
|
||||||
<OptionExplicit>On</OptionExplicit>
|
<OptionExplicit>On</OptionExplicit>
|
||||||
<OptionStrict>On</OptionStrict>
|
<OptionStrict>On</OptionStrict>
|
||||||
<RootNamespace>Dlrsoft.VBScript.Parser</RootNamespace>
|
<RootNamespace>Dlrsoft.VBScript.Parser</RootNamespace>
|
||||||
<StartupObject>VBParser.(None)</StartupObject>
|
<StartupObject>VBParser.(None)</StartupObject>
|
||||||
<FileUpgradeFlags>
|
<FileUpgradeFlags>
|
||||||
</FileUpgradeFlags>
|
</FileUpgradeFlags>
|
||||||
<OldToolsVersion>3.5</OldToolsVersion>
|
<OldToolsVersion>3.5</OldToolsVersion>
|
||||||
<UpgradeBackupLocation>
|
<UpgradeBackupLocation>
|
||||||
</UpgradeBackupLocation>
|
</UpgradeBackupLocation>
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
<UpdateEnabled>false</UpdateEnabled>
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
<UpdateMode>Foreground</UpdateMode>
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
<UpdateInterval>7</UpdateInterval>
|
<UpdateInterval>7</UpdateInterval>
|
||||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
<UpdatePeriodically>false</UpdatePeriodically>
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
<UpdateRequired>false</UpdateRequired>
|
<UpdateRequired>false</UpdateRequired>
|
||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<OutputPath>..\bin\Debug</OutputPath>
|
<OutputPath>..\bin\Debug</OutputPath>
|
||||||
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<ConfigurationOverrideFile>
|
<ConfigurationOverrideFile>
|
||||||
</ConfigurationOverrideFile>
|
</ConfigurationOverrideFile>
|
||||||
<DefineConstants>
|
<DefineConstants>
|
||||||
</DefineConstants>
|
</DefineConstants>
|
||||||
<DefineDebug>true</DefineDebug>
|
<DefineDebug>true</DefineDebug>
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<RegisterForComInterop>false</RegisterForComInterop>
|
<RegisterForComInterop>false</RegisterForComInterop>
|
||||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||||
<WarningLevel>1</WarningLevel>
|
<WarningLevel>1</WarningLevel>
|
||||||
<NoWarn>42016,42017,42018,42019,42032</NoWarn>
|
<NoWarn>42016,42017,42018,42019,42032</NoWarn>
|
||||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||||
<CodeAnalysisRules>
|
<CodeAnalysisRules>
|
||||||
</CodeAnalysisRules>
|
</CodeAnalysisRules>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>..\bin\Release\</OutputPath>
|
<OutputPath>..\bin\Release\</OutputPath>
|
||||||
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<ConfigurationOverrideFile>
|
<ConfigurationOverrideFile>
|
||||||
</ConfigurationOverrideFile>
|
</ConfigurationOverrideFile>
|
||||||
<DefineConstants>
|
<DefineConstants>
|
||||||
</DefineConstants>
|
</DefineConstants>
|
||||||
<DefineDebug>false</DefineDebug>
|
<DefineDebug>false</DefineDebug>
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<DebugSymbols>false</DebugSymbols>
|
<DebugSymbols>false</DebugSymbols>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<RegisterForComInterop>false</RegisterForComInterop>
|
<RegisterForComInterop>false</RegisterForComInterop>
|
||||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||||
<WarningLevel>1</WarningLevel>
|
<WarningLevel>1</WarningLevel>
|
||||||
<NoWarn>42016,42017,42018,42019,42032</NoWarn>
|
<NoWarn>42016,42017,42018,42019,42032</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DefineDebug>true</DefineDebug>
|
<DefineDebug>true</DefineDebug>
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
||||||
<WarningLevel>1</WarningLevel>
|
<WarningLevel>1</WarningLevel>
|
||||||
<NoWarn>42016,42017,42018,42019,42032</NoWarn>
|
<NoWarn>42016,42017,42018,42019,42032</NoWarn>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<OutputPath>bin\x86\Release\</OutputPath>
|
<OutputPath>bin\x86\Release\</OutputPath>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<WarningLevel>1</WarningLevel>
|
<WarningLevel>1</WarningLevel>
|
||||||
<NoWarn>42016,42017,42018,42019,42032</NoWarn>
|
<NoWarn>42016,42017,42018,42019,42032</NoWarn>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System">
|
<Reference Include="System">
|
||||||
<Name>System</Name>
|
<Name>System</Name>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.XML" />
|
<Reference Include="System.XML" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Import Include="Microsoft.VisualBasic" />
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
<Import Include="System" />
|
<Import Include="System" />
|
||||||
<Import Include="System.Collections" />
|
<Import Include="System.Collections" />
|
||||||
<Import Include="System.Collections.Generic" />
|
<Import Include="System.Collections.Generic" />
|
||||||
<Import Include="System.Collections.ObjectModel" />
|
<Import Include="System.Collections.ObjectModel" />
|
||||||
<Import Include="System.Diagnostics" />
|
<Import Include="System.Diagnostics" />
|
||||||
<Import Include="System.IO" />
|
<Import Include="System.IO" />
|
||||||
<Import Include="System.Text" />
|
<Import Include="System.Text" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AssemblyInfo.vb">
|
<Compile Include="AssemblyInfo.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="ExternalChecksum.vb" />
|
<Compile Include="ExternalChecksum.vb" />
|
||||||
<Compile Include="ExternalLineMapping.vb">
|
<Compile Include="ExternalLineMapping.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="IntegerBase.vb">
|
<Compile Include="IntegerBase.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Location.vb">
|
<Compile Include="Location.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="My Project\Application.Designer.vb">
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Application.myapp</DependentUpon>
|
<DependentUpon>Application.myapp</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Parser.vb" />
|
<Compile Include="Parser.vb" />
|
||||||
<Compile Include="Serializers\ErrorXmlSerializer.vb" />
|
<Compile Include="Serializers\ErrorXmlSerializer.vb" />
|
||||||
<Compile Include="Serializers\TokenXmlSerializer.vb" />
|
<Compile Include="Serializers\TokenXmlSerializer.vb" />
|
||||||
<Compile Include="Serializers\TreeXmlSerializer.vb" />
|
<Compile Include="Serializers\TreeXmlSerializer.vb" />
|
||||||
<Compile Include="Tokens\UnsignedIntegerLiteralToken.vb" />
|
<Compile Include="Tokens\UnsignedIntegerLiteralToken.vb" />
|
||||||
<Compile Include="Trees\Attributes\AttributeBlockCollection.vb" />
|
<Compile Include="Trees\Attributes\AttributeBlockCollection.vb" />
|
||||||
<Compile Include="Trees\Collections\TreeCollection.vb" />
|
<Compile Include="Trees\Collections\TreeCollection.vb" />
|
||||||
<Compile Include="Trees\Declarations\AttributeDeclaration.vb" />
|
<Compile Include="Trees\Declarations\AttributeDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\BlockDeclaration.vb" />
|
<Compile Include="Trees\Declarations\BlockDeclaration.vb" />
|
||||||
<Compile Include="Trees\Expressions\GenericQualifiedExpression.vb" />
|
<Compile Include="Trees\Expressions\GenericQualifiedExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\GlobalExpression.vb" />
|
<Compile Include="Trees\Expressions\GlobalExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\TryCastExpression.vb" />
|
<Compile Include="Trees\Expressions\TryCastExpression.vb" />
|
||||||
<Compile Include="Trees\Files\ScriptBlock.vb" />
|
<Compile Include="Trees\Files\ScriptBlock.vb" />
|
||||||
<Compile Include="Trees\Members\Charset.vb" />
|
<Compile Include="Trees\Members\Charset.vb" />
|
||||||
<Compile Include="Trees\Members\AddHandlerAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\AddHandlerAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\RemoveHandlerAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\RemoveHandlerAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\RaiseEventAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\RaiseEventAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\CustomEventDeclaration.vb" />
|
<Compile Include="Trees\Members\CustomEventDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\OperatorDeclaration.vb" />
|
<Compile Include="Trees\Members\OperatorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Names\SpecialNameTypes.vb" />
|
<Compile Include="Trees\Names\SpecialNameTypes.vb" />
|
||||||
<Compile Include="Trees\Statements\ContinueStatement.vb" />
|
<Compile Include="Trees\Statements\ContinueStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\UsingBlockStatement.vb" />
|
<Compile Include="Trees\Statements\UsingBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Types\ClassDeclaration.vb" />
|
<Compile Include="Trees\Types\ClassDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\ConstructorDeclaration.vb" />
|
<Compile Include="Trees\Members\ConstructorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\GenericBlockDeclaration.vb" />
|
<Compile Include="Trees\Types\GenericBlockDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\Declaration.vb" />
|
<Compile Include="Trees\Declarations\Declaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\DeclarationCollection.vb" />
|
<Compile Include="Trees\Declarations\DeclarationCollection.vb" />
|
||||||
<Compile Include="Trees\Types\DelegateDeclaration.vb" />
|
<Compile Include="Trees\Types\DelegateDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\DelegateFunctionDeclaration.vb" />
|
<Compile Include="Trees\Types\DelegateFunctionDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\DelegateSubDeclaration.vb" />
|
<Compile Include="Trees\Types\DelegateSubDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\EmptyDeclaration.vb" />
|
<Compile Include="Trees\Declarations\EmptyDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\EndBlockDeclaration.vb" />
|
<Compile Include="Trees\Declarations\EndBlockDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\EnumDeclaration.vb" />
|
<Compile Include="Trees\Types\EnumDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\EnumValueDeclaration.vb" />
|
<Compile Include="Trees\Members\EnumValueDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\EventDeclaration.vb" />
|
<Compile Include="Trees\Members\EventDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\ExternalDeclaration.vb" />
|
<Compile Include="Trees\Members\ExternalDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\ExternalFunctionDeclaration.vb" />
|
<Compile Include="Trees\Members\ExternalFunctionDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\ExternalSubDeclaration.vb" />
|
<Compile Include="Trees\Members\ExternalSubDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\FunctionDeclaration.vb" />
|
<Compile Include="Trees\Members\FunctionDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\GetAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\GetAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\ImplementsDeclaration.vb" />
|
<Compile Include="Trees\Types\ImplementsDeclaration.vb" />
|
||||||
<Compile Include="Trees\Files\ImportsDeclaration.vb" />
|
<Compile Include="Trees\Files\ImportsDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\InheritsDeclaration.vb" />
|
<Compile Include="Trees\Types\InheritsDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\InterfaceDeclaration.vb" />
|
<Compile Include="Trees\Types\InterfaceDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\MethodDeclaration.vb" />
|
<Compile Include="Trees\Members\MethodDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\ModifiedDeclaration.vb" />
|
<Compile Include="Trees\Declarations\ModifiedDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\ModuleDeclaration.vb" />
|
<Compile Include="Trees\Types\ModuleDeclaration.vb" />
|
||||||
<Compile Include="Trees\Files\NamespaceDeclaration.vb" />
|
<Compile Include="Trees\Files\NamespaceDeclaration.vb" />
|
||||||
<Compile Include="Trees\Files\OptionDeclaration.vb" />
|
<Compile Include="Trees\Files\OptionDeclaration.vb" />
|
||||||
<Compile Include="Trees\Files\OptionType.vb" />
|
<Compile Include="Trees\Files\OptionType.vb" />
|
||||||
<Compile Include="Trees\Members\PropertyDeclaration.vb" />
|
<Compile Include="Trees\Members\PropertyDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\SetAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\SetAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\SignatureDeclaration.vb" />
|
<Compile Include="Trees\Members\SignatureDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\StructureDeclaration.vb" />
|
<Compile Include="Trees\Types\StructureDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\SubDeclaration.vb" />
|
<Compile Include="Trees\Members\SubDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\VariableListDeclaration.vb" />
|
<Compile Include="Trees\Members\VariableListDeclaration.vb" />
|
||||||
<Compile Include="Trees\Expressions\AddressOfExpression.vb" />
|
<Compile Include="Trees\Expressions\AddressOfExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\BinaryOperatorExpression.vb" />
|
<Compile Include="Trees\Expressions\BinaryOperatorExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\BooleanLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\BooleanLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\CallOrIndexExpression.vb" />
|
<Compile Include="Trees\Expressions\CallOrIndexExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\CastTypeExpression.vb" />
|
<Compile Include="Trees\Expressions\CastTypeExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\CharacterLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\CharacterLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\CTypeExpression.vb" />
|
<Compile Include="Trees\Expressions\CTypeExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\DateLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\DateLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\DecimalLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\DecimalLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\DictionaryLookupExpression.vb" />
|
<Compile Include="Trees\Expressions\DictionaryLookupExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\DirectCastExpression.vb" />
|
<Compile Include="Trees\Expressions\DirectCastExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\QualifiedExpression.vb" />
|
<Compile Include="Trees\Expressions\QualifiedExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\Expression.vb" />
|
<Compile Include="Trees\Expressions\Expression.vb" />
|
||||||
<Compile Include="Trees\Expressions\ExpressionCollection.vb" />
|
<Compile Include="Trees\Expressions\ExpressionCollection.vb" />
|
||||||
<Compile Include="Trees\Expressions\FloatingPointLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\FloatingPointLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\GetTypeExpression.vb" />
|
<Compile Include="Trees\Expressions\GetTypeExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\InstanceExpression.vb" />
|
<Compile Include="Trees\Expressions\InstanceExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\InstanceType.vb" />
|
<Compile Include="Trees\Expressions\InstanceType.vb" />
|
||||||
<Compile Include="Trees\Expressions\IntegerLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\IntegerLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\IntrinsicCastExpression.vb" />
|
<Compile Include="Trees\Expressions\IntrinsicCastExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\LiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\LiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\NewAggregateExpression.vb" />
|
<Compile Include="Trees\Expressions\NewAggregateExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\NewExpression.vb" />
|
<Compile Include="Trees\Expressions\NewExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\NothingExpression.vb" />
|
<Compile Include="Trees\Expressions\NothingExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\OperatorType.vb" />
|
<Compile Include="Trees\Expressions\OperatorType.vb" />
|
||||||
<Compile Include="Trees\Expressions\ParentheticalExpression.vb" />
|
<Compile Include="Trees\Expressions\ParentheticalExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\SimpleNameExpression.vb" />
|
<Compile Include="Trees\Expressions\SimpleNameExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\StringLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\StringLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\TypeOfExpression.vb" />
|
<Compile Include="Trees\Expressions\TypeOfExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\TypeReferenceExpression.vb" />
|
<Compile Include="Trees\Expressions\TypeReferenceExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\UnaryExpression.vb" />
|
<Compile Include="Trees\Expressions\UnaryExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\UnaryOperatorExpression.vb" />
|
<Compile Include="Trees\Expressions\UnaryOperatorExpression.vb" />
|
||||||
<Compile Include="Trees\Files\File.vb" />
|
<Compile Include="Trees\Files\File.vb" />
|
||||||
<Compile Include="Trees\Imports\AliasImport.vb" />
|
<Compile Include="Trees\Imports\AliasImport.vb" />
|
||||||
<Compile Include="Trees\Imports\Import.vb" />
|
<Compile Include="Trees\Imports\Import.vb" />
|
||||||
<Compile Include="Trees\Imports\ImportCollection.vb" />
|
<Compile Include="Trees\Imports\ImportCollection.vb" />
|
||||||
<Compile Include="Trees\Imports\NameImport.vb" />
|
<Compile Include="Trees\Imports\NameImport.vb" />
|
||||||
<Compile Include="Trees\Initializers\AggregateInitializer.vb" />
|
<Compile Include="Trees\Initializers\AggregateInitializer.vb" />
|
||||||
<Compile Include="Trees\Initializers\ExpressionInitializer.vb" />
|
<Compile Include="Trees\Initializers\ExpressionInitializer.vb" />
|
||||||
<Compile Include="Trees\Initializers\Initializer.vb" />
|
<Compile Include="Trees\Initializers\Initializer.vb" />
|
||||||
<Compile Include="Trees\Initializers\InitializerCollection.vb" />
|
<Compile Include="Trees\Initializers\InitializerCollection.vb" />
|
||||||
<Compile Include="Trees\Modifiers\Modifier.vb" />
|
<Compile Include="Trees\Modifiers\Modifier.vb" />
|
||||||
<Compile Include="Trees\Modifiers\ModifierCollection.vb" />
|
<Compile Include="Trees\Modifiers\ModifierCollection.vb" />
|
||||||
<Compile Include="Trees\Modifiers\ModifierTypes.vb" />
|
<Compile Include="Trees\Modifiers\ModifierTypes.vb" />
|
||||||
<Compile Include="Trees\Names\SpecialName.vb" />
|
<Compile Include="Trees\Names\SpecialName.vb" />
|
||||||
<Compile Include="Trees\Names\Name.vb" />
|
<Compile Include="Trees\Names\Name.vb" />
|
||||||
<Compile Include="Trees\Names\NameCollection.vb" />
|
<Compile Include="Trees\Names\NameCollection.vb" />
|
||||||
<Compile Include="Trees\Names\QualifiedName.vb" />
|
<Compile Include="Trees\Names\QualifiedName.vb" />
|
||||||
<Compile Include="Trees\Names\SimpleName.vb" />
|
<Compile Include="Trees\Names\SimpleName.vb" />
|
||||||
<Compile Include="Trees\Names\VariableName.vb" />
|
<Compile Include="Trees\Names\VariableName.vb" />
|
||||||
<Compile Include="Trees\Names\VariableNameCollection.vb" />
|
<Compile Include="Trees\Names\VariableNameCollection.vb" />
|
||||||
<Compile Include="Trees\Parameters\Parameter.vb" />
|
<Compile Include="Trees\Parameters\Parameter.vb" />
|
||||||
<Compile Include="Trees\Parameters\ParameterCollection.vb" />
|
<Compile Include="Trees\Parameters\ParameterCollection.vb" />
|
||||||
<Compile Include="Trees\Statements\AddHandlerStatement.vb" />
|
<Compile Include="Trees\Statements\AddHandlerStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\AssignmentStatement.vb" />
|
<Compile Include="Trees\Statements\AssignmentStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\BlockStatement.vb" />
|
<Compile Include="Trees\Statements\BlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CallStatement.vb" />
|
<Compile Include="Trees\Statements\CallStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CaseBlockStatement.vb" />
|
<Compile Include="Trees\Statements\CaseBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CaseElseBlockStatement.vb" />
|
<Compile Include="Trees\Statements\CaseElseBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CaseElseStatement.vb" />
|
<Compile Include="Trees\Statements\CaseElseStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CaseStatement.vb" />
|
<Compile Include="Trees\Statements\CaseStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CatchBlockStatement.vb" />
|
<Compile Include="Trees\Statements\CatchBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CatchStatement.vb" />
|
<Compile Include="Trees\Statements\CatchStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CompoundAssignmentStatement.vb" />
|
<Compile Include="Trees\Statements\CompoundAssignmentStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\DoBlockStatement.vb" />
|
<Compile Include="Trees\Statements\DoBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ElseBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ElseBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ElseIfBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ElseIfBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ElseIfStatement.vb" />
|
<Compile Include="Trees\Statements\ElseIfStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ElseStatement.vb" />
|
<Compile Include="Trees\Statements\ElseStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\EmptyStatement.vb" />
|
<Compile Include="Trees\Statements\EmptyStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\EndBlockStatement.vb" />
|
<Compile Include="Trees\Statements\EndBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\EndStatement.vb" />
|
<Compile Include="Trees\Statements\EndStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\EraseStatement.vb" />
|
<Compile Include="Trees\Statements\EraseStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ErrorStatement.vb" />
|
<Compile Include="Trees\Statements\ErrorStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ExitStatement.vb" />
|
<Compile Include="Trees\Statements\ExitStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ExpressionBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ExpressionBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ExpressionStatement.vb" />
|
<Compile Include="Trees\Statements\ExpressionStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\FinallyBlockStatement.vb" />
|
<Compile Include="Trees\Statements\FinallyBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\FinallyStatement.vb" />
|
<Compile Include="Trees\Statements\FinallyStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ForBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ForBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ForEachBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ForEachBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\GotoStatement.vb" />
|
<Compile Include="Trees\Statements\GotoStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\HandlerStatement.vb" />
|
<Compile Include="Trees\Statements\HandlerStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\IfBlockStatement.vb" />
|
<Compile Include="Trees\Statements\IfBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LabelReferenceStatement.vb" />
|
<Compile Include="Trees\Statements\LabelReferenceStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LabelStatement.vb" />
|
<Compile Include="Trees\Statements\LabelStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LineIfStatement.vb" />
|
<Compile Include="Trees\Statements\LineIfStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LocalDeclarationStatement.vb" />
|
<Compile Include="Trees\Statements\LocalDeclarationStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LoopStatement.vb" />
|
<Compile Include="Trees\Statements\LoopStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\MidAssignmentStatement.vb" />
|
<Compile Include="Trees\Statements\MidAssignmentStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\NextStatement.vb" />
|
<Compile Include="Trees\Statements\NextStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\OnErrorStatement.vb" />
|
<Compile Include="Trees\Statements\OnErrorStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\OnErrorType.vb" />
|
<Compile Include="Trees\Statements\OnErrorType.vb" />
|
||||||
<Compile Include="Trees\Statements\RaiseEventStatement.vb" />
|
<Compile Include="Trees\Statements\RaiseEventStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ReDimStatement.vb" />
|
<Compile Include="Trees\Statements\ReDimStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\RemoveHandlerStatement.vb" />
|
<Compile Include="Trees\Statements\RemoveHandlerStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ResumeStatement.vb" />
|
<Compile Include="Trees\Statements\ResumeStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ResumeType.vb" />
|
<Compile Include="Trees\Statements\ResumeType.vb" />
|
||||||
<Compile Include="Trees\Statements\ReturnStatement.vb" />
|
<Compile Include="Trees\Statements\ReturnStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\SelectBlockStatement.vb" />
|
<Compile Include="Trees\Statements\SelectBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\Statement.vb" />
|
<Compile Include="Trees\Statements\Statement.vb" />
|
||||||
<Compile Include="Trees\Statements\StatementCollection.vb" />
|
<Compile Include="Trees\Statements\StatementCollection.vb" />
|
||||||
<Compile Include="Trees\Statements\StopStatement.vb" />
|
<Compile Include="Trees\Statements\StopStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\SyncLockBlockStatement.vb" />
|
<Compile Include="Trees\Statements\SyncLockBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ThrowStatement.vb" />
|
<Compile Include="Trees\Statements\ThrowStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\TryBlockStatement.vb" />
|
<Compile Include="Trees\Statements\TryBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\WhileStatement.vb" />
|
<Compile Include="Trees\Statements\WhileStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\WithStatement.vb" />
|
<Compile Include="Trees\Statements\WithStatement.vb" />
|
||||||
<Compile Include="Trees\TypeParameters\TypeParameter.vb" />
|
<Compile Include="Trees\TypeParameters\TypeParameter.vb" />
|
||||||
<Compile Include="Trees\TypeNames\ArrayTypeName.vb" />
|
<Compile Include="Trees\TypeNames\ArrayTypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\ConstructedTypeName.vb" />
|
<Compile Include="Trees\TypeNames\ConstructedTypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\IntrinsicTypeName.vb" />
|
<Compile Include="Trees\TypeNames\IntrinsicTypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\NamedTypeName.vb" />
|
<Compile Include="Trees\TypeNames\NamedTypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\TypeName.vb" />
|
<Compile Include="Trees\TypeNames\TypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\TypeNameCollection.vb" />
|
<Compile Include="Trees\TypeNames\TypeNameCollection.vb" />
|
||||||
<Compile Include="Trees\TypeNames\TypeArgumentCollection.vb" />
|
<Compile Include="Trees\TypeNames\TypeArgumentCollection.vb" />
|
||||||
<Compile Include="Trees\TypeParameters\TypeConstraintCollection.vb" />
|
<Compile Include="Trees\TypeParameters\TypeConstraintCollection.vb" />
|
||||||
<Compile Include="Trees\TypeParameters\TypeParameterCollection.vb" />
|
<Compile Include="Trees\TypeParameters\TypeParameterCollection.vb" />
|
||||||
<Compile Include="Trees\VariableDeclarators\VariableDeclarator.vb" />
|
<Compile Include="Trees\VariableDeclarators\VariableDeclarator.vb" />
|
||||||
<Compile Include="Trees\VariableDeclarators\VariableDeclaratorCollection.vb" />
|
<Compile Include="Trees\VariableDeclarators\VariableDeclaratorCollection.vb" />
|
||||||
<Compile Include="TypeCharacter.vb">
|
<Compile Include="TypeCharacter.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Scanner.vb">
|
<Compile Include="Scanner.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="SourceRegion.vb">
|
<Compile Include="SourceRegion.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Span.vb">
|
<Compile Include="Span.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="SyntaxError.vb">
|
<Compile Include="SyntaxError.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="SyntaxErrorType.vb">
|
<Compile Include="SyntaxErrorType.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\CharacterLiteralToken.vb">
|
<Compile Include="Tokens\CharacterLiteralToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\CommentToken.vb">
|
<Compile Include="Tokens\CommentToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\DateLiteralToken.vb">
|
<Compile Include="Tokens\DateLiteralToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\DecimalLiteralToken.vb">
|
<Compile Include="Tokens\DecimalLiteralToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\EndOfStreamToken.vb">
|
<Compile Include="Tokens\EndOfStreamToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\ErrorToken.vb">
|
<Compile Include="Tokens\ErrorToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\FloatingPointLiteralToken.vb">
|
<Compile Include="Tokens\FloatingPointLiteralToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\IdentifierToken.vb">
|
<Compile Include="Tokens\IdentifierToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\IntegerLiteralToken.vb">
|
<Compile Include="Tokens\IntegerLiteralToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\LineTerminatorToken.vb">
|
<Compile Include="Tokens\LineTerminatorToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\PunctuatorToken.vb">
|
<Compile Include="Tokens\PunctuatorToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\StringLiteralToken.vb">
|
<Compile Include="Tokens\StringLiteralToken.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\Token.vb">
|
<Compile Include="Tokens\Token.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Tokens\TokenType.vb">
|
<Compile Include="Tokens\TokenType.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Arguments\Argument.vb">
|
<Compile Include="Trees\Arguments\Argument.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Arguments\ArgumentCollection.vb">
|
<Compile Include="Trees\Arguments\ArgumentCollection.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Attributes\Attribute.vb">
|
<Compile Include="Trees\Attributes\Attribute.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Attributes\AttributeCollection.vb">
|
<Compile Include="Trees\Attributes\AttributeCollection.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Attributes\AttributeTypes.vb">
|
<Compile Include="Trees\Attributes\AttributeTypes.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\BlockType.vb">
|
<Compile Include="Trees\BlockType.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\CaseClauses\CaseClause.vb">
|
<Compile Include="Trees\CaseClauses\CaseClause.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\CaseClauses\CaseClauseCollection.vb">
|
<Compile Include="Trees\CaseClauses\CaseClauseCollection.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\CaseClauses\ComparisonCaseClause.vb">
|
<Compile Include="Trees\CaseClauses\ComparisonCaseClause.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\CaseClauses\RangeCaseClause.vb">
|
<Compile Include="Trees\CaseClauses\RangeCaseClause.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Collections\ColonDelimitedTreeCollection.vb">
|
<Compile Include="Trees\Collections\ColonDelimitedTreeCollection.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Collections\CommaDelimitedTreeCollection.vb">
|
<Compile Include="Trees\Collections\CommaDelimitedTreeCollection.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Comments\Comment.vb">
|
<Compile Include="Trees\Comments\Comment.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\IntrinsicType.vb">
|
<Compile Include="Trees\IntrinsicType.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\Tree.vb">
|
<Compile Include="Trees\Tree.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Trees\TreeType.vb">
|
<Compile Include="Trees\TreeType.vb">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="LanguageVersion.vb" />
|
<Compile Include="LanguageVersion.vb" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="My Project\Application.myapp">
|
<None Include="My Project\Application.myapp">
|
||||||
<Generator>MyApplicationCodeGenerator</Generator>
|
<Generator>MyApplicationCodeGenerator</Generator>
|
||||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework Client Profile</ProductName>
|
<ProductName>.NET Framework Client Profile</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5</ProductName>
|
<ProductName>.NET Framework 3.5</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.Targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.Targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
</PreBuildEvent>
|
</PreBuildEvent>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -1,347 +1,347 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup Condition="'$(MSBuildToolsVersion)' == '3.5'">
|
<PropertyGroup Condition="'$(MSBuildToolsVersion)' == '3.5'">
|
||||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProductVersion>9.0.30729</ProductVersion>
|
<ProductVersion>9.0.30729</ProductVersion>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>{FAE34487-11A6-4EE2-96BB-7F73C7611097}</ProjectGuid>
|
<ProjectGuid>{FAE34487-11A6-4EE2-96BB-7F73C7611097}</ProjectGuid>
|
||||||
<ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
|
<ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<RootNamespace>Dlrsoft.VBScript.Parser</RootNamespace>
|
<RootNamespace>Dlrsoft.VBScript.Parser</RootNamespace>
|
||||||
<AssemblyName>Dlrsoft.VBParser</AssemblyName>
|
<AssemblyName>Dlrsoft.VBParser</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
<SilverlightApplication>false</SilverlightApplication>
|
<SilverlightApplication>false</SilverlightApplication>
|
||||||
<ValidateXaml>true</ValidateXaml>
|
<ValidateXaml>true</ValidateXaml>
|
||||||
<ThrowErrorsInValidation>true</ThrowErrorsInValidation>
|
<ThrowErrorsInValidation>true</ThrowErrorsInValidation>
|
||||||
<OptionExplicit>On</OptionExplicit>
|
<OptionExplicit>On</OptionExplicit>
|
||||||
<OptionCompare>Binary</OptionCompare>
|
<OptionCompare>Binary</OptionCompare>
|
||||||
<OptionStrict>Off</OptionStrict>
|
<OptionStrict>Off</OptionStrict>
|
||||||
<OptionInfer>On</OptionInfer>
|
<OptionInfer>On</OptionInfer>
|
||||||
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
|
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
|
||||||
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
|
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
|
||||||
<FileUpgradeFlags>
|
<FileUpgradeFlags>
|
||||||
</FileUpgradeFlags>
|
</FileUpgradeFlags>
|
||||||
<OldToolsVersion>3.5</OldToolsVersion>
|
<OldToolsVersion>3.5</OldToolsVersion>
|
||||||
<UpgradeBackupLocation />
|
<UpgradeBackupLocation />
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
<UpdateEnabled>false</UpdateEnabled>
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
<UpdateMode>Foreground</UpdateMode>
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
<UpdateInterval>7</UpdateInterval>
|
<UpdateInterval>7</UpdateInterval>
|
||||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
<UpdatePeriodically>false</UpdatePeriodically>
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
<UpdateRequired>false</UpdateRequired>
|
<UpdateRequired>false</UpdateRequired>
|
||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<DefineDebug>true</DefineDebug>
|
<DefineDebug>true</DefineDebug>
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<NoStdLib>true</NoStdLib>
|
<NoStdLib>true</NoStdLib>
|
||||||
<NoConfig>true</NoConfig>
|
<NoConfig>true</NoConfig>
|
||||||
<MyType>Empty</MyType>
|
<MyType>Empty</MyType>
|
||||||
<OutputPath>..Bin\Silverlight Debug\</OutputPath>
|
<OutputPath>..Bin\Silverlight Debug\</OutputPath>
|
||||||
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
||||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
<DefineConstants>SILVERLIGHT=1</DefineConstants>
|
<DefineConstants>SILVERLIGHT=1</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<DefineDebug>false</DefineDebug>
|
<DefineDebug>false</DefineDebug>
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<NoStdLib>true</NoStdLib>
|
<NoStdLib>true</NoStdLib>
|
||||||
<NoConfig>true</NoConfig>
|
<NoConfig>true</NoConfig>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>..\Bin\Silverlight Release\</OutputPath>
|
<OutputPath>..\Bin\Silverlight Release\</OutputPath>
|
||||||
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
<DocumentationFile>Dlrsoft.VBParser.xml</DocumentationFile>
|
||||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
<DefineConstants>SILVERLIGHT=1</DefineConstants>
|
<DefineConstants>SILVERLIGHT=1</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System.Windows" />
|
<Reference Include="System.Windows" />
|
||||||
<Reference Include="mscorlib" />
|
<Reference Include="mscorlib" />
|
||||||
<Reference Include="system" />
|
<Reference Include="system" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Net" />
|
<Reference Include="System.Net" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Windows.Browser" />
|
<Reference Include="System.Windows.Browser" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Import Include="Microsoft.VisualBasic" />
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
<Import Include="System" />
|
<Import Include="System" />
|
||||||
<Import Include="System.Collections" />
|
<Import Include="System.Collections" />
|
||||||
<Import Include="System.Collections.Generic" />
|
<Import Include="System.Collections.Generic" />
|
||||||
<Import Include="System.Collections.ObjectModel" />
|
<Import Include="System.Collections.ObjectModel" />
|
||||||
<Import Include="System.Diagnostics" />
|
<Import Include="System.Diagnostics" />
|
||||||
<Import Include="System.IO" />
|
<Import Include="System.IO" />
|
||||||
<Import Include="System.Text" />
|
<Import Include="System.Text" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AssemblyInfo.vb" />
|
<Compile Include="AssemblyInfo.vb" />
|
||||||
<Compile Include="ExternalChecksum.vb" />
|
<Compile Include="ExternalChecksum.vb" />
|
||||||
<Compile Include="ExternalLineMapping.vb" />
|
<Compile Include="ExternalLineMapping.vb" />
|
||||||
<Compile Include="IntegerBase.vb" />
|
<Compile Include="IntegerBase.vb" />
|
||||||
<Compile Include="LanguageVersion.vb" />
|
<Compile Include="LanguageVersion.vb" />
|
||||||
<Compile Include="Location.vb" />
|
<Compile Include="Location.vb" />
|
||||||
<Compile Include="Parser.vb" />
|
<Compile Include="Parser.vb" />
|
||||||
<Compile Include="Scanner.vb" />
|
<Compile Include="Scanner.vb" />
|
||||||
<Compile Include="Serializers\ErrorXmlSerializer.vb" />
|
<Compile Include="Serializers\ErrorXmlSerializer.vb" />
|
||||||
<Compile Include="Serializers\TokenXmlSerializer.vb" />
|
<Compile Include="Serializers\TokenXmlSerializer.vb" />
|
||||||
<Compile Include="Serializers\TreeXmlSerializer.vb" />
|
<Compile Include="Serializers\TreeXmlSerializer.vb" />
|
||||||
<Compile Include="SourceRegion.vb" />
|
<Compile Include="SourceRegion.vb" />
|
||||||
<Compile Include="Span.vb" />
|
<Compile Include="Span.vb" />
|
||||||
<Compile Include="SyntaxError.vb" />
|
<Compile Include="SyntaxError.vb" />
|
||||||
<Compile Include="SyntaxErrorType.vb" />
|
<Compile Include="SyntaxErrorType.vb" />
|
||||||
<Compile Include="Tokens\CharacterLiteralToken.vb" />
|
<Compile Include="Tokens\CharacterLiteralToken.vb" />
|
||||||
<Compile Include="Tokens\CommentToken.vb" />
|
<Compile Include="Tokens\CommentToken.vb" />
|
||||||
<Compile Include="Tokens\DateLiteralToken.vb" />
|
<Compile Include="Tokens\DateLiteralToken.vb" />
|
||||||
<Compile Include="Tokens\DecimalLiteralToken.vb" />
|
<Compile Include="Tokens\DecimalLiteralToken.vb" />
|
||||||
<Compile Include="Tokens\EndOfStreamToken.vb" />
|
<Compile Include="Tokens\EndOfStreamToken.vb" />
|
||||||
<Compile Include="Tokens\ErrorToken.vb" />
|
<Compile Include="Tokens\ErrorToken.vb" />
|
||||||
<Compile Include="Tokens\FloatingPointLiteralToken.vb" />
|
<Compile Include="Tokens\FloatingPointLiteralToken.vb" />
|
||||||
<Compile Include="Tokens\IdentifierToken.vb" />
|
<Compile Include="Tokens\IdentifierToken.vb" />
|
||||||
<Compile Include="Tokens\IntegerLiteralToken.vb" />
|
<Compile Include="Tokens\IntegerLiteralToken.vb" />
|
||||||
<Compile Include="Tokens\LineTerminatorToken.vb" />
|
<Compile Include="Tokens\LineTerminatorToken.vb" />
|
||||||
<Compile Include="Tokens\PunctuatorToken.vb" />
|
<Compile Include="Tokens\PunctuatorToken.vb" />
|
||||||
<Compile Include="Tokens\StringLiteralToken.vb" />
|
<Compile Include="Tokens\StringLiteralToken.vb" />
|
||||||
<Compile Include="Tokens\Token.vb" />
|
<Compile Include="Tokens\Token.vb" />
|
||||||
<Compile Include="Tokens\TokenType.vb" />
|
<Compile Include="Tokens\TokenType.vb" />
|
||||||
<Compile Include="Tokens\UnsignedIntegerLiteralToken.vb" />
|
<Compile Include="Tokens\UnsignedIntegerLiteralToken.vb" />
|
||||||
<Compile Include="Trees\Arguments\Argument.vb" />
|
<Compile Include="Trees\Arguments\Argument.vb" />
|
||||||
<Compile Include="Trees\Arguments\ArgumentCollection.vb" />
|
<Compile Include="Trees\Arguments\ArgumentCollection.vb" />
|
||||||
<Compile Include="Trees\Attributes\Attribute.vb" />
|
<Compile Include="Trees\Attributes\Attribute.vb" />
|
||||||
<Compile Include="Trees\Attributes\AttributeBlockCollection.vb" />
|
<Compile Include="Trees\Attributes\AttributeBlockCollection.vb" />
|
||||||
<Compile Include="Trees\Attributes\AttributeCollection.vb" />
|
<Compile Include="Trees\Attributes\AttributeCollection.vb" />
|
||||||
<Compile Include="Trees\Attributes\AttributeTypes.vb" />
|
<Compile Include="Trees\Attributes\AttributeTypes.vb" />
|
||||||
<Compile Include="Trees\BlockType.vb" />
|
<Compile Include="Trees\BlockType.vb" />
|
||||||
<Compile Include="Trees\CaseClauses\CaseClause.vb" />
|
<Compile Include="Trees\CaseClauses\CaseClause.vb" />
|
||||||
<Compile Include="Trees\CaseClauses\CaseClauseCollection.vb" />
|
<Compile Include="Trees\CaseClauses\CaseClauseCollection.vb" />
|
||||||
<Compile Include="Trees\CaseClauses\ComparisonCaseClause.vb" />
|
<Compile Include="Trees\CaseClauses\ComparisonCaseClause.vb" />
|
||||||
<Compile Include="Trees\CaseClauses\RangeCaseClause.vb" />
|
<Compile Include="Trees\CaseClauses\RangeCaseClause.vb" />
|
||||||
<Compile Include="Trees\Collections\ColonDelimitedTreeCollection.vb" />
|
<Compile Include="Trees\Collections\ColonDelimitedTreeCollection.vb" />
|
||||||
<Compile Include="Trees\Collections\CommaDelimitedTreeCollection.vb" />
|
<Compile Include="Trees\Collections\CommaDelimitedTreeCollection.vb" />
|
||||||
<Compile Include="Trees\Collections\TreeCollection.vb" />
|
<Compile Include="Trees\Collections\TreeCollection.vb" />
|
||||||
<Compile Include="Trees\Comments\Comment.vb" />
|
<Compile Include="Trees\Comments\Comment.vb" />
|
||||||
<Compile Include="Trees\Declarations\AttributeDeclaration.vb" />
|
<Compile Include="Trees\Declarations\AttributeDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\BlockDeclaration.vb" />
|
<Compile Include="Trees\Declarations\BlockDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\Declaration.vb" />
|
<Compile Include="Trees\Declarations\Declaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\DeclarationCollection.vb" />
|
<Compile Include="Trees\Declarations\DeclarationCollection.vb" />
|
||||||
<Compile Include="Trees\Declarations\EmptyDeclaration.vb" />
|
<Compile Include="Trees\Declarations\EmptyDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\EndBlockDeclaration.vb" />
|
<Compile Include="Trees\Declarations\EndBlockDeclaration.vb" />
|
||||||
<Compile Include="Trees\Declarations\ModifiedDeclaration.vb" />
|
<Compile Include="Trees\Declarations\ModifiedDeclaration.vb" />
|
||||||
<Compile Include="Trees\Expressions\AddressOfExpression.vb" />
|
<Compile Include="Trees\Expressions\AddressOfExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\BinaryOperatorExpression.vb" />
|
<Compile Include="Trees\Expressions\BinaryOperatorExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\BooleanLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\BooleanLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\CallOrIndexExpression.vb" />
|
<Compile Include="Trees\Expressions\CallOrIndexExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\CastTypeExpression.vb" />
|
<Compile Include="Trees\Expressions\CastTypeExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\CharacterLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\CharacterLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\CTypeExpression.vb" />
|
<Compile Include="Trees\Expressions\CTypeExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\DateLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\DateLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\DecimalLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\DecimalLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\DictionaryLookupExpression.vb" />
|
<Compile Include="Trees\Expressions\DictionaryLookupExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\DirectCastExpression.vb" />
|
<Compile Include="Trees\Expressions\DirectCastExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\Expression.vb" />
|
<Compile Include="Trees\Expressions\Expression.vb" />
|
||||||
<Compile Include="Trees\Expressions\ExpressionCollection.vb" />
|
<Compile Include="Trees\Expressions\ExpressionCollection.vb" />
|
||||||
<Compile Include="Trees\Expressions\FloatingPointLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\FloatingPointLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\GenericQualifiedExpression.vb" />
|
<Compile Include="Trees\Expressions\GenericQualifiedExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\GetTypeExpression.vb" />
|
<Compile Include="Trees\Expressions\GetTypeExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\GlobalExpression.vb" />
|
<Compile Include="Trees\Expressions\GlobalExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\InstanceExpression.vb" />
|
<Compile Include="Trees\Expressions\InstanceExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\InstanceType.vb" />
|
<Compile Include="Trees\Expressions\InstanceType.vb" />
|
||||||
<Compile Include="Trees\Expressions\IntegerLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\IntegerLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\IntrinsicCastExpression.vb" />
|
<Compile Include="Trees\Expressions\IntrinsicCastExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\LiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\LiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\NewAggregateExpression.vb" />
|
<Compile Include="Trees\Expressions\NewAggregateExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\NewExpression.vb" />
|
<Compile Include="Trees\Expressions\NewExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\NothingExpression.vb" />
|
<Compile Include="Trees\Expressions\NothingExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\OperatorType.vb" />
|
<Compile Include="Trees\Expressions\OperatorType.vb" />
|
||||||
<Compile Include="Trees\Expressions\ParentheticalExpression.vb" />
|
<Compile Include="Trees\Expressions\ParentheticalExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\QualifiedExpression.vb" />
|
<Compile Include="Trees\Expressions\QualifiedExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\SimpleNameExpression.vb" />
|
<Compile Include="Trees\Expressions\SimpleNameExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\StringLiteralExpression.vb" />
|
<Compile Include="Trees\Expressions\StringLiteralExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\TryCastExpression.vb" />
|
<Compile Include="Trees\Expressions\TryCastExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\TypeOfExpression.vb" />
|
<Compile Include="Trees\Expressions\TypeOfExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\TypeReferenceExpression.vb" />
|
<Compile Include="Trees\Expressions\TypeReferenceExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\UnaryExpression.vb" />
|
<Compile Include="Trees\Expressions\UnaryExpression.vb" />
|
||||||
<Compile Include="Trees\Expressions\UnaryOperatorExpression.vb" />
|
<Compile Include="Trees\Expressions\UnaryOperatorExpression.vb" />
|
||||||
<Compile Include="Trees\Files\File.vb" />
|
<Compile Include="Trees\Files\File.vb" />
|
||||||
<Compile Include="Trees\Files\ImportsDeclaration.vb" />
|
<Compile Include="Trees\Files\ImportsDeclaration.vb" />
|
||||||
<Compile Include="Trees\Files\NamespaceDeclaration.vb" />
|
<Compile Include="Trees\Files\NamespaceDeclaration.vb" />
|
||||||
<Compile Include="Trees\Files\OptionDeclaration.vb" />
|
<Compile Include="Trees\Files\OptionDeclaration.vb" />
|
||||||
<Compile Include="Trees\Files\OptionType.vb" />
|
<Compile Include="Trees\Files\OptionType.vb" />
|
||||||
<Compile Include="Trees\Files\ScriptBlock.vb" />
|
<Compile Include="Trees\Files\ScriptBlock.vb" />
|
||||||
<Compile Include="Trees\Imports\AliasImport.vb" />
|
<Compile Include="Trees\Imports\AliasImport.vb" />
|
||||||
<Compile Include="Trees\Imports\Import.vb" />
|
<Compile Include="Trees\Imports\Import.vb" />
|
||||||
<Compile Include="Trees\Imports\ImportCollection.vb" />
|
<Compile Include="Trees\Imports\ImportCollection.vb" />
|
||||||
<Compile Include="Trees\Imports\NameImport.vb" />
|
<Compile Include="Trees\Imports\NameImport.vb" />
|
||||||
<Compile Include="Trees\Initializers\AggregateInitializer.vb" />
|
<Compile Include="Trees\Initializers\AggregateInitializer.vb" />
|
||||||
<Compile Include="Trees\Initializers\ExpressionInitializer.vb" />
|
<Compile Include="Trees\Initializers\ExpressionInitializer.vb" />
|
||||||
<Compile Include="Trees\Initializers\Initializer.vb" />
|
<Compile Include="Trees\Initializers\Initializer.vb" />
|
||||||
<Compile Include="Trees\Initializers\InitializerCollection.vb" />
|
<Compile Include="Trees\Initializers\InitializerCollection.vb" />
|
||||||
<Compile Include="Trees\IntrinsicType.vb" />
|
<Compile Include="Trees\IntrinsicType.vb" />
|
||||||
<Compile Include="Trees\Members\AddHandlerAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\AddHandlerAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\Charset.vb" />
|
<Compile Include="Trees\Members\Charset.vb" />
|
||||||
<Compile Include="Trees\Members\ConstructorDeclaration.vb" />
|
<Compile Include="Trees\Members\ConstructorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\CustomEventDeclaration.vb" />
|
<Compile Include="Trees\Members\CustomEventDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\EnumValueDeclaration.vb" />
|
<Compile Include="Trees\Members\EnumValueDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\EventDeclaration.vb" />
|
<Compile Include="Trees\Members\EventDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\ExternalDeclaration.vb" />
|
<Compile Include="Trees\Members\ExternalDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\ExternalFunctionDeclaration.vb" />
|
<Compile Include="Trees\Members\ExternalFunctionDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\ExternalSubDeclaration.vb" />
|
<Compile Include="Trees\Members\ExternalSubDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\FunctionDeclaration.vb" />
|
<Compile Include="Trees\Members\FunctionDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\GetAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\GetAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\MethodDeclaration.vb" />
|
<Compile Include="Trees\Members\MethodDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\OperatorDeclaration.vb" />
|
<Compile Include="Trees\Members\OperatorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\PropertyDeclaration.vb" />
|
<Compile Include="Trees\Members\PropertyDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\RaiseEventAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\RaiseEventAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\RemoveHandlerAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\RemoveHandlerAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\SetAccessorDeclaration.vb" />
|
<Compile Include="Trees\Members\SetAccessorDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\SignatureDeclaration.vb" />
|
<Compile Include="Trees\Members\SignatureDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\SubDeclaration.vb" />
|
<Compile Include="Trees\Members\SubDeclaration.vb" />
|
||||||
<Compile Include="Trees\Members\VariableListDeclaration.vb" />
|
<Compile Include="Trees\Members\VariableListDeclaration.vb" />
|
||||||
<Compile Include="Trees\Modifiers\Modifier.vb" />
|
<Compile Include="Trees\Modifiers\Modifier.vb" />
|
||||||
<Compile Include="Trees\Modifiers\ModifierCollection.vb" />
|
<Compile Include="Trees\Modifiers\ModifierCollection.vb" />
|
||||||
<Compile Include="Trees\Modifiers\ModifierTypes.vb" />
|
<Compile Include="Trees\Modifiers\ModifierTypes.vb" />
|
||||||
<Compile Include="Trees\Names\GlobalNamespaceName.vb" />
|
<Compile Include="Trees\Names\GlobalNamespaceName.vb" />
|
||||||
<Compile Include="Trees\Names\Name.vb" />
|
<Compile Include="Trees\Names\Name.vb" />
|
||||||
<Compile Include="Trees\Names\NameCollection.vb" />
|
<Compile Include="Trees\Names\NameCollection.vb" />
|
||||||
<Compile Include="Trees\Names\QualifiedName.vb" />
|
<Compile Include="Trees\Names\QualifiedName.vb" />
|
||||||
<Compile Include="Trees\Names\SimpleName.vb" />
|
<Compile Include="Trees\Names\SimpleName.vb" />
|
||||||
<Compile Include="Trees\Names\SpecialName.vb" />
|
<Compile Include="Trees\Names\SpecialName.vb" />
|
||||||
<Compile Include="Trees\Names\SpecialNameTypes.vb" />
|
<Compile Include="Trees\Names\SpecialNameTypes.vb" />
|
||||||
<Compile Include="Trees\Names\VariableName.vb" />
|
<Compile Include="Trees\Names\VariableName.vb" />
|
||||||
<Compile Include="Trees\Names\VariableNameCollection.vb" />
|
<Compile Include="Trees\Names\VariableNameCollection.vb" />
|
||||||
<Compile Include="Trees\Parameters\Parameter.vb" />
|
<Compile Include="Trees\Parameters\Parameter.vb" />
|
||||||
<Compile Include="Trees\Parameters\ParameterCollection.vb" />
|
<Compile Include="Trees\Parameters\ParameterCollection.vb" />
|
||||||
<Compile Include="Trees\Statements\AddHandlerStatement.vb" />
|
<Compile Include="Trees\Statements\AddHandlerStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\AssignmentStatement.vb" />
|
<Compile Include="Trees\Statements\AssignmentStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\BlockStatement.vb" />
|
<Compile Include="Trees\Statements\BlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CallStatement.vb" />
|
<Compile Include="Trees\Statements\CallStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CaseBlockStatement.vb" />
|
<Compile Include="Trees\Statements\CaseBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CaseElseBlockStatement.vb" />
|
<Compile Include="Trees\Statements\CaseElseBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CaseElseStatement.vb" />
|
<Compile Include="Trees\Statements\CaseElseStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CaseStatement.vb" />
|
<Compile Include="Trees\Statements\CaseStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CatchBlockStatement.vb" />
|
<Compile Include="Trees\Statements\CatchBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CatchStatement.vb" />
|
<Compile Include="Trees\Statements\CatchStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\CompoundAssignmentStatement.vb" />
|
<Compile Include="Trees\Statements\CompoundAssignmentStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ContinueStatement.vb" />
|
<Compile Include="Trees\Statements\ContinueStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\DoBlockStatement.vb" />
|
<Compile Include="Trees\Statements\DoBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ElseBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ElseBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ElseIfBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ElseIfBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ElseIfStatement.vb" />
|
<Compile Include="Trees\Statements\ElseIfStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ElseStatement.vb" />
|
<Compile Include="Trees\Statements\ElseStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\EmptyStatement.vb" />
|
<Compile Include="Trees\Statements\EmptyStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\EndBlockStatement.vb" />
|
<Compile Include="Trees\Statements\EndBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\EndStatement.vb" />
|
<Compile Include="Trees\Statements\EndStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\EraseStatement.vb" />
|
<Compile Include="Trees\Statements\EraseStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ErrorStatement.vb" />
|
<Compile Include="Trees\Statements\ErrorStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ExitStatement.vb" />
|
<Compile Include="Trees\Statements\ExitStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ExpressionBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ExpressionBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ExpressionStatement.vb" />
|
<Compile Include="Trees\Statements\ExpressionStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\FinallyBlockStatement.vb" />
|
<Compile Include="Trees\Statements\FinallyBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\FinallyStatement.vb" />
|
<Compile Include="Trees\Statements\FinallyStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ForBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ForBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ForEachBlockStatement.vb" />
|
<Compile Include="Trees\Statements\ForEachBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\GotoStatement.vb" />
|
<Compile Include="Trees\Statements\GotoStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\HandlerStatement.vb" />
|
<Compile Include="Trees\Statements\HandlerStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\IfBlockStatement.vb" />
|
<Compile Include="Trees\Statements\IfBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LabelReferenceStatement.vb" />
|
<Compile Include="Trees\Statements\LabelReferenceStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LabelStatement.vb" />
|
<Compile Include="Trees\Statements\LabelStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LineIfStatement.vb" />
|
<Compile Include="Trees\Statements\LineIfStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LocalDeclarationStatement.vb" />
|
<Compile Include="Trees\Statements\LocalDeclarationStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\LoopStatement.vb" />
|
<Compile Include="Trees\Statements\LoopStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\MidAssignmentStatement.vb" />
|
<Compile Include="Trees\Statements\MidAssignmentStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\NextStatement.vb" />
|
<Compile Include="Trees\Statements\NextStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\OnErrorStatement.vb" />
|
<Compile Include="Trees\Statements\OnErrorStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\OnErrorType.vb" />
|
<Compile Include="Trees\Statements\OnErrorType.vb" />
|
||||||
<Compile Include="Trees\Statements\RaiseEventStatement.vb" />
|
<Compile Include="Trees\Statements\RaiseEventStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ReDimStatement.vb" />
|
<Compile Include="Trees\Statements\ReDimStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\RemoveHandlerStatement.vb" />
|
<Compile Include="Trees\Statements\RemoveHandlerStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ResumeStatement.vb" />
|
<Compile Include="Trees\Statements\ResumeStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ResumeType.vb" />
|
<Compile Include="Trees\Statements\ResumeType.vb" />
|
||||||
<Compile Include="Trees\Statements\ReturnStatement.vb" />
|
<Compile Include="Trees\Statements\ReturnStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\SelectBlockStatement.vb" />
|
<Compile Include="Trees\Statements\SelectBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\Statement.vb" />
|
<Compile Include="Trees\Statements\Statement.vb" />
|
||||||
<Compile Include="Trees\Statements\StatementCollection.vb" />
|
<Compile Include="Trees\Statements\StatementCollection.vb" />
|
||||||
<Compile Include="Trees\Statements\StopStatement.vb" />
|
<Compile Include="Trees\Statements\StopStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\SyncLockBlockStatement.vb" />
|
<Compile Include="Trees\Statements\SyncLockBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\ThrowStatement.vb" />
|
<Compile Include="Trees\Statements\ThrowStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\TryBlockStatement.vb" />
|
<Compile Include="Trees\Statements\TryBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\UsingBlockStatement.vb" />
|
<Compile Include="Trees\Statements\UsingBlockStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\WhileStatement.vb" />
|
<Compile Include="Trees\Statements\WhileStatement.vb" />
|
||||||
<Compile Include="Trees\Statements\WithStatement.vb" />
|
<Compile Include="Trees\Statements\WithStatement.vb" />
|
||||||
<Compile Include="Trees\Tree.vb" />
|
<Compile Include="Trees\Tree.vb" />
|
||||||
<Compile Include="Trees\TreeType.vb" />
|
<Compile Include="Trees\TreeType.vb" />
|
||||||
<Compile Include="Trees\TypeNames\ArrayTypeName.vb" />
|
<Compile Include="Trees\TypeNames\ArrayTypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\ConstructedTypeName.vb" />
|
<Compile Include="Trees\TypeNames\ConstructedTypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\IntrinsicTypeName.vb" />
|
<Compile Include="Trees\TypeNames\IntrinsicTypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\NamedTypeName.vb" />
|
<Compile Include="Trees\TypeNames\NamedTypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\TypeArgumentCollection.vb" />
|
<Compile Include="Trees\TypeNames\TypeArgumentCollection.vb" />
|
||||||
<Compile Include="Trees\TypeNames\TypeName.vb" />
|
<Compile Include="Trees\TypeNames\TypeName.vb" />
|
||||||
<Compile Include="Trees\TypeNames\TypeNameCollection.vb" />
|
<Compile Include="Trees\TypeNames\TypeNameCollection.vb" />
|
||||||
<Compile Include="Trees\TypeParameters\TypeConstraintCollection.vb" />
|
<Compile Include="Trees\TypeParameters\TypeConstraintCollection.vb" />
|
||||||
<Compile Include="Trees\TypeParameters\TypeParameter.vb" />
|
<Compile Include="Trees\TypeParameters\TypeParameter.vb" />
|
||||||
<Compile Include="Trees\TypeParameters\TypeParameterCollection.vb" />
|
<Compile Include="Trees\TypeParameters\TypeParameterCollection.vb" />
|
||||||
<Compile Include="Trees\Types\ClassDeclaration.vb" />
|
<Compile Include="Trees\Types\ClassDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\DelegateDeclaration.vb" />
|
<Compile Include="Trees\Types\DelegateDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\DelegateFunctionDeclaration.vb" />
|
<Compile Include="Trees\Types\DelegateFunctionDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\DelegateSubDeclaration.vb" />
|
<Compile Include="Trees\Types\DelegateSubDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\EnumDeclaration.vb" />
|
<Compile Include="Trees\Types\EnumDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\GenericBlockDeclaration.vb" />
|
<Compile Include="Trees\Types\GenericBlockDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\ImplementsDeclaration.vb" />
|
<Compile Include="Trees\Types\ImplementsDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\InheritsDeclaration.vb" />
|
<Compile Include="Trees\Types\InheritsDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\InterfaceDeclaration.vb" />
|
<Compile Include="Trees\Types\InterfaceDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\ModuleDeclaration.vb" />
|
<Compile Include="Trees\Types\ModuleDeclaration.vb" />
|
||||||
<Compile Include="Trees\Types\StructureDeclaration.vb" />
|
<Compile Include="Trees\Types\StructureDeclaration.vb" />
|
||||||
<Compile Include="Trees\VariableDeclarators\VariableDeclarator.vb" />
|
<Compile Include="Trees\VariableDeclarators\VariableDeclarator.vb" />
|
||||||
<Compile Include="Trees\VariableDeclarators\VariableDeclaratorCollection.vb" />
|
<Compile Include="Trees\VariableDeclarators\VariableDeclaratorCollection.vb" />
|
||||||
<Compile Include="TypeCharacter.vb" />
|
<Compile Include="TypeCharacter.vb" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="My Project\" />
|
<Folder Include="My Project\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>Windows Installer 3.1</ProductName>
|
<ProductName>Windows Installer 3.1</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.VisualBasic.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.VisualBasic.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
<VisualStudio>
|
<VisualStudio>
|
||||||
<FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}">
|
<FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}">
|
||||||
<SilverlightProjectProperties />
|
<SilverlightProjectProperties />
|
||||||
</FlavorProperties>
|
</FlavorProperties>
|
||||||
</VisualStudio>
|
</VisualStudio>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
</Project>
|
</Project>
|
File diff suppressed because it is too large
Load diff
|
@ -1,40 +1,40 @@
|
||||||
'
|
'
|
||||||
' Visual Basic .NET Parser
|
' Visual Basic .NET Parser
|
||||||
'
|
'
|
||||||
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
' Copyright (C) 2005, Microsoft Corporation. All rights reserved.
|
||||||
'
|
'
|
||||||
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||||
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
||||||
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
'
|
'
|
||||||
|
|
||||||
Imports System.Xml
|
Imports System.Xml
|
||||||
|
|
||||||
Public Class ErrorXmlSerializer
|
Public Class ErrorXmlSerializer
|
||||||
Private ReadOnly Writer As XmlWriter
|
Private ReadOnly Writer As XmlWriter
|
||||||
|
|
||||||
Public Sub New(ByVal Writer As XmlWriter)
|
Public Sub New(ByVal Writer As XmlWriter)
|
||||||
Me.Writer = Writer
|
Me.Writer = Writer
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub Serialize(ByVal Span As Span)
|
Private Sub Serialize(ByVal Span As Span)
|
||||||
Writer.WriteAttributeString("startLine", CStr(Span.Start.Line))
|
Writer.WriteAttributeString("startLine", CStr(Span.Start.Line))
|
||||||
Writer.WriteAttributeString("startCol", CStr(Span.Start.Column))
|
Writer.WriteAttributeString("startCol", CStr(Span.Start.Column))
|
||||||
Writer.WriteAttributeString("endLine", CStr(Span.Finish.Line))
|
Writer.WriteAttributeString("endLine", CStr(Span.Finish.Line))
|
||||||
Writer.WriteAttributeString("endCol", CStr(Span.Finish.Column))
|
Writer.WriteAttributeString("endCol", CStr(Span.Finish.Column))
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub Serialize(ByVal SyntaxError As SyntaxError)
|
Public Sub Serialize(ByVal SyntaxError As SyntaxError)
|
||||||
Writer.WriteStartElement(SyntaxError.Type.ToString())
|
Writer.WriteStartElement(SyntaxError.Type.ToString())
|
||||||
Serialize(SyntaxError.Span)
|
Serialize(SyntaxError.Span)
|
||||||
Writer.WriteString(SyntaxError.ToString())
|
Writer.WriteString(SyntaxError.ToString())
|
||||||
Writer.WriteEndElement()
|
Writer.WriteEndElement()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub Serialize(ByVal SyntaxErrors As List(Of SyntaxError))
|
Public Sub Serialize(ByVal SyntaxErrors As List(Of SyntaxError))
|
||||||
For Each SyntaxError As SyntaxError In SyntaxErrors
|
For Each SyntaxError As SyntaxError In SyntaxErrors
|
||||||
Serialize(SyntaxError)
|
Serialize(SyntaxError)
|
||||||
Next
|
Next
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|
|
@ -1,71 +1,71 @@
|
||||||
http://www.codeplex.com/ASPClassicCompiler/license
|
http://www.codeplex.com/ASPClassicCompiler/license
|
||||||
|
|
||||||
Apache License
|
Apache License
|
||||||
Version 2.0, January 2004
|
Version 2.0, January 2004
|
||||||
http://www.apache.org/licenses/
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
1. Definitions.
|
1. Definitions.
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
||||||
|
|
||||||
2. Grant of Copyright License.
|
2. Grant of Copyright License.
|
||||||
|
|
||||||
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
3. Grant of Patent License.
|
3. Grant of Patent License.
|
||||||
|
|
||||||
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
||||||
|
|
||||||
4. Redistribution.
|
4. Redistribution.
|
||||||
|
|
||||||
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
||||||
|
|
||||||
1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
||||||
|
|
||||||
2. You must cause any modified files to carry prominent notices stating that You changed the files; and
|
2. You must cause any modified files to carry prominent notices stating that You changed the files; and
|
||||||
|
|
||||||
3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
||||||
|
|
||||||
4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
||||||
|
|
||||||
5. Submission of Contributions.
|
5. Submission of Contributions.
|
||||||
|
|
||||||
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
||||||
|
|
||||||
6. Trademarks.
|
6. Trademarks.
|
||||||
|
|
||||||
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
7. Disclaimer of Warranty.
|
7. Disclaimer of Warranty.
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
8. Limitation of Liability.
|
8. Limitation of Liability.
|
||||||
|
|
||||||
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability.
|
9. Accepting Warranty or Additional Liability.
|
||||||
|
|
||||||
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
Loading…
Add table
Reference in a new issue