text stringlengths 13 6.01M |
|---|
using Cafe.API.Models.Entities;
using Cafe.API.Models.Repository;
using Cafe.API.Static;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Cafe.API.ThirdLaba
{
public... |
<Query Kind="Expression">
<Connection>
<ID>e076134a-52b5-423d-8e02-29a44a57cdc8</ID>
<Persist>true</Persist>
<Server>.</Server>
<Database>WestWind</Database>
</Connection>
</Query>
from cat in Categories //removed context. for Linq
select new // ProductCategory
{
CategoryName = cat.CategoryName,
... |
using System;
namespace ServicesSite.Domain
{
public class ConnectionString
{
public string PruebaConnection { get; set; }
}
}
|
using System.Security.Claims;
using HotelBooking.ViewModels;
namespace HotelBooking.ModelBuilders.Abstract {
public interface IRoomModelBuilder {
RoomViewModel Build(int id, ClaimsPrincipal userLoged, string checkInDate, string checkOutDate);
}
}
|
namespace FarmAutomation.Common
{
public enum ItemQuality
{
Low = 0,
Medium = 1,
High = 2
}
} |
namespace DistCWebSite.Core.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public partial class CC_SurveyTroubleshootingSummary
{
public int ID { get; set; }
[StringLen... |
namespace Olive.Desktop.WPF.ViewModels
{
using System;
using System.Linq;
using Olive.Data;
using System.Collections.ObjectModel;
using System.Windows.Input;
using Olive.Desktop.WPF.Behavior;
using Olive.Desktop.WPF.Helpers;
public class CategoriesListViewModel : ViewModelBase,IPageVie... |
using System.ComponentModel.DataAnnotations;
using TRex.Metadata;
namespace IoTHubAPIApp.Models
{
public class IoTHubRegisterWrapper
{
[Metadata("Connection String", "IoT hub connection string.")]
[Required(AllowEmptyStrings = false)]
public string ConnectionString { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using SoldierKindEnum;
using PlayerSignOnBoardEnum;
namespace PlayerSoldier
{
public class Soldier
{
private Point m_SoldierPoint;
private eSoldierKind m_SoldierKind = eSoldierKind.MAN;
pri... |
using UnityEngine;
using Newtonsoft.Json;
[JsonObject(MemberSerialization.Fields)]
public class DebugCommand : Command
{
public void Do()
{
Debug.Log("<< Debug >>");
}
public override string ToString()
{
return "[DebugCommand]";
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace mec.Enums
{
public enum ModifyFlagEnum
{
Insert = 0,
Update = 1,
Delete = 9
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EmrEditor
{
interface IDataManagemet
{
void ExportHtml();
string ExportToString();
}
}
|
using System;
using System.IO;
namespace ClassLibrary
{
/// <summary>
/// Описывает сотрудника организации.
/// </summary>
public class Employee : Named
{
/// <summary>
/// Хранит заголовок для текстового представления сотрудника.
/// </summary>
public static readon... |
using UnityEngine;
using System.Collections;
public class HitManager : MonoBehaviour
{
public int Points = 10;
public EffectsTrigger audioPlayer;
void OnTriggerEnter(Collider other)
{
ScoreManager.Score += this.Points;
this.audioPlayer.Run();
Destroy(this.gameObject.trans... |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using cyrka.api.common.queries;
using MongoDB.Driver;
namespace cyrka.api.infra.stores.queries
{
public class MongoQueryStore : IQueryStore
{
public MongoQueryStore(IMongoDatabase mongoDatabase)
{
_mDb = mongoDatabas... |
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 LibraryManagementSystem
{
public partial class return_book : ... |
using System.Data.Entity.ModelConfiguration;
namespace GenRepo.Client.Model.Mappings
{
public class ProductEntityConfiguration : EntityTypeConfiguration<Product>
{
public ProductEntityConfiguration()
{
HasKey(e => e.Id).Property(e => e.Id).HasColumnName("ProductId");
Pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class experienceBar : MonoBehaviour
{
private int experience;
private RectTransform slider;
// Start is called before the first frame update
void Start()
{
slider = GetComponent<RectTransform>();
experien... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kingdee.CAPP.DAL;
using System.Data;
using Kingdee.CAPP.Common.ModuleHelper;
using Kingdee.CAPP.Model;
namespace Kingdee.CAPP.BLL
{
/// <summary>
/// 类型说明:SQL Server操作类BLL
/// 作 者:jason.tang
/// 完成时间:2013-03... |
using System;
using Csla;
namespace ClassLibrary1
{
[Serializable]
public class Class1 : BusinessBase<Class1>
{
public static readonly PropertyInfo<string> NameProperty = RegisterProperty<string>(c => c.Name);
public string Name
{
get { return GetProperty(NameProperty); }
set { SetProperty(NameProperty... |
namespace Core.Models
{
public class BaseModel
{
public SeoModel Seo { get; set; } = new SeoModel();
public FooterModel Footer { get; set; } = new FooterModel();
}
} |
//Travis Kroll
//9-26-19
//This will take user inputs and calculate the population of foxes and rabits for a specific year in the future
using System;
class FoxesAndRabbits {
public static void Main (string[] args) {
double Foxes,Rabbits,Year,FutureYear,B_Fox,B_Rab,D_Fox,D_Rab,RabbitsForYear,FoxesForYear,Curre... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using 北京工艺文件管理MVC.Database;
namespace WebApplication2.View.工艺文件管理
{
/// <summary>
/// upload 的摘要说明
/// </summary>
public class upload : IHttpHandler, IRequiresSessionSt... |
/*
// Definition for a Node.
public class Node {
public int val;
public IList<Node> neighbors;
public Node() {
val = 0;
neighbors = new List<Node>();
}
public Node(int _val) {
val = _val;
neighbors = new List<Node>();
}
public Node(int _val, List<Node> _nei... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Integer.Domain.Paroquia;
using Integer.Web.Infra.AutoMapper;
using Integer.Web.ViewModels;
using Integer.Web.Infra.Raven;
namespace Integer.Web.Controllers
{
public class ParoquiaController : Controlle... |
using System;
using System.Collections.Generic;
using System.Linq;
using ILogging;
using ServiceDeskSVC.DataAccess;
using ServiceDeskSVC.DataAccess.Models;
using ServiceDeskSVC.Domain.Entities.ViewModels.HelpDesk.Tickets;
namespace ServiceDeskSVC.Managers.Managers
{
public class HelpDeskTicketDocumentManager:... |
using UnityEngine;
using System.Collections;
public class InputManager : MonoBehaviour {
public float force = 1.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
{
if (Input.GetKey(KeyCode.UpArrow))
{
rigidbody.AddForce(new Vector3(0f,0f,this.for... |
using System;
using System.Collections.Generic;
using System.Linq;
using alg;
/*
* tags: disjoint set
* Time(n^2), Space(n)
* let G is the graph removed all malware nodes.
* if a disjoint set of nodes in G is infected by only one malware node, then that malware node is a candidate to remove.
*/
namespace leetc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02_Game_of_Names
{
public class _02_Game_of_Names
{
public static void Main()
{
var n = int.Parse(Console.ReadLine());
var winnerName = "";
... |
using Controller.ExaminationAndPatientCard;
using Controller.UsersAndWorkingTime;
using Model.Doctor;
using Model.Users;
using Syncfusion.XPS;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Input;
using ZdravoKorporacija.DTO;
namespace ZdravoKorporacija
{
/// <summary>
/// Intera... |
using System;
using System.Collections.Generic;
namespace AuctionMaster.App.Model
{
public partial class ScheduledTaskType
{
public ScheduledTaskType()
{
ScheduledTask = new HashSet<ScheduledTask>();
}
public int Id { get; set; }
public string Name { get; s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelSelector : MonoBehaviour
{
public SceneFader m_Fader;
public void SelectLevel(string levelName)
{
m_Fader.FadeTo (levelName);
}
}
|
using System;
using System.Net.Http;
using Microsoft.Extensions.Logging;
using SFA.DAS.Authorization.CommitmentPermissions.Client;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Api.Client.Configuration;
using SFA.DAS.CommitmentsV2.Api.Client.Http;
using SFA.DAS.Http;
namespace SFA.DAS.ProviderCo... |
using DataModel.Models;
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 Syste... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.ContentItemVersions;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Results.AllowSync;
using DFC.ServiceTax... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public static class Utils
{
// Source: https://stackoverflow.com/questions/33643104/shuffling-a-stackt
public static void Shuffle<T>(this Queue<T> queue)
{
var values = queue.ToArray();
queue.Clear... |
using System.Web.Mvc;
using System.Web;
using System.Web.Routing;
namespace UpravljanjeCekanjem
{
public class CustomAuthorize : AuthorizeAttribute
{
protected override void HandleUnauthorizedRequest(AuthorizationContext filterContext)
{
if (!filterContext.HttpContext.User.Identity... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Tkhm1_Gm2_Egg_Original : MonoBehaviour {
public AudioSource audioSource;
public AudioClip audioClipRightAnswer;
//hazf fake az safhe
public Image Img_Egg_Original_ForGround;
public GameObject GOb... |
namespace RobotService.Models.Procedures
{
using RobotService.Models.Procedures.Contracts;
using RobotService.Models.Robots;
using RobotService.Models.Robots.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
public abstract class Procedure : IProcedure
{
... |
using UnityEngine;
using System.Collections.Generic;
namespace Ardunity
{
[AddComponentMenu("ARDUnity/Bridge/Input/ToggleInput")]
[HelpURL("https://sites.google.com/site/ardunitydoc/references/bridge/toggleinput")]
public class ToggleInput : ArdunityBridge, IWireInput<bool>
{
public CheckEdge checkEdge = C... |
using System.Collections.Generic;
using Alabo.UI;
using MongoDB.Bson;
namespace Alabo.Framework.Basic.PostRoles.Dtos
{
/// <summary>
/// 权限输入模型
/// </summary>
public class RoleOuput
{
/// <summary>
/// 管理员后台菜单
/// </summary>
public List<ThemeOneMenu> Menus {... |
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Reflection;
using System.Threading;
using DMWeb_REST_Admin;
using DMWeb_REST_Admin.Models;
namespace DMWeb_REST_Admin_Unit_Tests
{
public class AccountContext
{
public static DMAdmin admin = n... |
using System;
using DateCalculator;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DateCalculatorTests
{
[TestClass]
public class DateCalculatorTests
{
[TestMethod]
public void HasCorrectPreviousWorkingdayDateZaEaster()
{
DateCalculator.DateCalculator dat... |
using UnityEngine;
using System.Collections;
public struct DialogueStruct
{
public DialogueStruct(string _name, string _line, string _art, bool _allignmentRight)
{
name = _name;
line = _line;
art = _art;
allignmentRight = _allignmentRight;
}
public string name;
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Strategy
{
abstract class GuardarComo
{
public abstract void Guardar(string texto);
}
}
|
//using System;using Alabo.Domains.Repositories.EFCore;using Alabo.Domains.Repositories.Model;
using System.Linq;
using Alabo.Data.People.Employes.Domain.Entities;
using Alabo.Domains.Repositories.Model;
using Alabo.Extensions;
using Alabo.Framework.Basic.PostRoles.Domain.Entities;
using Alabo.Framework.Core.Reflecti... |
namespace NetSix.Errors.Exceptions;
public abstract class ServiceException : Exception
{
public abstract int HttpStatusCode { get; }
public abstract string ErrorMessage { get; }
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using TestHouse.Application.Extensions;
using TestHouse.Application.Services;
using TestHouse.DTOs.DTOs;
using TestHouse.DTOs.Models;
namespace TestHouse.We... |
using System.Collections;
using UnityEngine;
[System.Serializable]
public class Questionnn
{
public string fact;
public bool isTrue;
public GameObject obj;
}
|
using System;
namespace Faker.ValueGenerator
{
public interface IGenerator
{
Type GenerateType { get; }
}
} |
using System;
namespace BlazorShared.Models.Doctor
{
public class DeleteDoctorResponse : BaseResponse
{
public DeleteDoctorResponse(Guid correlationId) : base(correlationId)
{
}
public DeleteDoctorResponse()
{
}
}
} |
using AbiokaScrum.Api.Helper;
namespace AbiokaScrum.Api.Entities
{
public class User : IdAndNameEntity
{
public string Email { get; set; }
public string ProviderToken { get; set; }
public AuthProvider AuthProvider { get; set; }
public string Token { get; set; }
pu... |
using Autofac;
using EmberKernel.Plugins.Components;
using EmberKernel.Services.Statistic;
using SimpleHttpServer.Pipeline;
using SimpleHttpServer.Response;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Statistic.Outputs.Web.Components.Routers
{
public class FormatRouter : IComponent
... |
// 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 FiiiChain.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.Messages
{
pu... |
global using System.Collections;
global using System.Diagnostics.CodeAnalysis;
global using System.Globalization;
global using System.Reflection;
global using System.Reflection.Emit;
global using System.Text;
global using System.Text.RegularExpressions;
global using Serilog.Capturing;
global using Serilog.Configuration... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CashRegister : MonoBehaviour
{
public Text ClientName;
public Text ClientDiscount;
public GameObject RegisterList;
public GameObject ListItemSource;
public Text TotalTax;
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Camera_Update: MonoBehaviour
{
private GameObject player;
[Tooltip("Pressing up or down makes the camera move in that direction! Useful if you want to stop and look around.")]
public float yLookDistance = 1f;
... |
public class Mission {
public MissionType type { get; private set; }
public bool succeeded { get; private set; }
public float time { get; private set; }
public int hits { get; private set; }
public Mission(MissionType type, bool succeeded, float time) {
this.type = type;
this.succeeded = succeeded;... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Core.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Infraestructura.Core.CommandContract.Contractual
{
/// <summar... |
namespace Sfa.Poc.ResultsAndCertification.CsvHelper.Models
{
public class ProviderDetails
{
public int Id { get; set; }
public long Ukprn { get; set; }
public string Name { get; set; }
public string DisplayName { get; set; }
public bool IsTLevelProvider { get; set; }
... |
using _7DRL_2021.Events;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Behaviors
{
class BehaviorMovable : Behavior
{
public Curio Curio;
public Func<Vector2> VisualPositio... |
using MyPhoneBook;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class CategoryController : Controller
{
// GET: CategoryViev
public ActionResult Index()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NotSoSmartSaverAPI.DTO.BudgetDTO
{
public class SingleBudgetDTO
{
public string category { get; set; }
public float? limit { get; set; }
}
}
|
using System.Reflection;
using Harmony;
using StardewModdingAPI;
namespace WindowResize {
/// <summary>The mod entry point.</summary>
public class ModEntry : Mod {
/*********
** Public methods
*********/
/// <summary>The mod entry point, called after the mod is first loaded.</summary>
/// <par... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UserBase.Entities
{
[Serializable]
public class AwardDTO
{
public int ID { get; set; }
public string Title { get; set; }
public AwardDTO()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Data.SqlClient;
using System.Text;
using System;
using UnityEngine.UI;
public class AzureConnection : MonoBehaviour
{
SqlConnectionStringBuilder builder;
SqlConnection connection;
SqlCommand command;
SqlDataRea... |
namespace Cafe.API.Models.SortingParams
{
public enum DirectionSort
{
Ascending = 0,
Descending = 1,
None = 2
}
}
|
// See https://aka.ms/new-console-template for more information
using System.Collections;
public interface ICrossoverStrategy
{
System.Collections.BitArray Crossover(
System.Collections.BitArray parent1,
System.Collections.BitArray parent2);
}
//Essa estratégia divide a montagem do filho
//Uma pa... |
using NUnit.Framework;
using TeamCityChangeNotifier.XmlParsers;
namespace TeamCityChangeNotifier.Tests.XmlParsers
{
[TestFixture]
public class BuildListXmlParserTests
{
private const string BuildListXml = @"<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?>
<builds count=""49"" href=""/httpAu... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FakeItEasy;
using DalesTruckMaintenance.Domain;
using DalesTruckMaintenance.Domain.Interfaces;
using DalesTruckMaintenance.Domain.DTOs;
using DalesTruckMaintenance.Domain.Exceptions;
using System.Collections.Generic;
namespace DalesTruck... |
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApiProdutos.Context;
using WebApiProdutos.Models;
using WebApiProdutos.Pagination;
namespace WebApiProdutos.Repository
{
public class CategoriaRepository : Repository<Categoria>, ICateg... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
[RequireComponent(typeof(NavMeshAgent))]
public class Agent : MonoBehaviour
{
private NavMeshAgent agent;
// Use this for initialization
void Start()
{
agent = GetComponent<NavMeshAgent>();
... |
using System.CodeDom;
using FluentQuery.QueryParts;
using Xunit;
namespace FluentQuery.Tests
{
public class SelectQueryBuilderWhereTests
{
private SelectQuery _query;
public SelectQueryBuilderWhereTests()
{
var builder = new SelectQueryBuilder();
_query = builde... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WordTree.Model
{
/// <summary>
/// 记录词库单词是否加入计划
/// </summary>
public class DictionaryWord
{
[Key]
public strin... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Stolons.Models
{
public class ProductType
{
[Key]
[Display(Name = "Nom")]
public string Name { get; set; }
[Display(Na... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
public class CubeAveliableCoordinates<T>
{
private T[] arr = new T[10];
public T this[int i]
{
get { return arr[i]; }
set { arr[i] = value... |
using AutoMapper;
using ControleEstacionamento.Web.AutoMapper;
namespace ControleEstacionamento.Web.App_Start
{
public class AutoMapperConfig
{
public static void Configure()
{
Mapper.Initialize(config =>
{
config.AddProfile(new ViewModelToDomainProfile... |
using Anywhere2Go.AccountingLogic;
using Anywhere2Go.DataAccess.AccountEntity;
using Claimdi.Account.Filters;
using Claimdi.Account.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Claimdi.Account.Controllers
{
public class PermissionCont... |
using System;
class task01
{
static void Main()
{
double l = double.Parse(Console.ReadLine());
double w = double.Parse(Console.ReadLine());
double a = double.Parse(Console.ReadLine());
double hallArea = l * 100.0 * w * 100.0;
double wardrobeArea = a * 100.0 * a * 100.0... |
using System;
using UnityAtoms.BaseAtoms;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Reference of type `Collider2D`. Inherits from `AtomReference<Collider2D, Collider2DPair, Collider2DConstant, Collider2DVariable, Collider2DEvent, Collider2DPairEvent, Collider2DCollider2DFunction,... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
public class blacklist1 : MonoBehaviour
{
[SerializeField] Animator enemyCar;
[SerializeField] PlayableDirector cutscene;
[SerializeField] GameObject endingCutscene;
int whichScene = 0;
// S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Navigati... |
using System;
using System.Windows.Forms;
namespace EmbeddedResourceExtractor
{
public partial class MainForm : Form
{
private AssemblyHelper assemblyHelper;
public MainForm()
{
InitializeComponent();
}
private void ButtonLoad_Click(object sender, EventArg... |
namespace Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ProductGroupProcessSettings : DbMigration
{
public override void Up()
{
DropForeignKey("Web.ProductCategorySettings", "DivisionId", "Web.Divisions");
... |
using System;
using System.Diagnostics;
using System.Threading;
using System.Windows.Forms;
using Wana_Decrypt0r;
// Token: 0x02000004 RID: 4
internal static class Class0
{
// Token: 0x0600001D RID: 29 RVA: 0x00003C64 File Offset: 0x00001E64
private static bool smethod_0()
{
bool result;
Class0.mutex_0 = new M... |
using System;
namespace Morra_Cinese_Commentato
{
class Program
{
public static string mossa_giocatore1 = "";
public static string mossa_giocatore2 = "";
public static string nome_giocatore_1 = "";
public static string nome_giocatore_2 = "";
public static string Scelta_... |
using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Shapes;
using Microsoft.Win32;
using MMDB.Enums;
using MMDB.Extensions;
using MMDB.Windows;
namespace MMDB
{
... |
using System;
namespace Uintra.Infrastructure.Extensions
{
public static class ContextExtensions
{
public static bool HasFlagScalar(Enum a, Enum b) => HasFlagScalar(a.ToInt(), b.ToInt());
public static bool HasFlagScalar(Enum a, int b) => HasFlagScalar(a.ToInt(), b);
public static bo... |
using MassTransit;
using Microsoft.Extensions.Hosting;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Messages
{
public class BusService : IHostedService
{
private readonly IBusControl _busControl;
public BusService(IBusControl busControl)
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HackMW2013.Models;
namespace HackMW2013.Controllers
{
public class TreeChatController : Controller
{
private CallingTreeModelContainer db = new ... |
namespace TestApplication.Classes
{
public class MainConfig
{
/// <summary>
/// Максимальное количество "выпадающих" записей
/// </summary>
public int MaxSuggestCount { get; set; }
/// <summary>
/// Строка подключения к бд
/// </summary>
public s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SecondWork
{
class SortedList
{
private Link first;
public SortedList()
{
first = null;
}
public void Insert(Link link)
{
... |
using System.Threading.Tasks;
using Otiport.API.Data.Entities.Users;
namespace Otiport.API.Repositories
{
public interface IUserRepository : IRepository
{
Task<bool> IsExistsUserAsync(string username, string emailAddress);
Task<UserEntity> AddAsync(UserEntity entity);
Task<UserEntity> G... |
using UnityEngine;
using System.Collections;
using UnityEditor;
public class ChangeAllRotation : MonoBehaviour
{
[UnityEditor.MenuItem("Tools/Change rotation")]
static void UpdatePrefabs()
{
ScriptableWizard.DisplayWizard<ApplyAllPrefabs>("Apply all Fruit prefabs", "NOW");
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.ServiceBus.Messaging;
namespace ControlData
{
public class ReadingProcessorFactory : IEventProcessorFactory
{
public ReadingProcessorFactory(Action<IReading> item)
... |
using KeepTeamAutotests.Model;
using KeepTeamAutotests.Pages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeepTeamAutotests.AppLogic
{
public class FilterHelper
{
private AppManager app;
private PageManager pages... |
using System.Collections.Generic;
using UnityEngine;
public class ItemLoader : SingletonBehaviour<ItemLoader>
{
private Item[] allItems;
private Dictionary<int, Item> dicIdItem = new Dictionary<int, Item>();
protected override void Awake()
{
base.Awake();
allItems = Resources.LoadAll... |
using System;
using System.IO;
using System.Linq;
using Tools;
namespace _079
{
class Program
{
private const string FilePath = "../../keylog.txt";
static void Main(string[] args)
{
var attempts = AttemptsFromFile(FilePath);
Decorators.Benchmark(Solve, attempts... |
using System;
using System.Runtime.Serialization;
namespace MoodleObjects
{
[DataContract]
public class Moodle
{
[DataMember]
public int ID { get; set; }
public Moodle (int ID)
{
this.ID = ID;
}
}
}
|
using NUnit.Framework;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Tests {
public class PlayerUnitTests {
[SetUp]
public void SetupScene() {
SceneManager.LoadScene("SampleScene");
}
[Test]
public void TestTakeDamage() {
const int damagedHealth = 4;
const i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.