text stringlengths 13 6.01M |
|---|
using System;
using Atlas;
using CoreGraphics;
using CoreLocation;
using Foundation;
using ObjCRuntime;
using UIKit;
[Static]
[Verify (ConstantsInterfaceAssociation)]
partial interface Constants
{
// extern NSString *const ATLAddressBarPartAttributeName;
[Field ("ATLAddressBarPartAttributeName", "__Internal")]
NSSt... |
using System;
using System.Windows.Input;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.IO;
using Xamarin.Forms;
namespace Tianhai.OujiangApp.Schedule.ViewModels{
public class LoginViewModel:BaseViewModel{
public LoginViewModel(View PageContent,INavigation Navigation,Page Page){... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
namespace Rss2Email
{
class Program
{
//Arguments - RSS source, update period in minutes, list of e-mails
static void Main(string[] args)
{
int updatePer... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;
public class JsonObject
{
public string ToJSON()
{
JavaScriptSerializer serializer = new JavaScriptSerializer();
return serializer.Serialize(this);
}
}
public class ... |
using System;
using System.Collections.Generic;
using Alabo.Data.People.Users.Domain.Services;
using Alabo.Domains.Entities;
using Alabo.Domains.Query;
using Alabo.Extensions;
using Alabo.Framework.Core.WebApis;
using Alabo.Framework.Core.WebUis;
using Alabo.Industry.Cms.Articles.Domain.Entities;
using Alabo.Industry.... |
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;
using System.Configuration;
using System.Data.OleDb;
using Novacode;
using System.IO;
using System.Data.C... |
using System;
using Uintra.Infrastructure.TypeProviders;
namespace Uintra.Features.Permissions.TypeProviders
{
public class PermissionActivityTypeProvider : EnumTypeProviderBase, IPermissionResourceTypeProvider
{
public PermissionActivityTypeProvider(params Type[] enums) : base(enums)
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using Docller.Core.Repository.Mappers;
using Microsoft.Practices.EnterpriseLibrary.Data;
namespace Docller.Core.Repository.Accessors
{
public class StoredProcAccessor<TResult>:SprocAc... |
using FamousQuoteQuiz.Data.ServiceModels.Enums;
using System.Threading.Tasks;
namespace FamousQuoteQuiz.Data.ServiceContracts
{
public interface IQuoteService
{
Task CreateQuote(Data.ServiceModels.Quote quoteModel);
Task EditQuote(Data.ServiceModels.Quote quoteModel);
Task DeleteQuot... |
using ApiSGCOlimpiada.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiSGCOlimpiada.Data.TipoCompraDAO
{
public interface ITipoCompraDAO
{
IEnumerable<TipoCompra> GetAll();
List<TipoCompra> FindBySearch(string search);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnPowerup : MonoBehaviour
{
public GameObject powerupPrefab;
private GameObject _currentPowerup;
public float SpawnTime;
public Transform spawnLocation;
public bool Spawning;
private float _tim... |
#region License
// Copyright (c) 2012 Trafficspaces Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LD4CollisionAI : MonoBehaviour {
public GameObject mainAIRef;
int nbWrongAI;
bool mainAIHere;
public bool douglasIsolated;
private void OnTriggerEnter(Collider other)
{
if(other.tag == "AI")
... |
using Discord;
using OrbCore.ContentStructures;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrbCore.Interfaces.Receivers {
public interface IGuildTextMessageReceiver {
Task OnGuildTextMessageReceived(GuildTextMessageContent ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RedisPSR
{
class Department : IData
{
public Department( string province, string type)
{
City = province;
Type = type;
}
public ... |
using System;
using System.Collections.Generic;
using ContactListSample.Models;
using ContactListSample.Services;
using ContactListSample.ViewModels;
using Xamarin.Forms;
namespace ContactListSample.Views
{
public partial class EditNumberPage : ContentPage
{
IContactService _contactService;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// 806. Number of Lines To Write String
/// </summary>
namespace ConsoleApp4
{
class NumberOfLinesToWriteString
{
public static int[] NumberOfLines(int[] widths, string S)
{
int li... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Gms.Maps.Model;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Java.Util;
namespace Geofence
{
public class Constants
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SQMS.Services;
using EasyDev.Util;
using System.Data;
using EasyDev.SQMS;
namespace SQMS.Application.Views.Basedata
{
public partial class OrganizationVie... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Text;
using System.Xml;
using Comics.Core.Persistence;
using Comics.Core.Presentation;
using HtmlAgilityPack;
using NFluent;
using Xunit;
namespace Comics.Tests.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Web.student
{
public partial class seleted : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
prot... |
using BugunNeYesem.Data;
using BugunNeYesem.Logic;
using BugunNeYesem.Logic.Utils;
using FakeItEasy;
using NUnit.Framework;
namespace BugunNeYesem.Test
{
[TestFixture]
public class NotificationServiceTests
{
[Test]
public void NotificationService_NotifyFlowdock_ReturnsTrue()
{
... |
namespace MatchNumbers
{
using System;
using System.Linq;
using System.Text.RegularExpressions;
public class StartUp
{
public static void Main()
{
var numbersList = Console.ReadLine();
var pattern = @"(^|(?<=\s))-?(\d+)(\.\d+)?($|(?=\s))";
var m... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class SortObject : MonoBehaviour {
[SerializeField]
private GameObject[] _sortGameObjects;
public static List<GameObject> sortGameObjects = new List<GameObject> ();
// Start is called before th... |
using Sfa.Poc.ResultsAndCertification.CsvHelper.Domain.Models;
using System.Collections.Generic;
namespace Sfa.Poc.ResultsAndCertification.CsvHelper.Domain.Comparer
{
public class TqRegistrationPathwayEqualityComparer : IEqualityComparer<TqRegistrationPathway>
{
//private TqRegistrationSpecialismEqual... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Pitcher : MonoBehaviour {
public GameObject ball;
public GameObject curve;
public float power = 100f;
public Vector3 direction;
public int busu;
void Start () {
StartCoroutine (Spawn ());
}
IEnumerator Spawn(){
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using System.IO;
using System.Text.RegularExpressions;
namespace CA1StreamReaderWriter
{
class Program
{
static void Main(string[] args)
{
//declare variables
string pat = @"-{72}"; //hyph... |
using System;
using System.ComponentModel.DataAnnotations;
namespace League.Models
{
public class Ninja
{
[Key]
public long id { get; set; }
[Required]
[MinLength(3, ErrorMessage = "Name must be at least 3 characters")]
[Display(Name = "Name")]
public string nam... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using EZCameraShake;
public class boundaryShake : MonoBehaviour
{
public float magnitude = 3f;
public counter count;
private void OnCollisionEnter2D()
{
CameraShaker.Instance.ShakeOnce(magnitude, 4f, .1f, 1f);
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Microsoft.WindowsAzure.Storage.Table;
namespace WebRole1
{
public class Storage
{
private CloudStorag... |
namespace CODE.Framework.Wpf.TestBench
{
/// <summary>
/// Interaction logic for TabItemsPanelTest.xaml
/// </summary>
public partial class TabItemsPanelTest
{
public TabItemsPanelTest()
{
InitializeComponent();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Construction_Project
{
public partial class RegistrationPage : System.Web.UI.Page
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CYJ.Utils.Extension.LinqExtension
{
public static class EnumerableExtension
{
/// <summary>合并两个IEnumerable不同元素.</summary>
/// <typeparam name="T">Generic type parameter.</typeparam>
/// <param name="this">The ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace DotNetCoreIdentity.Application
{
public class EntityDto<T> : CommonEntityDto
{
public T Id { get; set; }
}
// default base dto
public class EntityDto : CommonEntity... |
using GardenControlCore.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GardenControlApi.Models
{
public class RelaySetStateDto
{
public int DeviceId { get; set; }
public RelayState State { get; set; }
}
}
|
using System;
using System.Collections.Generic;
namespace PizzeriaApi.Models
{
public partial class Stan
{
public int IdStan { get; set; }
public string Nazwa { get; set; }
public TimeSpan PozostalyCzas { get; set; }
}
}
|
using System.Threading.Tasks;
using FrontDesk.Infrastructure.Data;
using UnitTests.Builders;
using Xunit;
namespace IntegrationTests.ClientTests
{
public class EfRepositoryGetById : BaseEfRepoTestFixture
{
private readonly EfRepository _repository;
public EfRepositoryGetById()
{
_repository = G... |
using Google.OrTools.LinearSolver;
using System;
namespace capacited_facility_location_problem
{
internal class FacilityOptimizer
{
public FacilityOptimizer()
{
}
internal object SolveProblemForInstance(FacilityProblemData facilityProblemInstance)
{
// TODO... |
using NGeoNames.Entities;
using System.Globalization;
namespace NGeoNames.Composers
{
/// <summary>
/// Provides methods for composing a string representing an <see cref="ExtendedGeoName"/>.
/// </summary>
public class ExtendedGeoNameComposer : BaseComposer<ExtendedGeoName>
{
/// <summary>... |
using FriendStorage.DataAccess;
using FriendStorage.UI.Command;
using FriendStorage.UI.DataProvider;
using FriendStorage.UI.Events;
using Prism.Events;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows.Input;
namespace FriendStorage.UI.ViewModel
{
public class MainViewMod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Patterns.Pattern.Ef6;
namespace Welic.Dominio.Models.Segurança.Map
{
public enum TypeProgram
{
Cadastro = 1,
processo = 2,
relatorio = 3,
}
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OK_GameManager : MonoBehaviour {
// Var for timer
private float startTime;
private float fl_Time;
// Var Gameobjects that turn on/off
public GameObject Console_Idle;
public GameObj... |
using _01_Alabo.Cloud.Core.SendSms.Domain.Enums;
namespace _01_Alabo.Cloud.Core.SendSms.Dtos
{
public class SmsInput
{
/// <summary>
/// 类型
/// </summary>
public SmsType Type { get; set; } = SmsType.Phone;
/// <summary>
/// 手机号码 逗号隔开
/// </summa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CountBonsObject : SingletonComponent<CountBonsObject>
{
int BonusObejctCount;
public void CountUp()
{
BonusObejctCount++;
}
public void ReSet()
{
BonusObejctCount = 0;
}
public ... |
using Alabo.Web.Mvc.Attributes;
namespace Alabo.Framework.Core.Enums.Enum {
[ClassProperty(Name = "传参类型")]
public enum AuthorityType {
Get,
Post
}
} |
using UnityEngine;
using System.Collections;
namespace zm.Questioning
{
public abstract class AnswerRendererBase : MonoBehaviour
{
#region Fields and Properties
protected Answer answer;
public virtual Answer Answer
{
set
{
answer = val... |
using Microsoft.EntityFrameworkCore;
using ServiceQuotes.Domain.Entities;
using ServiceQuotes.Domain.Repositories;
using ServiceQuotes.Infrastructure.Context;
using System.Linq;
using System.Threading.Tasks;
namespace ServiceQuotes.Infrastructure.Repositories
{
public class SpecializationRepository : Repository<S... |
using UnityEngine;
using UnityEngine.EventSystems;
public class TestDragImage : MonoBehaviour
, IPointerClickHandler
, IDragHandler
, IBeginDragHandler
, IEndDragHandler
{
private Vector3 mStartPosition;
private void Start()
{
mStartPosition = transform.position;
... |
using System.CodeDom.Compiler;
namespace Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution
{
[GeneratedCode("wsdl", "2.0.50727.42")]
public delegate void LoadDrillthroughTarget3CompletedEventHandler(object sender, LoadDrillthroughTarget3CompletedEventArgs e);
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SOP_IAA_DAL
{
[MetadataType(typeof(personaMetaData))]
public partial class persona
{
}
public cla... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
Vector vector1 = new Vector(25, 30);
Vector vector2 = new Vector(22, 29);
Vector sum = ... |
using EmberKernel.Services.Command.Parsers;
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberKernel.Services.Command.Attributes
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class CommandParserAttribute : Attribute
{
p... |
using System.Collections.Generic;
using NHibernate;
using Profiling2.Domain.Prf.Sources;
namespace Profiling2.Domain.Contracts.Queries
{
public interface IJhroCaseQueries
{
JhroCase GetJhroCase(ISession session, string caseNumber);
void SaveJhroCase(ISession session, JhroCase jhroCase);
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace WhatToDevelop
{
public class MainViewModel : Livet.ViewM... |
using Contracts;
using Entities;
using Entities.Models;
namespace Repository
{
public class ReportDataEntryRepository : RepositoryBase<ReportDataEntry>, IReportDataEntryRepository
{
public ReportDataEntryRepository(RepositoryContext repositoryContext)
: base(repositoryContext)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.Sconit.Entity
{
public class Message
{
public CodeMaster.MessageType MessageType { get; set; }
private string messageKey { get; set; }
private string[] messageParams { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Threading;
using UnityEngine.SceneManagement;
public class Timer : MonoBehaviour
{
public int timeLeft = 60;
public Text countdown;
void Start()
{
StartTimer();
... |
public class Solution {
public int Trap(int[] height) {
int size = height.Length;
if (size == 0) return 0;
int[] left_max = new int[size];
int[] right_max = new int[size];
left_max[0] = height[0];
for (int i=1; i<size; i++) {
left_max[i] = Math.Max(height[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unidade11.ExercicioFixacao
{
class OrdenarElemento
{
public static Random randNum = new Random();
static void Main111(string[] args)
{
... |
using UnityEngine;
using System.Collections.Generic;
namespace Ardunity
{
[AddComponentMenu("ARDUnity/Reactor/Transform/Rotation2DReactor")]
[HelpURL("https://sites.google.com/site/ardunitydoc/references/reactor/rotation2dreactor")]
public class Rotation2DReactor : ArdunityReactor
{
public bool inver... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.DTO
{
public class ValidateAddressOM
... |
using System.Collections.Generic;
using alunosAPI.Models;
using alunosAPI.Repository;
using Microsoft.AspNetCore.Mvc;
namespace alunosAPI.Controllers
{
[Route("api/[Controller]")] //no navegador fica assim: https://localhost:5001/api/Materia
public class MateriaController : Controller
{
//Atributos... |
using Fbtc.Domain.Entities;
using System.Collections.Generic;
namespace Fbtc.Application.Interfaces
{
public interface ITipoPublicoApplication
{
IEnumerable<TipoPublico> GetAll(bool? isAtivo);
IEnumerable<TipoPublico> GetByTipoAssociacao(bool? associado);
TipoPublico GetTipoPublicoBy... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ShopApp.DataAccess.Migrations
{
public partial class order : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Address",
... |
using System;
using System.IO;
namespace Uberware.Study
{
public class MatchingSettings : Settings
{
public bool PlaySounds = true;
public string [] Sounds = new string []
{
"Sounds\\Begin.wav", // 'Begin' sound
"Sounds\\Correct.wav", // 'Correct' ... |
using BHLD.Data.Infrastructure;
using BHLD.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace BHLD.Data.Repositories
{
public interface Ihu_employee_cvRepository : IRepository<hu_employee_cv>
... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bitbrains.AmmyParser
{
public partial class AmmyGrammarAutogeneratorInfo
{
public AmmyGrammarAutogeneratorInfo(string terminalName)
{
var parts = (terminalName + ",,,,").Split(',').Select(a => a.Trim(... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomKlonowski.Model;
namespace TomKlonowski.DB
{
public class TomKlonowskiDbContext : DbContext
{
public TomKlonowskiDbContext()
: base("TomKlo... |
namespace GeneralResources.CursoAlgoritmoEstruturaDeDados.Sorting
{
public class BinaryHeap
{
List<int> _data = new List<int>();
/// <summary>
/// Max-heap
/// </summary>
/// <param name="value"></param>
public void Insert(int value)
{
_data.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace otodik_feladat
{
enum BirkaAllapot
{
Halott,
Sérült,
Sértetlen
}
class Birka
{
//Fields and propert... |
using UnityEngine;
public class AccessingAParticleSystemModule : MonoBehaviour
{
// Use this for initialization
void Start ()
{
// Get the emission module.
var forceModule = GetComponent<ParticleSystem>().forceOverLifetime;
// Enable it and set a value
forceModule.enabled = true;
forceModu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BST_Recursion
{
class Program
{
static void Main(string[] args)
{
BST bst = new BST();
Random rand = new Random();
for (int i = 0; i < 10; i++)
{
bst.InsertRecursively(ra... |
using Eduhome.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Eduhome.ViewModels
{
public class CourseVM
{
public Caption Caption { get; set; }
public CourseDetails CourseDetails { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Foundry.SourceControl.GitIntegration
{
public class GitSourceObject : ISourceObject
{
public string CommitId { get; set; }
public string TreeId { get; set; }
public string Pat... |
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium;
using NUnit.Framework;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support;
using OpenQA.Selenium.Support.UI;
namespace ShortcutsSalon
{... |
using Autofac;
using SomeTask.Modules;
using log4net;
namespace SomeTask
{
public static class Bootstrap
{
private static IContainer Container { get; set; }
public static void Init()
{
var builder = new ContainerBuilder();
builder.RegisterType<TaskManager>().As... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rainbow.WorldOverhaul
{
public static class ExplosionPatch
{
public static void SubPatch()
{
}
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = System.Random;
public class SpawnManager : MonoBehaviour
{
/**
* Variable used to calculate probabilities.
*/
private Random _rand;
/**
* This object holds all the information about ... |
using System.ComponentModel.DataAnnotations.Schema;
namespace SC.Models
{
[Table("UserShoppingCart")]
public class ShoppingCart
{
public int UserId { get; set; }
public int ProductId { get; set; }
public User User { get; set; }
public Product Product { get; set; }
p... |
using System.Web.UI;
namespace mssngrrr
{
public partial class Main : MasterPage
{
}
} |
namespace WindowsFA
{
using System;
/// <summary>
/// Summary description for MoveInfo.
/// </summary>
public class MoveInfo
{
public double fxMove; // Fraction to move at each compass point:X
public double fyMove; // Y
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
public class PlayerController : MonoBehaviour
{
private Transform playertf;
[Range(0.0f, 10.0f)] public float walkingspeed = 1.0f;
[Range(0.0f, 10.0f)] public float strafingspeed = 0.4f;
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TodoApp.Models;
namespace TodoApp.Data
{
public class Connection : DbContext
{
public Connection(DbContextOptions<Connection> options)
: base(options)... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClaimDi.DataAccess.Entity
{
public class MappingCarTaskBike
{
public Guid Id { ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DraggableBoxScript : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.tag == "Player")
{
GetComponent<Rigidbody2D>().mass = 100;
}
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class AdminHome : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventAr... |
namespace MyWebServer.Enums
{
public enum HeaderType
{
HttpRequiest,HttpResponse
}
} |
using UnityEngine;
using System.Collections;
using CSSynth.Midi;
using System.Collections.Generic;
public class MidiParser : MonoBehaviour {
/// <summary>
/// Parse notes from midi data, combine all note event in specified tracks into one array
/// </summary>
/// <param name="midiData">Raw midi data</... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SimpleTaskListSPA.Data;
using SimpleTaskListSPA.Data.DTO;
using SimpleTaskListSPA.Models;
using SimpleTaskListSPA.Models.Repo;
namespace SimpleTaskListSPA.Controllers
{
public cla... |
using System;
using System.Net;
using System.Reflection;
namespace GFPApiExamples.ApiTesters
{
public class PhotosApiTester : ApiTester
{
public int GetPhoto(int photoId)
{
try
{
var request = (HttpWebRequest)WebRequest.Create(GetUrl("Photos/" + photoId)... |
using System.Collections.Generic;
using System.Globalization;
namespace Eda.Integrations.Delivery.SpsrExpress
{
public class SpsrExpressDeliveryServiceFactory : IDeliveryServiceFactory
{
public IAddress NewAddress(string postalCode, IStreet street, string building, IContact contact, string note)
... |
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 GUI_Currency_Converter
{
public partial class CurrencyConverter : Form
{
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireSwordAttackFx : SwordAttackFx
{
}
|
namespace PFRCenterGlobal.Models
{
public class SessionModel
{
public string Id { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Script that holds project path for image/prefab
/// </summary>
public class UILocation : MonoBehaviour {
// Images
public static readonly string _large_color_maps = "Genuage/Unity/Textures/ColorMaps/large/";
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CoreTest1.Models.MyViewModel
{
public class PositionData
{
public int EmployeeID { get; set; }
public bool Assigned { get; set; }
public string Name { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace RctByTN.Model
{
public abstract class ParkElement
{
protected Int32 x;
protected Int32 y;
protected Int32 buildCost;
protected Int32 maintainCost;
protected Int32 areaSize;
protected El... |
using System;
using System.Security.Cryptography;
using System.Net;
using System.Web.Mvc;
using Modelos;
using Servicos;
using System.Web.Security;
using System.Text;
using System.IO;
namespace WEBTeste.Controllers
{
public class UsuarioController : Controller
{
UsuarioServico serv = new UsuarioServic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/*
HorzBar
+----------+
VertBar
|
|
|
|
|
Frame
+------+
|
|
|
+------+
Ladder
+------+
|
|
|
+------+
|
|
|
+------+
|
|
|
+------+
*/
namespace Bars
{
class Program
{
static void M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebApplication1.Models;
using WebGrease.Css.Extensions;
namespace WebApplication1.Controllers
{
public class CouponsController : ApiController
{
// GET: api/Coupons
publ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.