text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TP1
{
class Program
{
static void Main(string[] args)
{
var formes = new List<Forme>();
formes.Add(new Cercle { Rayon = 3 });
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace TrashCollectorV2.Data.Migrations
{
public partial class ChangedDisplayNamesAndPickupDayType : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "A... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
using System;
using System.Collections.Generic;
using Nomad.Core;
using Vortex.Pooler.Utility;
namespace Vortex.Pooler.Kernels
{
public class Max : BasePooler
{
public Max(int strideRow = 1, int strideCol = 1, int padSizeRow = 1, int padSizeC... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Text;
using ELearning.Model;
using ELearning.Utility;
using Microsoft.Extensions.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLi... |
using System.Collections;
using System.IO;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using XLua;
[LuaCallCSharp]
public class ABMgr : MonoBehaviour
{
public Text LoadState;
public GameObject UiCanvas;
private AssetBundleCreateRequest _createR... |
namespace Krafteq.ElsterModel.Common
{
using LanguageExt;
public class ContactInfo
{
public static readonly ContactInfo Empty = new ContactInfo(Prelude.None, Prelude.None);
public Option<Phone> Phone { get; }
public Option<Email> Email { get; }
public ContactInfo(Option<Pho... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BaseItem : MonoBehaviour, BaseCharacter
{
private string _description;
private string _itemName;
private List<Sprite> _itemImages;
private ThingType _itemThingType;
private ThingInfo _thingInfo;
publi... |
namespace OddOccurrences
{
using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
public static void Main()
{
var words = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartSystem
{
public class PromoAction : SimpleDbEntity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TBQuestGame.Models
{
class WaterBottle : GameItem
{
public int HealthChange { get; set; }
public WaterBottle(int id, string name, int value, int healthchange, string d... |
using EntityFrameworkCore.BootKit;
using Quickflow.Core.Entities;
using Quickflow.Core.Interfacess;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Quickflow.Core.Activities
{
public class EmitCommandActivity : EssentialActivity, IWorkflowActivity
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using SimpleJSON;
public class BattlePeta : MonoBehaviour {
public Button StartButton;
public GameObject ValidationError,trouble;
public Image[] GhostImage;
public Text[] DropText;
public string NodeID;
// public JSON... |
using gView.Framework.Globalisation;
using gView.Framework.IO;
using gView.Framework.OGC.UI;
using gView.Framework.system;
using gView.Framework.system.UI;
using gView.Framework.UI;
using gView.Interoperability.OGC.Dataset.WMS;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace gView.Interoperabi... |
namespace WinAppDriver.Handlers
{
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Input;
using WinAppDriver.UI;
[Route("POST", "/session/:sessionId/element/:id/click")]
internal class ClickElementHandler : IHandler
{
private static ILogger logg... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Xrm.Client;
using Microsoft.Crm.Sdk.Messages;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;
using Microsoft.X... |
namespace com.Sconit.Service.SI
{
public interface ILeanEngineMgr
{
void RunLeanEngine();
void RunJIT_EX();
}
}
|
using System;
using Microsoft.WindowsAzure.StorageClient;
namespace TwiBo.Components.Model
{
public class User : TableServiceEntity
{
public const string TableName = "User";
public static string GetPartitionKey()
{
return "User";
}
public static string Ge... |
using Alabo.Domains.Entities.Extensions;
namespace Alabo.Industry.Shop.Orders.Domain.Entities.Extensions
{
/// <summary>
/// 订单留言
/// </summary>
public class OrderMessage : EntityExtension
{
/// <summary>
/// 买家留言
/// </summary>
/// <value>
/// T... |
using HeBoGuoShi.DBModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HeBoGuoShi.Models.ProductViewModels
{
public class OwnerProductViewModel
{
public OwnerProductViewModel() { }
public OwnerProductViewModel(OwnerProduct dbModel)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Pokemon_Internal_Blades_CSharp.Items
{
/// <summary>
/// KeyItem class: Subclass of Item class
/// </summary>
public class KeyItem : Item
{
/// <summary>
/// KeyI... |
namespace Needle.Demystify
{
/// <summary>
/// Add a marker to stacktraces for highlighting in console ignoring everything before
/// </summary>
internal static class StacktraceMarkerUtil
{
public const string Marker = "";
public static void AddMarker(ref string stacktrace)
{
stacktrace = Marker + st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EventCalendar.Models
{
public class Event
{
public int? Id { get; set; }
public string Title { get; set; }
public DateTime StartDttm { get; set; }
public DateTime EndDttm { get; set; ... |
using Anywhere2Go.DataAccess;
using Anywhere2Go.DataAccess.Entity;
using Anywhere2Go.DataAccess.Object;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Anywhere2Go.Library;
using Anywhere2Go.Business.Utility;
namespace Anywhere2Go.Business.Mast... |
using UnityEngine;
public class AndroidTouch : MonoBehaviour
{
new Rigidbody2D rigidbody;
private float jumpForce = 8.0F;
private void Start()
{
rigidbody = GetComponent<Rigidbody2D>();
}
void Update()
{
if(Input.touchCount > 0)
{
rigidbody.velocity = Ve... |
using OpenQA.Selenium;
using WebDriverOnCore.TestUntillities;
using WebDriverOnCore.WebDriver;
namespace WebDriverOnCore.PageElements.ScoreBoardPage
{
public class ScoreBoardElements
{
public IWebElement TornamentDropDown =>
SeleniumExtension.WaitUntilElementExists(
By.Css... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OE.Service.Commands.Database
{
public class ExecuteSqlCommand : ICommand
{
public override int Execute(string[] args)
{
if (args =... |
using System;
using System.Globalization;
using System.Windows.Data;
namespace Appnotics.Library.UI.Converters
{
/// <summary>
/// Converts ".5" in a string to "1/2"
/// </summary>
public class DecimalToFractionConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter,... |
using Environment;
using UnityEngine;
namespace View.Dungeons
{
public class RoomView : MonoBehaviour
{
public GameObject[] Doors;
public GameObject[] Walls;
public GameObject StartRoom;
public GameObject EndRoom;
public SpriteRenderer Fog;
private Color fogColor = Color.black;
public void InitView... |
using Pe.Stracon.SGC.Presentacion.Core.Reporte;
using Pe.Stracon.SGC.Presentacion.Core.ViewModel.Base;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Pe.Stracon.SGC.Presentacion.Areas.Base... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;
namespace DAO
{
public class AbstractDAO
{
private static string chuoiKetNoi = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=TimKiemDichVu_DB.accdb";
protected static ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAPGeneralGateway.Entities
{
public class TEntityDBConnection
{
public string DBType { get; set; }
public string ConnectionString { get; set; }
public bool Encrypt { get; set; }
... |
using UnityEngine;
using System.Reflection;
using Rainbow.FutileOverhaul;
using Rainbow.CreatureOverhaul;
using System.Collections.Generic;
namespace Rainbow
{
public class RainbowScript : MonoBehaviour
{
public static RainbowMod mod;
public static int slot
{
get { return p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace EasyDev.Util
{
/// <summary>
///
/// </summary>
public class TypeUtil
{
/// <summary>
///
//... |
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.Data.SqlClient;
namespace PROG1_PROYECTO_FINAL
{
public partial class P_Child_Entradas ... |
namespace ByteClubGroupTicketSystem.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddedOption : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Options",
c => new
{
... |
using WitsmlExplorer.Api.Jobs.Common;
namespace WitsmlExplorer.Api.Jobs
{
public class TrimLogDataJob
{
public LogReference LogObject { get; set; }
public string StartIndex { get; set; }
public string EndIndex { get; set; }
}
}
|
using System.Collections.Generic;
namespace NStandard.Trees
{
public interface IBinaryTree<TNode, TModel> where TNode : class, IBinaryTree<TNode, TModel>
{
TModel Model { get; set; }
TNode Parent { get; }
TNode LeftNode { get; set; }
TNode RightNode { get; set; }
}
pu... |
using FBS.Domain.Booking.Aggregates;
using FBS.Domain.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace FBS.Domain.Booking.Queries
{
public class GetAllFlightsQuery : IQuery<IEnumerable<FlightAggregate>>
{
}
} |
using AsNum.XFControls;
using AsNum.XFControls.iOS;
using System;
using System.ComponentModel;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(FontIcon), typeof(FontIconRender))]
namespace AsNum.XFControls.iOS {
public class FontIconRender : ViewRenderer<FontIc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.IO;
public partial class qydlleft : System.Web.UI.Page
{
//SQLServer数据库对象
SqlServe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class timerImage : MonoBehaviour {
public float MaxTime;
public float CurrentTime;
public float IncreaseT = 1f;
[SerializeField] GameObject gameOver;
[SerializeField] GameObject gameWin;
[SerializeField]... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.InteropServices;
using System.Web;
namespace PicBook.Models
{
public class UploadModels
{
[Required]
[Display(Name = "Photo")]
public byte[] Photo { get;... |
using System;
using System.Collections.Generic;
using TY.SPIMS.Entities;
using TY.SPIMS.Utilities;
namespace TY.SPIMS.Controllers.Interfaces
{
public interface IAutoPartController
{
bool AutoPartHasDetails(int id);
bool AutoPartHasSalesOrPurchases(int id);
void DeleteAllAutoPart(int id... |
using MyBlog.WebApi.Framework.DTOs;
namespace MyBlog.WebApi.DTOs.Blogs
{
public class BlogCommentForCreationDto : BaseRequestDto
{
public int BlogPostId { get; set; }
public int CustomerId { get; set; }
public string CommentText { get; set; }
}
}
|
using DFC.ServiceTaxonomy.GraphVisualiser.Models;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.DisplayManagement.ModelBinding;
using OrchardCore.DisplayManagement.Views;
namespace DFC.ServiceTaxonomy.GraphVisualiser.Drivers
{
public class Conte... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Xml.XPath;
namespace ESBHelper
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sende... |
using UnityEngine;
using System.Collections;
public class lvl3Door : MonoBehaviour {
public int waitTime;
void OnMouseDown()
{
if (iManager.equiped) { // if an item is equiped, check if it is the correct item
if (iManager.equipedItem.tag == "key") { // if the key is equiped
openDoor ();
}
}
}
... |
using AbstractFactoryPattern.Abstractions;
namespace AbstractFactoryPattern.Ingredients
{
public class ThickCrustDough: IDough
{
public string Name { get; } = "Thick Crust Dough";
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using System.Reflection;
using System.Threading;
using DevExpress.XtraEditors;
using IRAP.Global;
using IRAP.Client.Use... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Threading.Tasks;
namespace Schmidt.Template.Data.Abstraction
{
public abstract class RepositoryBase<TEntity>
where TEntity : class
{
protected readonly DbContext Context;
protected DbSet<TEntity> Entity { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GestorDeFlotasDesktop.ListaErrores
{
public partial class ListaErrores : Form
{
public ListaErr... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace V50_IDOMBackOffice.AspxArea.MasterData.Forms
{
public partial class SiteGalleryView : System.Web.UI.Page
{
string sitecode;
stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Text.RegularExpressions;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlC... |
using System;
namespace Kuromori
{
public enum AccountType
{
Participant,
Organizer
}
}
|
using System;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Base;
namespace Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual
{
/// <summary>
/// Representa los datos del Proveedor Oracle
/// </summary>
/// <remarks>
/// Creación: GMD 20150602 <br />
/// Modificación: ... |
using ParPorApp.Models;
using ParPorApp.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ParPorApp.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class A... |
using BradescoPGP.Repositorio;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BradescoPGP.Web.Models
{
public class TedUsuarioModel
{
public Usuario Usuario { get; set; }
public TED TED { get; set; }
}
} |
class CreditCard
{
private string firstname = string.Empty;
private string lastname = string.Empty;
private DateTime expirationDate = new DateTime();
protected int monthlyCost = 0;
private Persistence persistence;
private CreditCard(string firstname, string lastname, DateTime expirationDate, int monthlyCost, P... |
using Microsoft.EntityFrameworkCore;
using TalebiAPI.Domain;
namespace Bidar.WebAPI.Domain
{
public class SqLiteDbContext : DemoDbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder options) =>
options.UseSqlite("Data Source=.\\sqlitedemo.db");
}
} |
using UnityEngine;
using System.Collections;
public class Follow2 : MonoBehaviour {
private GameObject player;
public GameObject enemy;
private bool playerInArea;
public float speed;
void Update(){
player = GameObject.FindWithTag("Player");
float step = speed * Time.deltaTime;
gameObject.GetComponent<An... |
namespace UnityAtoms
{
/// <summary>
/// Interface for getting a value.
/// </summary>
public interface IGetValue<T>
{
T GetValue();
}
} |
using System.Web;
using System.Web.Optimization;
namespace Flipboard
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptB... |
using System;
using System.Linq;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Zitadel.Authorization;
namespace Zitadel.Spa.Dev.Controller
{
[Route("authed")]
public class AuthorizedApi : ControllerBase
{
[HttpGet("jwt")]
[Aut... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SolidPrinciples
{
interface IUserAuthentication
{
bool Signup(string username, string password, string email);
bool Signin(string username, string password);... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovingComponent : MonoBehaviour, IAggregatedComponent
{
[SerializeField] private float BaseMovingSpeed = 1f;
[SerializeField] private float MinMovingSpeed = 1f;
[SerializeField] private float MaxMovingSpeed = 1f;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnCredit : MonoBehaviour {
public List<Transform> creditPoints;
public void Spawn()
{
var rand = Random.Range(0, creditPoints.Count);
Instantiate(GameManager.instance.credit, creditPoints[rand]);
}
}
|
using ContosoUniversity.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace ContosoUniversity.ViewModels
{
public class StudentVM
{
#region PersonCS
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Telekocsi
{
class Igény
{
public string Azonosító { get; set; }
public string Indulás { get; set; }
public string Cél { get; set; }
public int Személyek... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ServiceQuotes.Domain.Entities;
using System;
namespace ServiceQuotes.Infrastructure.Context.EntityConfigurations
{
public class EmployeeEntityConfiguration : IEntityTypeConfiguration<Employee>
{
public voi... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApp9CronScheduledBackgroudService.Server.BGService.Repository;
namespace WebApp9CronScheduledBackgroudService.Server.BGService
{
public interface IPromotionService
{
Task<IQueryable<Promotions>> GetPromotions()... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CloudMaker : MonoBehaviour
{
[SerializeField]
private Transform spawnPosit1;
[SerializeField]
private Transform spawnPosit2;
[SerializeField]
private Cloud CloudPrefab;
private ObjectPool<Cloud> ... |
using System;
using Entity;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
namespace Datos
{
public class PacienteRepository
{
private readonly SqlConnection _connection;
private readonly List<Paciente> _pacientes = new List<Paciente>();
public Pacient... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
namespace Pe.Stracon.SGC.Infraestructura.CommandModel.Mapping.Contractual
{
/// <summary>
/// Implementación del mapeo de la entidad Contrato Parrafo Variable
/// </summary>
/// <rema... |
using UnityEngine;
namespace Project.Testing
{
public class Interactable : MonoBehaviour
{
public bool active = true;
public bool Active { get { return active; } set { active = value; } }
public virtual void Touch() { }
public virtual void Use(Item item)
{
... |
using System;
namespace ProjectEulerProblems
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Problem2.SumOfEvenFibonacciNumbers(4000000));
Console.ReadLine();
}
}
}
|
using Carmotub.ViewModel;
using Carmotub.Views.Controls;
using System;
using System.Windows;
using System.Windows.Controls;
using Carmotub.Views;
using System.Configuration;
using System.IO;
using System.Data;
namespace Carmotub
{
public partial class MainWindow : Window
{
StreamWriter OutputStream;
... |
using BorderControl.Interfaces;
using BorderControl.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BorderControl
{
public class StartUp
{
public static void Main()
{
IList<IIdentifiable> detained = new List<IIdentifiable>();
var in... |
using System;
using ApplicationServices.Exception;
using DomainModel.Entity.AmountClasses;
using DomainModel.Entity.PaymentProducts;
namespace ApplicationServices.Command
{
public class FinalizePaymentCommnad:CommandBase
{
public Amount Cash{ get; set; }
public Amount PrePayment{ get; set; }
... |
namespace JunimoIntelliBox
{
using Microsoft.Xna.Framework;
using StardewValley;
using StardewValley.Objects;
using System.Collections.Generic;
using System.Linq;
public class Utility
{
public static IEnumerable<Vector2> GetSurroundingTiles(Vector2 tileLocation)
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DPI.Interfaces
{
/* This is the managin interface for factories
Here are specified what the concrete class should do
The concrete class should implement also the basic core rules
to manage factories
*/
public in... |
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Net;
using Debug = UnityEngine.Debug;
public class Tool : MonoBehaviour
{
/***********************************************... |
using System.Data.Entity;
namespace MobilePhones.DataAccess
{
public class MobilePhonesInitialize : DropCreateDatabaseIfModelChanges<MobilePhonesContext>
{
protected override void Seed(MobilePhonesContext context)
{
MobilePhonesSeed.Manufacturers.ForEach(m => context.Manufacturers.... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace NewsletterSignUp
{
public class Helpers
{
public static SignUp SignUp(string conn, string firstName, string surName, string email... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Moq;
using Witsml;
using Witsml.Data;
using WitsmlExplorer.Api.Jobs;
using WitsmlExplorer.Api.Models;
using WitsmlExplorer.Api.Services;
using WitsmlExplorer.Api.Workers;
using Xunit;
namespace WitsmlExplorer.Api.Tes... |
using DocumentManagement.Common;
using Model.DAO;
using Model.EF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Model.Models;
namespace DocumentManagement.Areas.Admin.Controllers
{
public class UserController : BaseController
{
// GET:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GraphicalEditor.DTO.EventSourcingDTO;
namespace GraphicalEditor.Service
{
class EventSourcingService : GenericHTTPService
{
public void AddRoomSelectionEvent(RoomSelectionEventDTO ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LowFPSFollowScript : MonoBehaviour {
public GameObject Target;
public float FPS = 12f;
private float timer = -1f;
void LateUpdate() {
transform.position = Target.transform.position;
if(timer < 0){... |
using System.Collections.Generic;
namespace LogFile.Generator.Core
{
public class UserConfig
{
public Dictionary<string, int> Methods { get; set; }
public Dictionary<string, int> Protocols { get; set; }
public Dictionary<string, int> Codes { get; set; }
public Dictionary<string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DigitalFormsSteamLeak.Repository;
using DigitalFormsSteamLeak.Entity.Models;
namespace DigitalFormsSteamLeak.Business
{
public class LocationDepartmentFactory : ILeakFactory<LocationDepartment... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Numerics;
namespace _1Sequence_CS
{
public class Program
{
BigInteger Mod(BigInteger x)
{
return x % 1000000007;
}
BigInteger DoSomething(string s)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityStandardAssets.CrossPlatformInput
{
public class AudioControl : MonoBehaviour
{
public EnemyCount enemyCount;
public GameObject[] bgm;
public Material[] _material;
public Gam... |
using System.Collections.Generic;
namespace Coding.Kata01.Library
{
public class Book
{
public string Title { get; set; }
public string Author { get; set; }
public string Isbn { get; set; }
public List<string> Categories { get; set; }
public Book()
{
... |
namespace ReactiveFileUpdater.Model
{
public enum CheckType
{
Polling,
Watching
}
public class UpdateQueueItem
{
public UpdateQueueItem(TargetFile targetFile, CheckType checkType)
{
TargetFile = targetFile;
CheckType = checkType;
}
public TargetFile TargetFile { get; }
public CheckType Check... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HashProduct.Domain.Models
{
public class Product
{
public string Id { get; set; }
public float PriceInCents { get; set; }
public string Title { get; set; }
public string Description { get; set; }
... |
using Allyn.Domain.Models.Basic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Allyn.Domain.Service
{
/// <summary>
/// 表示菜单领域服务
/// </summary>
public interface IMenuDmService
{
/// <summary>
/// 根据用户标识... |
using Motherload.Enums;
using System.Collections.Generic;
namespace Motherload.Models
{
/// <summary>
/// Representa uma camada
/// </summary>
public class Layer
{
/// <summary>
/// Nome da camada
/// </summary>
public string Title { get; set; }
/// <summar... |
using DAL;
using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BUS
{
public class playerBus
{
playerDal bus;
public playerBus()
{
bus = new playerDal();
}
public List<eP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CapaDatos;
using System.Data;
using CapaEntidades;
namespace CapaNegocio
{
public class ProductoBL : Interfaces.iProducto
{
Datos datos = new DatosSQL();
private String mensaje;
public String M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using POSServices.Models;
using POSServices.WebAPIModel;
using System.Security.Claims;
using Micr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.