text stringlengths 13 6.01M |
|---|
using PatientWebAppTests.CreateObjectsForTests;
namespace PatientWebAppTests.UnitTests
{
public class SurveyControllerTests
{
private readonly TestObjectFactory _objectFactory;
private readonly StubRepository _stubRepository;
/*
public SurveyControllerTests()
{
... |
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class Exam : System.Web.UI.Page
{
... |
using Rg.Plugins.Popup.Pages;
namespace RRExpress.Express.Views {
public partial class AddPriceView : PopupPage {
public AddPriceView() {
InitializeComponent();
}
}
}
|
using DemoApp.Entities;
using DemoApp.Extensions;
using DemoApp.Models;
using DemoApp.ResourceParameters;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DemoApp.Services
{
public interface ICentreRepository
{
Task<CentresDto> Create(CentreCreateDto data);
... |
using System;
using DelftTools.Utils;
using DelftTools.Utils.Aop;
namespace DelftTools.Units.Generics
{
/// <summary>
/// Represents any parameter containing single value of some type.
/// <para/>
/// "default routhness" = 0.01<para/>
/// "calculation start time" = 01.01.2005 10:00:00
/// </sum... |
using HabMap.ProjectConfigurations.Models;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace HabMap.ProjectConfigurations.ViewModels
{
public class ClientI... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Proyecto_AppMoviles_.Model
{
class CitaModelo
{
public int PK_Cita { get; set; }
public int PK_Paciente { get; set; }
public string fechaCita { get; set; } //datetime
public string razon { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
namespace ARGOTH.SNIPS.MON
{
public unsafe class YUV:Filter
{
public static Bitmap Execute(Bitmap img)
{
if (img == null)
return... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using VEE.Models;
using VEE.Models.BasedeDatos;
using VEE.Util;
using System.Globalization;
namespace VEE.Controllers
... |
using NStandard.Collections;
using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace NStandard
{
internal static class ArrayMapper
{
private static readonly Regex ArrayTypeRanksRegex = new Regex(@"(\[,*\])+", RegexOptions.Singleline);
private static... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemyspawner : MonoBehaviour
{
public GameObject enemy;
// Update is called once per frame
void Start()
{
StartCoroutine("Spawn");
}
IEnumerator Spawn()
{
Vector3 randPos = new Vec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using GodMorgon.Models;
using GodMorgon.VisualEffect;
using GodMorgon.Sound;
namespace GodMorgon.Enemy
{
public class EnemyView : MonoBehaviour
{
[Header("Enemy View")]
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace BOB2
{
class Rektangel : GameObject
{
protected Color färg = Color.White;
protected Rectangle rec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using bellyful_proj.Models;
using bellyful_proj_v._0._2.Data;
namespace bellyful_proj_v._0._2.Controllers
{
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.SignalR;
namespace AgentR.Server
{
internal static class Extensions
{
public static IClientProxy GetClientsForRequest<TRequest, TResponse>(this IHubContext<AgentHub> hub)
{
... |
using System;
using System.Collections.Generic;
using EQS.AccessControl.Domain.Entities;
using EQS.AccessControl.Domain.Interfaces.Repository;
using EQS.AccessControl.Domain.Interfaces.Services;
using EQS.AccessControl.Domain.ObjectValue;
namespace EQS.AccessControl.Domain.Services
{
public class RoleService : IR... |
using System;
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using NUnit.Framework;
using Rebus.Activation;
using Rebus.Config;
using Rebus.DataBus.ClaimCheck;
using Rebus.Encryption;
using Rebus.Tests.Contracts;
using Rebus.Transport.InMem;
namespace Rebus.AzureBlobs.Tests.Bugs;
[TestFixture]
public class... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class Player : MonoBehaviour
{
public int currentHealth = 5;
public int maxHealth = 5;
public int coins = 0;
public int score = 0;
public TextMeshProUGUI coinText;
public T... |
namespace EasyFFmpeg
{
/// <summary>
/// Simple audio dynamic range compression/expansion filter.
/// </summary>
public class AudioContrastFilter : AudioFilter
{
public override string Name => "aconstrast";
[FilterOptionName("contrast", 33, 0, 100)]
public int? Co... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WebAPISample.Models;
namespace WebAPISample.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class EntriesController : ControllerBase
{
private readonly IList<Entry> entr... |
using System;
namespace DadJokeGenerator.DTO
{
public class JokeModel
{
public string Id { get; set; }
public string Joke { get; set; }
public string Status { get; set; }
}
}
|
using System;
using System.Threading;
using System.Windows.Forms;
namespace Com.Colin.Win
{
/// <summary>
/// 异步编程示例
/// </summary>
public partial class Frm_Timer2 : Form
{
public Frm_Timer2()
{
InitializeComponent();
timer1.Stop();
}
privat... |
using System;
namespace Vlc.DotNet.Core
{
public class VlcMediaParsedChangedEventArgs : EventArgs
{
public VlcMediaParsedChangedEventArgs(int newStatus)
{
NewStatus = newStatus;
}
public int NewStatus { get; private set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PullRequestNotifications.Forms
{
public class SystemTrayApp : Form
{
public NotifyIcon TrayIcon { get; private set; }
public S... |
namespace Battleship.Logic.Models
{
public enum BombingResult
{
Miss,
Hit,
Sink,
AllShipsSunk,
}
}
|
using UnityEngine;
using System;
using System.Collections;
namespace Alien2
{
[RequireComponent(typeof(Animator))]
public class BlinkingCtrl : MonoBehaviour
{
private Animator animator;
public int from = 2;
public int to = 5;
// Use this for initialization
void Sta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Threading;
namespace MvcTestApplication.Controllers
{
[HandleError]
public class HomeController : Controller
{
public ActionResult Index()
{
// Service locati... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Requests
{
public class DomainUpdate
{
public bool locked { get; set; }
public List<object> nameServers { get; set; }
p... |
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Web.Configuration;
using WeatherForecast.Models;
using WeatherForecast.Services;
namespace WeatherForecast.Json
{
public class ForecastService : IForecastService
{
private ILogger _logger;
public ForecastService(ILogger l... |
namespace AuthMicroService.Interfaces
{
public interface ICryptoService
{
string GenerateSalt();
string ComputeHash(string password, string salt);
}
} |
using ClientGui;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace ClientLibrary
{
public class ClientTCP
{
private IPAddress ipAddress;
private int port;
public Cli... |
using System.Collections.Generic;
using System.IO;
using Mochizuki.VariationPackager.Models.Abstractions;
using UnityEngine;
namespace Mochizuki.VariationPackager.Processors
{
public class CopyExternalLibrary : Processor
{
public override void Run()
{
var externals = Path.Combine... |
/* Richie Hatch
* Due date: 1/31/2021
* Description: The proposal for the final project is gym management software. All classes are instructor
* lead at the facility and there is limited space available. There are three levels of access: student,
* employee, and employer or administrator. All informati... |
using System;
using System.Collections.Generic;
using Alexa.NET.Request;
using Alexa.NET.Request.Type;
using Alexa.NET.Response;
using Xunit;
using Amazon.Lambda.TestUtilities;
namespace AlexaCSharpRandomNumberGenerator.Tests
{
public class FunctionTest
{
[Fact]
public void TestLambdaFunction()... |
namespace BDTest.Settings;
public class DebugSettings
{
internal DebugSettings()
{
}
public bool ShouldSkipWhenStep { get; set; }
} |
using UnityEngine;
using System.Collections;
public class Connect : MonoBehaviour {
public void StartConnect() {
//TODO Play animations and stuff
gameObject.SetActive( true );
}
[SerializeField]
private UILabel ipAddress;
public void ConnectToHost() {
Debug.Log( "Connect... |
using System;
using Newtonsoft.Json;
namespace SecureNetRestApiSDK.Api.Models
{
/// <summary>
/// Credit Card Specific Data.
/// </summary>
public class Card
{
#region Properties
/// <summary>
/// Data that has been read from the card's magnetic stripe.
/// </summ... |
using AlgorithmProblems.Graphs.GraphHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Graphs
{
/// <summary>
/// Create a clone of a graph given the start vertex of the graph
/// </summary>
class Clon... |
using BillsPaymentModels;
namespace BillsPaymentData
{
using System.Data.Entity;
public class BillsPaymentContextTph : DbContext
{
public BillsPaymentContextTph()
: base("name=BillsPaymentContext")
{
}
public IDbSet<User> Users { get; set; }
public IDbSe... |
using EPI.Graphs.Algorithms;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Graphs.Algorithms
{
[TestClass]
public class MinHeapWithDecreaseKeyUnitTest
{
[TestMethod]
public void MinHeap()
{
MinHeapWithDecreaseKey heap = new MinHeapWithDecreaseKey(7);
... |
using Newtonsoft.Json;
namespace CoinMarketCap.Models
{
public class TickerModel
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("symbol")]
public string Symbol { get; set; }
... |
using System.Net.Mail;
namespace Web.ViewModels.Home
{
public class EmailViewModel
{
public string From { get { return "solutiontemplate@skaele.it"; } }
public string To { get; set; }
public string Cc { get; set; }
public string Bcc { get; set; }
public string Subject {... |
using Newtonsoft.Json;
namespace Claudia.SoundCloud.EndPoints.Users
{
/// <summary>
///
/// </summary>
public class User
{
#region Properties
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("kind")]
public string Kind { get; set; }
[JsonProperty("permalink")]
public string Permal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iSukces.Code.Interfaces;
namespace iSukces.Code
{
internal sealed class CsMethodWriter
{
public CsMethodWriter(CsMethod method)
{
_method = method;
}
private static string Fo... |
using System;
using System.Collections.Generic;
using System.Linq;
using Operations.Interfaces;
namespace Operations.Extensions
{
public static class CollectionExtensions
{
/// <summary>
/// Add item to collection if not already exists in collection
/// </summary>
/// <typepara... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using service.Models;
using Microsoft.AspNetCore.Hosting;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json.Linq;
using RestSharp;
using System.IO;
using System.Web;
using S... |
namespace AssessmentApp.Web.ViewModels.Assessments
{
using System.Collections.Generic;
public class IndexViewModel
{
public IEnumerable<IndexAssessmentViewModel> Assessments { get; set; }
}
}
|
/*MenuItemSelectionControl.xaml.cs
* Author: Easton Bolinger
* Purpose: handles the backend for the item selection UI
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Win... |
using System;
using SwinGameSDK;
namespace MyGame
{
public class EyesStruct
{
//EYE 1
LineSegment eye1Line1;
Point2D eye1Line1Part1;
Point2D eye1Line1Part2;
LineSegment eye1Line2;
Point2D eye1Line2Part1;
Point2D eye1Line2Part2;
//EYE 2
LineSegment eye2Line1;
//Line 1 in left eye cros... |
using _7DRL_2021.Behaviors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Results
{
class ActionStabStuck : IActionPaired
{
public ICurio Origin { get; set; }
public ICurio Target { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Caching;
using System.Web;
namespace web_ioc.Models
{
public class SessionStore : ISessionStore
{
MemoryCache Cache = new MemoryCache("SessionStore", new System.Collections.Specialized.NameValueCollection());
... |
using AutoMapper;
using Mvc.JQuery.Datatables;
using Profiling2.Domain;
using Profiling2.Domain.Contracts.Export.Screening;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Contracts.Tasks.Screenings;
using Profiling2.Domain.Prf;
using Profiling2.Domain.Prf.Careers;
using Profiling2.Domain.Scr;
using P... |
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
namespace HW04.ViewModels
{
public class MainPageViewModel : BindableBase, INavigationAware
{
private string _title;
public string Title
{
get ... |
using System.Collections.Generic;
using System.Drawing;
using OxyPlot.WindowsForms;
using System.Windows.Forms;
using System;
namespace PterodactylCharts
{
public partial class LineGraph : Form
{
public LineGraph()
{
InitializeComponent();
}
public void LineGraphDa... |
namespace Phonebook
{
//Documentation can be found at "bin\Debug\Phonebook.XML".
using System.Collections.Generic;
/// <summary>
/// Interface that insures consistent phone book data
/// </summary>
public interface IPhonebookRepository
{
/// <summary>
/// Provides adding c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Hakase.Uchuu
{
public class GDIUtils
{
public static void SetDoubleBuffered(System.Windows.Forms.Control c)
{
// Taxes: Remote Desktop Connection and painting
// http://blogs... |
using System;
namespace Task20
{
class Program
{
static void Main(string[] args)
{
Console.Write("Въведете S:");
int S = int.Parse(Console.ReadLine());
Console.Write("Въведете N:");
int n = int.Parse(Console.ReadLine());
int[] array =... |
using ChainOfResponsibility.Approver;
using Moq;
using System;
using Xunit;
namespace ChainOfResponsibility.Test
{
public class ApprovalTest
{
[Fact]
public void GetApprover_UnderTenThousandYen_ReturnsChief()
{
var emp = new Mock<IEmployee>();
emp.Setup(x => x.Ti... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class crowdControl : MonoBehaviour
{
// Start is called before the first frame update
[SerializeField] Transform car;
void Start()
{
}
void FixedUpdate()
{
foreach(Transform children in t... |
using System;
using System.Collections.Generic;
using System.Text;
using Sandbox;
using Sandbox.Game.Entities;
using Sandbox.Game.GameSystems;
using Sandbox.Game.World;
using Sandbox.Graphics.GUI;
using VRage;
using VRage.Audio;
using VRage.Game;
using VRage.Game.ModAPI;
using VRage.Utils;
using VRageMath;
namespace ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Assets.Scripts
{
public enum ColorEnum
{
Blue = 1,
Yellow = 2
}
}
|
/******************************************
* AUTHOR: Rector
* CREATEDON: 2018-09-26
* OFFICIAL_SITE: 码友网(https://codedefault.com)--专注.NET/.NET Core
* 版权所有,请勿删除
******************************************/
using Common.Service.DTOModel.Menu;
using Controllers;
using Microsoft.AspNetCore.Authoriza... |
using ClaimDi.DataAccess;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using ClaimDi.DataAccess.Object.API;
using ClaimDi.DataAccess.Entity;
namespace ClaimDi.Business.Master
{
public class CauseOfLossLogic
{
private static readonly ILog logger =
LogMa... |
namespace Krafteq.ElsterModel
{
using System;
public class TaxTimestamp
{
public TaxYear Year { get; }
public TaxTimePeriod TimePeriod { get; }
public TaxTimestamp(TaxYear year, TaxTimePeriod timePeriod)
{
this.Year = year ?? throw new ArgumentNullException(name... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AsimcoBatchMNGMT
{
public class ExChangeXML
{
public long LinkedLogID
{ get; set; }
public int ErrCode
{ get; set; }
public string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using SKYPE4COMLib;
using System.Threading;
using System.IO;
using System.Windows.Forms;
using System.Windows.Threading;
using System.ComponentModel;
using System.Diagnostics;
namespace SoundServant
{
... |
namespace ControleEstacionamento.Persistence.Entity.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InserindoCampos : DbMigration
{
public override void Up()
{
AddColumn("dbo.tbl_movimentacao_veiculo", "TempoPermanecica", c => c.DateT... |
namespace SharpStore
{
using System.IO;
using SimpleHttpServer;
using SimpleHttpServer.Enums;
using SimpleHttpServer.Models;
using HandmadeHTTPServer.Data;
using System.Collections.Generic;
using Contracts;
using HandmadeHTTPServer.Data.Contracts;
using Services;
using Services.... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SharpDX;
using Point = System.Drawing.Point;
namespace MiNETDevTools.Graphics.Components
{
public partial cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VLAN_IP
{
class Vlan
{
private string nev;
private Dictionary<string, int> eszk;
//vlan.txt-ből: VLAN1
public Vlan(string nev)
{
thi... |
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2016 {
public class Problem11 : AdventOfCodeBase {
private List<Pair> _pairs;
private List<Single> _singles;
private Dictionary<int, Dictionary<ulong, int>> _hash;
public override str... |
namespace ForumSystem.Web.ViewModels.Comments
{
public class EditCommentJsonModel
{
public int CommentId { get; set; }
public string EditContent { get; set; }
}
}
|
using OpenQA.Selenium;
using System;
namespace Training
{
public static class Extentions
{
public static bool IsElementPresent(this IWebDriver driver, By locator)
{
try
{
driver.FindElement(locator);
return true;
}
catch (NoSuchElementException ex)
{
return false;
}
}
public s... |
using System;
using Unity.Entities;
namespace UnityECSTile
{
[Serializable]
public struct HealthComponent : IComponentData
{
public int CurrentHealth;
public int MaxHealth;
public HealthComponent(int max)
{
CurrentHealth = max;
MaxHealth = max;
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _03._Contact_List
{
class Program
{
static void Main(string[] args)
{
List<string> contacts = Console.ReadLine()
.Split()
.ToList();
string command = Console.Rea... |
using Microsoft.EntityFrameworkCore;
using RSS.Business.Interfaces;
using RSS.Business.Models;
using RSS.Data.Context;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace RSS.Data.Repository
{
//new() - permit... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Text;
using Android.Views;
using Android.Widget;
using Cashflow9000.Adapters;
using... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BigEnemyController : MonoBehaviour {
public Transform beamSpawn;
public GameObject beamPrefab;
public GameObject explosionPrefab;
public float speed;
private int frameTimer;
private Rigidbody2D rb;
private int health;
... |
using System;
namespace Task_10
{
class Circle
{
private int x;
private int y;
private int radius;
public Circle(int x, int y, int radius)
{
this.x = x;
this.y = y;
this.radius = radius;
}
public Circle() : this(new... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BTLv1
{
public partial class DoiTen_DoiMatKhau_Check : Form
{
Classv1 connv1 =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class DisplayController : MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI _digitsText;
[SerializeField]
private TextMeshProUGUI _operatorText;
[SerializeField]
private int _maxDigitsC... |
namespace useSOLIDin
{
interface ICursorInfo
{
void SetPos(int cpl, int cpt);
}
}
|
using System;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using SeleniumTest.Utils;
namespace SeleniumTest
{
public class UnitTest1
{
private IWebDriver driver;
private readonly string chromedriverPath = ProjectHelpers.GetProjectPath() + "Drivers";
... |
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApplication1.EfStuff.Model;
using WebApplication1.EfStuff.Model.Energy;
using WebApplication1.Models.Energy;
namespace WebApplication1.Profiles
{
public class PersonalAccountProfiles : Profi... |
using kolos1.DTOs.Responses;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace kolos1.Services
{
public class SqlServerDbService : IMedicamentsDbService
{
private const string ConnString = "Data Source=db-mssql;Initi... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using UnityEngine;
public class IcePath_Master : MonoBehaviour {
// Set the difficulty
[Header("Difficulty")]
[SerializeField]
private int mapDiff;
public static int globalMapDiff;
// Ma... |
using System.Web.Mvc;
using System.Web.Routing;
namespace WebSportEntity.Extension
{
public static class ImageHelper
{
public static string Image(this HtmlHelper helper, string id, string url, string alternateText, object htmlAttributes)
{
// Crée le TagBuilder
... |
using Syncfusion.ListView.XForms;
using Xamarin.Forms;
namespace SyncFListView
{
public partial class App : Application
{
SfListView listView;
public App ()
{
InitializeComponent();
//MainPage = new SyncFListView.MainPage();
listView = new SfListView();
MainPag... |
using UnityEngine;
using UnityEngineInternal;
using System.Collections;
/**
* @author Chris Foulston
*/
namespace Malee.Hive.Util {
public static class PathUtil {
public static NavMeshPath CalculatePath(Vector3 from, Vector3 to, int passableMask, out Vector3[] points) {
return CalculatePath(from, to, passab... |
using gView.GraphicsEngine.Abstraction;
using gView.GraphicsEngine.GdiPlus.Extensions;
using System;
using System.Drawing;
using System.Linq;
namespace gView.GraphicsEngine.GdiPlus
{
internal class GdiCanvas : ICanvas
{
private Graphics _graphics;
private CanvasRectangle _bounds;
publ... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace LimKaiYing
{
public partial class Login : System.Web.UI.Page
{
bool isAdmin;
... |
//Author(s): Conor Hughes
//Date: 12/10/2015
//Description: Used to animate a camera around a scene independent of the player camera.
// Primarily used for recording gameplay from different perspectives. Movement
// and look at behaviours are assigned in the parameters.
using UnityEngine;
using System.Collec... |
using System.ComponentModel.DataAnnotations;
namespace PruebaCI.Models
{
public class PersonaMetadata
{
[Display(Name = "ID")]
public int Id;
[Display(Name = "Nombre")]
[Required(ErrorMessage = "Debe ingresar un nombre")]
public string Nombre;
[Display(Name =... |
using Microsoft.Xna.Framework;
using StarlightRiver;
using System;
using Terraria;
using Terraria.ModLoader;
namespace StarlightRiver.Waters
{
public class WaterJungleCorrupt : ModWaterStyle
{
public override bool ChooseWaterStyle()
{
return Main.LocalPlayer.GetModPlayer<BiomeHandler>().ZoneJungleCor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace Pokemon_Internal_Blades_CSharp
{
public class Merchant : Trainer
{
public Merchant()
{
}
//move m_inventory to specific inherited
//private ArrayL... |
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DgKMS.Cube.Models
{
[Table("fund")]
public class FundModel : Entity<long>, IHasCreationTime, IHasModificationTime
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using DataAnnotationsExtensions;
using ScoreSquid.Web.Models;
using System.Web.Mvc;
namespace ScoreSquid.Web.ViewModels
{
public class RegistrationViewModel
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CMSWebsite
{
public class HTMLPAGE
{
// a page contains these
private string pageid;
private string pagetitle;
private string pagebody;
private string ispublished;
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class GridMenuMouseEvents : MonoBehaviour
{
//Used in Grid menu to interact with mouse cursor
string emptyGridSpriteName = "Textfield full";
GameMenu menu;
AudioM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AuctionApi.Models;
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace SpecflowWorkshop.Steps
{
[Binding]
class RetrieveAuctionsThenSteps
{
private readonly RetrieveAucti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.