text stringlengths 13 6.01M |
|---|
using LuaInterface;
using RO;
using SLua;
using System;
using System.Collections.Generic;
using UnityEngine;
public class Lua_RO_UIRichLabel : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
UIRichLabel o = new UIRichLabel();
LuaObject... |
using System;
using System.Collections.Generic;
namespace Project2
{
class Program
{
public static void BFS (BinaryTree newTree)
{
Console.WriteLine("Создаем очередь и помещаем туда начало дерева.");
var queueTree = new Queue<TreeNode>();
queueTree.Enqueue(n... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
namespace JwtApp.DataAccess.Entities
{
public class AppUser : IdentityUser
{
public string City { get; set; }
public ICollection<RefreshToken> RefreshTokens { get; set; } = new List<RefreshToken>();
}
}
|
namespace Hystrix.Model
{
public class Word_Forms
{
public string word { get; set; }
public string type { get; set; }
}
} |
using System.Collections.Generic;
using Asset.Infrastucture.Library.UnitOfWorks.AssetModelUniOfWorks.AssetEntryUnitOfWorks;
using Asset.Models.Library.EntityModels.AssetsModels.AssetEntrys;
using AssetSqlDatabase.Library.DatabaseContext;
namespace Asset.DataAccess.Library.AssetModelGetways.AssetEntryGetways
{
pub... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace TCPClient
{
public class Utility
{
private static Socket _clientSocket;
public static void Connect(IPAddress ip, int port)
{
... |
/*
Description: This file declares the Progress Review ViewModel and its properties
for the Progress Review Controller and views.
Author: EAS
*/
using Project._1.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.Data... |
using GraphQL;
using GraphQL.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TicketingSystem.API.GraphQl.Types;
using TicketingSystem.Models;
namespace TicketingSystem.API.GraphQl
{
public class UserType : ObjectGraphType<User>
{
public Use... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Cassandra;
using Faux.Banque.Domain.Interfaces;
using Faux.Banque.Domain.Storage;
namespace Faux.Banque.Domain.Tests
{
[TestClass]
public class CassandraEventStoreTests
{
ICluster cluster;
CassandraEnvironment environme... |
//
// Copyright 2014, 2016 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... |
namespace NullCheck.Ejemplos
{
public class EjemploCsharp8
{
public string Execute()
{
string i = null;
if (i is { })
{
return "this cast to true";
}
return string.Empty;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class SysManege_ShowMeetRead : System.Web.UI.Page
{
public string t_rand = "";
string mId = "";
PDTech.OA.BLL.OA_MEETING_RECEIVER meetRBll = new PDTech.... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace KGViewer
{
public partial class EventForm : Form
{
//Номер текущего изображения
private int CurImageNum;
//Список битмапов-изображений
private List<Bitmap> Images;
... |
using System;
using System.Threading;
namespace JoushuaMath
{
public class JMultiThread
{
public void DoMyMultiThread()
{
Thread Trd1 = new Thread(new ThreadStart(Doprint.DoPrintOne));
Thread Trd2 = new Thread(new ThreadStart(Doprint.DoPrintTwo));
Trd1.Star... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Controle.View;
namespace MvcApplication1.Controllers
{
public class LoginController : Controller
{
public ActionResult Index()
{
return View();
... |
using System;
namespace AutoResizableStack
{
public class AutoResStack<T>
{
private const int InitialSize = 4;
private int capacity;
private T[] holder;
private int count;
private int currentIndex;
public AutoResStack(int capacity)
{
this.ca... |
using CoordControl.Core.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CoordControl.Core
{
/// <summary>
/// Состояние светофора
/// </summary>
public enum LightState : int
{
Green,
Yellow,
Red,
YellowRed
}
}
|
using UnityEngine;
public class ShadowToggleControl :UIOptionShadow {
[SerializeField]
StartGamePref startGamePref;
public override void ToggleActive()
{
base.ToggleActive();
startGamePref.SetPrefs();
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BusinessLogic.Common;
using DataAccess;
using MediathekClient.Common;
using BusinessLogic.Exceptions;
namespace MediathekClient
{
public partia... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using SIPCA.CLASES.Context;
using SIPCA.CLASES.Models;
using System.Diagnostics;
using Microsoft.AspNet.Identity;
namespace SIPCA.MVC.Controllers
{
... |
using Microsoft.Extensions.Options;
namespace PmSoft.DBContext
{
public class DbContextSchedulerOptions : IOptions<DbContextSchedulerOptions>
{
public DbContextSchedulerOptions() { MaxSize = 5; }
public int MaxSize { get; set; }
DbContextSchedulerOptions IOptions<DbContextSchedulerOp... |
using System;
using System.Collections.Generic;
using System.Linq;
using Silas.Forecast.Models;
namespace Silas.Forecast.Strategies
{
public class SingleExponentialSmoothingStrategy : IForecastStrategy
{
public ForecastEntry Forecast(IEnumerable<DataEntry> dataEntries, int period, dynamic strategyPara... |
using UnityEngine;
using System.Collections;
using System.IO;
using System;
public class Builder : MonoBehaviour
{
public GUIText SaveError ;
public GameObject LevelObject ;
public GameObject [,] CubesOnScene; //для хранения обье22ктов
public float [,] CubesAngle; // для сохранения углов
public int [] ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket
{
public class TicketSalesStatisticsEntity
{
public int Id { get; set; }
/// <summary>
/// 出票地
/// </s... |
using Grifling.Service.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Controllers.Controllers
{
public class ValidateController : Controller
{
IAccountUserService _userService;
public ValidateController(IAccountUs... |
using System;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Security;
using DevExpress.ExpressApp.Win;
using DevExpress.ExpressApp.Xpo;
namespace MainDemo.Win {
public partial class MainDemoWinApplication : WinApplication {
public MainDemoWinApplication() {
InitializeComponent();
... |
using MyCashFlow.Web.Infrastructure.Automapper;
using MyCashFlow.Web.ViewModels.Shared;
using Rsx = MyCashFlow.Resources.Localization.Views;
using System.ComponentModel.DataAnnotations;
namespace MyCashFlow.Web.ViewModels.TransactionType
{
public class TransactionTypeDeleteViewModel :
BaseViewModel,
IMapFrom<Dom... |
using System;
using Avalonia;
using Avalonia.Controls.Primitives;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Styling;
using Dock.Model.Core;
namespace Dock.Avalonia.Controls
{
/// <summary>
/// Dock TabStripItem custom control.
/// </summary>
public class DockTabStripItem : Tab... |
using UnityEngine;
using System.Collections;
using SNN.Core;
using System.Collections.Generic;
using System;
namespace SNN.Train
{
[CreateAssetMenu]
public class RawLearningExamplesDatabase : LearningExamplesDatabase
{
[Header("RawLearningExamplesDatabase")]
[SerializeField]
Learni... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class SaveDataHelper : MonoBehaviour
{
public SaveData data = new SaveData();
public string Path => Application.persistentDataPath + "/data.json";
// Update is called once per frame
void Update()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ETWExcercise
{
internal static class EtwProgram
{
private static volatile bool _stop;
private static int _cnt;
#region How to use PerfV... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Data;
using DotNetNuke.Instrumentation;
namespace DotNetNuke.Services.Upgrade.Internal... |
/// Copyright 2012-2013 Delft University of Technology, BEMNext Lab and contributors
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache... |
using System;
class GSMTest
{
static void Main()
{
try
{
GSM phone1 = new GSM("A30", "Alcatel");
GSM phone2 = new GSM("N30", "Nokia");
GSM phone3 = new GSM("S30", "Samsung");
GSM[] phones = new GSM[] { phone1, phone2, phone3 };
... |
using DataLayer.PerfilesData;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLayer.Perfiles
{
public class Perfiles: BusinessBase
{
#region Constructores
public Perfiles(UtileriasCo... |
// ------------------------------------------------------------------
// Solution: <AlpariAssistant>
// Project: <AlpariAssistant>
// File: <Settings.cs>
// Created By: Alexey Golub
// Date: 02/08/2016
// ------------------------------------------------------------------
using System.Collections.Generic;
using... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using MilkBot.Core;
using MilkBot.Core.Commands;
using TwitchLib;
using TwitchLib.Events.Client;
using Models = TwitchLib.Models.Client;
namespace MilkBot.ChatCommands {
public sea... |
using UnityEngine;
public class UndergroundMoveState : State
{
public UndergroundMoveState(GameObject enemy, StateType state) : base(enemy, state) { }
private BossHealth bossHealth;
private EnemiesGenerator enemiesGenerator;
private BoxCollider2D boxCol;
private float timer;
private float del... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Xml;
using InvoiceClient.Properties;
using Utility;
using Model.Schema.TXN;
using InvoiceClient.Helper;
using InvoiceClient.TransferManagement;
using System.Net;
namespace Invoi... |
namespace carpool_web_backend.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class RideRequestModel
{
public int Id... |
using GraphQLSampleAPI.Models;
using Microsoft.EntityFrameworkCore;
namespace GraphQLSampleAPI.Contexts
{
public class ApplicationDbContext : DbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
{
}
public DbSet<Gadget> Gadgets... |
using System.Collections.Generic;
using StudyEspanol.Data.Managers;
using StudyEspanol.Data.Models;
namespace StudyEspanol.UI.Screens
{
public partial class TeacherScreen
{
#region Const Fields
public const string TEACHER_SCREEN = "teacher_screen";
#endregion
#region Initialization
#endregion
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nmct.ba.cashlessproject.model.WPF
{
public class Register : IDataErrorInfo
{
public int ID { get; set;... |
using System.Collections.Generic;
using PluginStudy.Application.JsTreeService.Dto;
namespace PluginStudy.Application.JsTreeService
{
public interface IJsTreeService
{
/// <summary>
/// 获取最大排序号
/// </summary>
/// <returns></returns>
int GetMaxSequenceNumber();
//... |
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 OtelProjesi
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankAccount.BLL
{
public class GetAccountRequest
{
public int AccountNumber { get; set; }
public string Password { get; set; }
}
}
|
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace MyRoom.API.Model
{
public class UserIdentity : IdentityUser
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoneyBack.Calculators
{
public class EtoroCommissionCalculator : ICommisionCalculator
{
public decimal Calculate(decimal price) => 0m;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MediaManager.API
{
public class MetadataStore
{
public static Metadata Metadata { get; set; }
static MetadataStore()
{
Metadata = new Metadata();
... |
using System;
using UnityEngine;
namespace UnityUIPlayables
{
[Serializable]
public class RectTransformAnimationBehaviour : AnimationBehaviour
{
[SerializeField] private bool _controlPosition;
[SerializeField] private bool _controlSize;
[SerializeField] private bool _controlRotati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServicoDeRecebimentoDeEntregas.RabbitMQ
{
public class Configuracoes
{
public Configuracoes()
{
}
public string Host { get; set; }
public stri... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using lianda.Component;
namesp... |
using Microsoft.AspNet.Identity;
using MyCashFlow.Web.Services.Transaction;
using MyCashFlow.Web.ViewModels.Transaction;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using System;
namespace MyCashFlow.Web.Controllers
{
public class ApiTransactionController : ApiController
... |
using System.Collections.Generic;
namespace DriveMgr.IDAL
{
/// <summary>
/// 用户操作记录接口(不同的数据库访问类实现接口达到多数据库的支持)
/// </summary>
public interface IUserOperateLog
{
/// <summary>
/// 写入操作日志
/// </summary>
void InsertOperateLog(DriveMgr.Model.UserOperateLog userOperateLo... |
/***********************
@ author:zlong
@ Date:2015-01-11
@ Desc:车辆维护信息界面层
* ********************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DriveMgr;
using DriveMgr.BLL;
namespace DriveMgr.WebUI.FinancialMgr
{
/// <summary>
/// bg_vehiclMaintenanceHandler... |
using UnityEngine;
using System.Collections;
public class LoopButton : ftlManager
{
void OnEnable()
{
GetComponent<ButtonSliders> ().Hide ();
}
public void press ()
{
if (!Looping)
{
GetComponent<GeneralButton> ().press ();
Looping = true;
ChangeGraphTimeScale(false);
}
else
{
GetCompo... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//responsible for delegating events for animations
public class AnimationEventSystem : MonoBehaviour
{
public static event Action OnResetIdeaAnimations = delegate { };
public static event Action OnResetAgreeAnimations... |
using SalaryUpdate.Models;
using SalaryUpdate.Persistance;
using SalaryUpdate.Services;
using SalaryUpdate.ViewModels;
using System;
using System.Configuration;
using System.Linq;
using System.Web.Mvc;
namespace SalaryUpdate.Controllers
{
public class HomeController : Controller
{
private readonly Dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text;
using System.Threading.Tasks;
namespace Grupo5_Hotel.Entidades
{
public abstract class Persona
{
protected int id;
protected string nombre;
protect... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConfigWindow.xaml.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project root for lic... |
using SII3.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
namespace SII3.Measures
{
/// <summary> Класс для вычисления расстояний. </summary>
class DistanceCalculator
{
private readonly string _firstName;
private readonly string _secondName... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace Ovan_P1
{
class OrderDialog: Form
{
private string productName = "";
private int... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Xamarin.Forms;
namespace ChapterSeven
{
public class CategoryList
{
public string id { get; set; }
public string name { get; ... |
namespace EpicenterV2.Models
{
public class Show
{
public int ShowId { get; set; }
public string ShowName { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace UdemyMurat.Models.Sınıflar
{
public class Class1
{
public IEnumerable<Urun> Mehsul { get; set; }
public IEnumerable<Detay> Detal { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Drawing;
namespace HPMS.Draw
{
public enum LineType
{
Fre,
Time,
Spec
}
public struct plotData
{
public float[] xData;
public float[] yData;
}
public abstract class AChart
{
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("NUnit-Gui-Runner-ArxNet")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany(... |
using Microsoft.AspNetCore.Mvc;
using Sp_Medical_Group.Domains;
using Sp_Medical_Group.Interfaces;
using Sp_Medical_Group.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sp_Medical_Group.Controllers
{
//define que o tipo de reposta da API se... |
///
/// Generated by Sybase AFX Compiler with templateJ
/// Compiler version - 2.2.6.482
/// mbs - false
///
namespace MMSCAN.intrnl
{
public class MMSCANDB_ML : com.sybase.sup.client.mbs.MessageListener,com.sybase.sup.client.mbs.MessagingClientListener
{
private string GetRemoteId()
{
... |
/// <summary>
/// Game controller.
/// Arlina Ramrattan
/// 300799246
/// Last Modified by: A.R.
/// Date last modified: October 22, 2016
/// This program is a 2D top down scroller. The plyer is a green tank and they have to try and avoid the red enemy tanks. They have 5 lives.
/// </summary>
using UnityEngine;
usi... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Mentors.Models
{
public class AddFirstData
{
public static void Initialize(IServiceProvider serviceProvider)
... |
using KRF.Core.DTO.Master;
using KRF.Core.Entities.Master;
using KRF.Core.Repository;
using KRF.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace KRF.Web.Controllers
{
[CustomActionFilter.CustomActionFilter]
public class CrewController : BaseControl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SpiritPetMaster
{
public class Pet : MonoBehaviour
{
public int ID; //寵物代號(唯一)
public string Kind; //寵物種類
public string Name;
public int Leve... |
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 Cicek_Sepeti
{
public partial class Sepet : Form... |
using Plus.Communication.Packets.Outgoing.Rooms.Furni.Stickies;
using Plus.HabboHotel.GameClients;
using Plus.HabboHotel.Items;
using Plus.HabboHotel.Rooms;
namespace Plus.Communication.Packets.Incoming.Rooms.Furni.Stickies
{
internal class GetStickyNoteEvent : IPacketEvent
{
public void Parse(GameCli... |
using UnityEngine;
using System.Collections;
public class FireMoving : MonoBehaviour
{
[SerializeField]
private float moveSpeed = 1.0f;
[SerializeField]
private float vanishWait = 1.0f;
[SerializeField]
private GameObject fireCol;
[SerializeField]
private float createSpan;
[Seria... |
using MarsRoverProject.Contracts.Data;
using MarsRoverProject.Domain;
using MarsRoverProject.Exceptions;
using MarsRoverProject.Managers;
using MarsRoverProject.Persistance;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace MarsRoverTests
{
public class CommandRecieverTests
{
... |
using System;
using System.IO;
using CloneDeploy_ApiCalls;
using CloneDeploy_Common;
using log4net;
namespace CloneDeploy_Services.Workflows
{
public class CopyPxeBinaries
{
private const string BootFile = "pxeboot.0";
private readonly string[] _grubEfi64Files = {"bootx64.efi", "grubx64.efi"};... |
using Paylocity.Employees;
using Paylocity.Models;
namespace Paylocity.Benefits.CostStrategies
{
public class EmployeeWithDependentsStrategy : IBenefitsCostStrategy
{
private readonly IConfiguration _configuration;
public EmployeeWithDependentsStrategy(IConfiguration configuration)
{
... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using static Database.General;
namespace Database
{
public static class Article
{
public static IAsyncEnumerable<Entity> SearchByName(string name, int offset = 0, int number = -1) =>
Select("articles_with_tags", $"name LIKE '%{n... |
using System;
using UnityEngine;
public class InputController : MonoBehaviour
{
[Range(5, 15)]
public int MoveSpeed = 0;
public float BoundaryDis = 4f;
public Transform Target;
void FixedUpdate()
{
if(GameManager.I.IsOver)
return;
float ... |
namespace GetLabourManager.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Allocation_Containers_Gang : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.AllocationContainers",
c => new
... |
using WMaper.Base;
using WMaper.Meta.Radio;
namespace WMaper.Plug
{
public sealed class Await : Decor
{
public sealed override void Render(Maper drv)
{
}
public sealed override void Redraw(Msger msg)
{
}
public sealed override void Redraw()
{... |
// Lic:
// High/KittyHigh.cs
// Kitty
// version: 23.01.04
// Copyright (C) 2019, 2020, 2023 Jeroen P. Broks
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted t... |
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Text;
namespace MVC
{
public class MessagerDb
{
public string ConnectionString { get; set; }
public MessagerDb()
{
this.ConnectionString = "server=127.0.0.1;userid=root;password=@Qq1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ContactManagementApp.Services
{
//TODO: Implement additional methods for more grainular logging and log level configuration
//TODO: Use DI framework to easily switch between logging fr... |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
namespace JakContinueMapper
{
public abstract class EmuMemory
{
[DllImport("kernel32.dll", SetLastError = true)]
public static extern bool ReadProcessMemory(IntPtr hPro... |
namespace Exam_CalculationProblem
{
using System;
using System.Collections.Generic;
public class CalculationProblem
{
public static void Main()
{
string[] alphabetDictionary = GetCatAlphabetDictionary();
string[] inputWords = Console.ReadLine()
... |
using System.Threading.Tasks;
using Business.Abstract;
using Entities.Concrete;
using Microsoft.AspNetCore.Mvc;
namespace WebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class BrandsController : ControllerBase
{
private IBrandService _brandService;
public Brand... |
namespace RedLine.Models.WMI
{
public class WmiBaseBoard
{
internal const string MANUFACTURER = "Manufacturer";
internal const string PRODUCT = "Product";
internal const string SERIAL_NUMBER = "SerialNumber";
[WmiResult("Manufacturer")]
public string Manufacturer
{
get;
private set;... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Lite_Berry_Pi.Models
{
public class User
{
[Required]
public int Id { get; set; }
[Required]
public string Name { get... |
using UnityEngine;
using System.Collections;
[System.Serializable]
public class BuffCsv : CsvBase {
public string buffName;
public bool harm;
public float speedFix;
public float damageFix;
public bool silent;
public bool blood;
public bool reflect;
}
|
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Metadata;
namespace CustomIdentity.Migrations
{
public partial class IdChanged : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
namespace Triton.Game.Mapping
{
using System;
public enum ActorStateType
{
NONE,
CARD_IDLE,
CARD_MOUSE_OVER,
CARD_OPPONENT_MOUSE_OVER,
CARD_SELECTABLE,
CARD_SELECTED,
CARD_PLAYABLE,
CARD_PLAYABLE_MOUSE_OVER,
CARD_OVER_PLAYFIELD,
... |
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 FinalProject
{
public partial class UserLogChart : Form
{
private List<Test> u... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowPath1 : MonoBehaviour
{
public enum MovementType
{
MoveTowards,
LerpTowards
}
public MovementType Type = MovementType.MoveTowards;
public MovementPath1 MyPath;
pub... |
using Modelo;
using Persistencia;
using System;
using System.Collections.Generic;
using System.Text;
namespace Servico
{
public class ConsultaServico
{
private ConsultaDAL consultaDal = new ConsultaDAL();
public IList<Consulta> TodasAsConsultas()
{
return consultaDal.Todas... |
using MapOnly.Interface;
using System;
namespace MapOnly
{
internal class MapObject<TSource, TDestination>: IMapObject<TSource, TDestination>
{
public MapObject()
{
}
public MapObject(Guid settingId)
{
MappingSettingId = settingId;
}
public... |
namespace AjLisp.Primitives
{
using System;
using System.Collections.Generic;
using System.Text;
using AjLisp.Language;
public class SubrEval : SubrUnaryOperation
{
public override object Execute(object argument, ValueEnvironment environment)
{
return Ma... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
[System.Serializable]
public class CustomEvent
{
//---------
public string name;
//---------
//action
public Action action;
//Gameobject to complete the action
public GameObject ac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.