text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.InputSystem;
public class CreateBoulder : Creator
{
private bool isCreating;
public float cooldown;
// Spawning
public float spawnDuration = 0.3f;
private float sp... |
using Hayaa.BaseModel;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hayaa.CompanyWebSecurity.Client.Model
{
[Serializable]
internal class AppFunction : BaseData
{
public int AppFuntionId { set; get; }
public int AppId { set; get; }
public String Func... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SistemaFacturacionWeb
{
public partial class CambioClave : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e,string email... |
using Framework.Core.Common;
using Tests.Data.Van.Input;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
namespace Tests.Pages.Van.Main.VirtualPhoneBankPages.VirtualPhoneBankDetailsPageComponents
{
public class TimeAndDateFieldsVpbDetailsPageComponent :VirtualPhoneBankDetailsPageComponent
{
... |
namespace BettingSystem.Application.Common
{
using System;
using System.Reflection;
using Behaviours;
using Mapping;
using MassTransit;
using MediatR;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Settings;
public static class A... |
using System;
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Diagnostics.Windows.Configs;
using BenchmarkDotNet.Running;
using Microsoft.AspNetCore.Http;
namespace CodingMilitia.PlayBall.WebFrontend.BackForFront.Benchmarks.ProxiedApiRouteEndpointLookup
{
... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Euler_Logic.Problems.AdventOfCode.Y2016 {
public class Problem14 : AdventOfCodeBase {
public override string ProblemName => "Advent of Code 2016: 14";
public override string GetAnswer() {
return Answer1(... |
using Cafe.API.Data;
using Cafe.API.Models.Entities;
using Cafe.API.Models.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Cafe.API.Models.DataManager
{
public class ClientDataManager: IDataRepository<Client>
{
readonly CafeDbContext _context;
public C... |
using System;
using Autofac;
using Framework.Core.Common;
using Tests.Data.Van;
using Tests.Data.Van.Input.Filters;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main.Common.DefaultPage;
using Tests.Pages.Van.Main.List;
using Tests.Pages.Van.Main.Turf;
using NUnit.Framework;
namespace Tests.Projects.V... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Chest : MonoBehaviour
{
[SerializeField] private Sprite opened;
private GameObject diamond;
public GameObject spawnItemPrefab;
public Transform transformObj;
private bool isOpened = false;
private ... |
namespace KRFTemplateApi.Domain.CQRS.Sample.Query
{
using KRFCommon.CQRS.Query;
public class SampleInput : IQueryRequest
{
}
}
|
using System;
using System.Diagnostics;
namespace Leprechaun.Model
{
[DebuggerDisplay("{Path} ({Id})")]
public class TemplateInfo
{
public string Path { get; set; }
public Guid Id { get; set; }
public string Name { get; set; }
public string HelpText { get; set; }
public Guid[] BaseTemplateIds { get; ... |
using Android.App;
using Android.OS;
using Android.Runtime;
using Caliburn.Micro;
using Plugin.CurrentActivity;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace RRExpress.Droid {
[Application(LargeHeap = true)]
[MetaData("JPUSH_CHANNEL", Value = "developer-default")]
[Meta... |
using System.ComponentModel.DataAnnotations;
namespace SciVacancies.WebApp.ViewModels
{
/// <summary>
/// членство в профессиональных сообществах
/// </summary>
public class MembershipDetailsViewModel : MembershipEditViewModel
{
}
/// <summary>
/// членство в профессиональных сообщест... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace BanSupport
{
public static partial class Tools
{
#region 时间相关
public static System.Diagnostics.Stopwatch... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
namespace DAL.Contracts
{
public class Repository<T> : IRepository<T> where T : class
{
protected readonly DbContext Context;
public Repository(DbContext ctx)
{... |
using System;
using System.Collections.Generic;
class AverageLoadTimeCalculator
{
static void Main()
{
Console.WriteLine("Infinite loop. If you want to stop, pres CTRL+C !!!");
while (true)
{
Console.WriteLine("Enter line, for end pres ENTER :");
Dictionary<stri... |
using Models;
namespace DataAccesLayer.Repositories
{
public interface IKategoriRepository<T> : IRepository<T> where T : Kategori
{
}
} |
namespace ClusteringDemo
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
class Program
{
static void Main(string[] args)
{
//k-Means clustering with 3 centroids
//randomly assign all data items to a cluster
... |
namespace Sentry;
/// <summary>
/// The Data Source Name of a given project in Sentry.
/// </summary>
/// <remarks>
/// <see href="https://develop.sentry.dev/sdk/overview/#parsing-the-dsn"/>
/// </remarks>
internal sealed class Dsn
{
/// <summary>
/// Source DSN string.
/// </summary>
public string Sou... |
namespace DFC.ServiceTaxonomy.ContentPickerPreview.ViewModels
{
public class VueMultiselectBannerItemViewModel
{
public string? Id { get; set; }
public string? DisplayText { get; set; }
public bool HasPublished { get; set; }
public bool? IsActive { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace MainWebApplication.Models
{
public class BleMacJsonConverter : JsonConverter<byte[]>
{
public override byte[] Read(
ref U... |
using EAN.GPD.Infrastructure.Database;
using System;
namespace EAN.GPD.Domain.Entities
{
public class MovimentoEntity : BaseEntity
{
private const string tableName = "Movimento";
public MovimentoEntity(long idUsuario) : base(tableName, idUsuario) { }
public MovimentoEntity() : base(tab... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data.Contracts
{
public interface IGenericRepository<T> where T : class
{
public Task<T> AddAsync(T entity);
//public Task<int> Delete(T entity);
public Task<bo... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace ztm_otwartedane
{
public partial class BusEstimatedTimeParser
{
[JsonProperty("delay")]
public List<BusEstimatedTime> allArrives { get; set; }
}
public partial class BusEstimatedTime
... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using OnlineClinic.Core.DTOs;
using OnlineClinic.Core.Services;
namespace BlazorUI.Pages.People.Create
{
public partial class PersonCreate: ComponentBase
{
private PersonCrea... |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using AutoTests.Framework.Core.Exceptions;
using Newtonsoft.Json.Linq;
namespace AutoTests.Framework.Web.Configurators
{
public class LocatorsConfigurator
{
private readonly ConfiguratorsDependencies dependencies;
p... |
namespace MySurveys.Web.Areas.Surveys.ViewModels.Filling
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using AutoMapper;
using Models;
using MvcTemplate.Web.Infrastructure.Mapping;
public class PossibleAnswerViewModel : IMapFrom<Poss... |
using Pe.Stracon.SGC.Presentacion.Core.ViewModel.Base;
namespace Pe.Stracon.SGC.Presentacion.Core.ViewModel.Contractual.BandejaContrato
{
/// <summary>
/// Modelo de vista para la Bandeja Contrato Formulario
/// </summary>
/// <remarks>
/// Creación: GMD 20150319 </br>
/// Modificación: ... |
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Enyim.Caching.Memcached;
namespace Enyim.Caching
{
public interface IMemcachedClient : IDisposable
{
event Action<IMemcachedNode> NodeFailed;
/// <summary>
/// Inserts an item into the cache with a cac... |
using System.IO;
using Mono.Options;
namespace MonoCov
{
public class MonoCovOptions
{
public MonoCovOptions()
{
optionSet = new OptionSet ();
optionSet.Add ("export-xml=", "Export coverage data as XML into specified directory", v => exportXmlDir = v);
optionSet.Add ("export-html=", "Export coverage da... |
using System;
using System.Collections.Generic;
using System.Linq;
using DFC.ServiceTaxonomy.VersionComparison.Models;
using DFC.ServiceTaxonomy.VersionComparison.Models.Parts;
using Newtonsoft.Json.Linq;
namespace DFC.ServiceTaxonomy.VersionComparison.Services.PropertyServices
{
public class AddBannerPropertySer... |
using System.Web.Mvc;
namespace Profiling2.Web.Mvc.Areas.Screening
{
public class ScreeningAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Screening";
}
}
public override void RegisterAre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cracking
{
class StringRotation
{
public static bool isRotation(string s1, string s2) {
string s1s1 = s1 + s1;
if (s1s1.Contains(s2))
r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Schip
{
class Disassembler
{
SchipMachine machine;
public Disassembler(SchipMachine machine)
{
this.machine = machine;
}
public string DecodeInstruction()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour
{
private UnityEngine.AI.NavMeshAgent agent;
private Animation anim;
private Collider col;
private AudioSource audio;
// private string walkAnim;
// private string death... |
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 gsbRapports2019
{
public partial class FormGererMedecin : Form
{
... |
using Assets.Scripts;
using ChatMultiplayerDemoShared;
using KingNetwork.Client;
using KingNetwork.Shared;
using System.Threading;
using UnityEngine;
using UnityEngine.UI;
public class ChatDemo : MonoBehaviour
{
[SerializeField]
[Tooltip("The InputField the user can type in.")]
InputField input;
[Ser... |
/***********************************************************************
* Module: SecretaryService.cs
* Author: Sladjana Savkovic
* Purpose: Definition of the Class Service.SecretaryService
***********************************************************************/
using Model.Users;
using Repository;
using System... |
using System.Collections.Generic;
using System.Linq;
namespace Uintra.Core.Search.Entities
{
public class SearchableMember : SearchableBase, ISearchableTaggedActivity
{
public string Photo { get; set; }
public string FullName { get; set; }
public string Email { get; set; }
public string Phone { get; set;... |
// Math utils: useful mathematical methods
using Godot;
using System;
namespace BaseProject.Utils
{
public static class Math
{
// TODO - figure out HOW THIS WORKS!!! taken from godot Qs
// https://godotengine.org/qa/5770/how-to-lerp-between-two-angles
public static float LerpAn... |
namespace QStore.Tests.QStringMapTests
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using QStore.Strings;
using QStore.Tests.Comparers;
[TestClass]
public class GetByPrefixWithValueTests
{
public ... |
using System;
using hurb_sap.Domain.Services.Payments;
using hurb_sap.Models;
namespace hurb_sap.Services.Payments
{
public class PaymentsService: IPaymentsService
{
public ResponseModel Add(PaymentsModel payment){
//**************************
// add di-api code he... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SongDuration
{
class SongDuration
{
private int minutes;
private int seconds;
public int Minutes { get => minutes; set => minutes = value; }
public int... |
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using Caelum.Banco.Clientes;
using Caelum.Banco.CustomExceptions;
using Caelum.Banco.Contas;
namespace Banco {
public partial class Form1 : Form {
private List<Conta> contas;
int index = 0;
//private int indice = 0... |
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using TAiMStore.Domain;
using TAiMStore.Model.Repository;
using TAiMStore.Model.UnitOfWork;
using TAiMStore.Model.ViewModels;
using TAiMStore.Classes;
namespace TAiMStore.Model.Classes
{
public class UserManager
{
private readonly I... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CollectionHierarchy.Interfaces
{
interface IAddCollection
{
public int Add(string item);
}
}
|
using SuperMario.Desktop;
namespace SuperMario.Commands
{
public class QuittingCommand : ICommand
{
readonly Game1 game;
public QuittingCommand(Game1 game)
{
this.game = game;
}
public void Execute()
{
game.Exit();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Empleado : Persona
{
private string usuario;
private string password;
private double sueldo;
private EPuesto puesto;
pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AISpots : MonoBehaviour {
[Header("READ ONLY")]
public bool availability = true;
}
|
using DotNetCoreIdentity.Application.BlogServices;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DotNetCoreIdentity.Web.ViewComponents
{
[ViewComponent]
public class PostListViewComponent : ViewComponent
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class HookReceiver : MonoBehaviour
{
PlayerInputAction controls;
public Material idleMaterial;
public Material focusMaterial;
public Material activeMaterial;
public GameObject mCam... |
using System;
using System.IO;
using NUnit.Framework;
namespace MinMaxSearch
{
public class SearcherTests
{
private readonly string path = @"D:\Учёба\ДО\MinMaxPath\TestMinMax";
[TestCase("Test1.txt",9,"1 3 2 4 5")]
[TestCase("Test2.txt",13,"1 4")]
[TestCase("Test3.txt",10,"1 4")]
[TestCase("Test4.txt",15,... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace DotNetCoreIdentity.Application.CategoryServices.Dtos
{
public class CreateCategoryInput
{
[Required]
[Display(Name = "Kategori Adı")]
public string Name { get; set;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class QuizPiece : ScriptableObject {
public abstract string getPieceType();
}
|
// <copyright file="ActiveDirectoryUserDetailsResponse.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.... |
using C1.Win.C1FlexGrid;
using Clients.Common;
using Clients.MPD;
using Common;
using Common.Business;
using Common.Extensions;
using Common.Log;
using Common.Presentation;
using Common.Presentation.Controls;
using Entity;
using SessionSettings;
using System;
using System.Data;
using System.ServiceModel;
using System.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dominio.EntidadesNegocio;
namespace Dominio.EntidadesNegocio
{
public class ItemPedido
{
public int Cantidad{ get; set; }
public decimal PrecioVenta{ get; set; }
public Producto producto;... |
using System;
using Atc.Helpers;
using Xunit;
namespace Atc.Tests.Helpers
{
public class SimpleTypeHelperTests
{
[Theory]
[InlineData("bool", typeof(bool))]
[InlineData("byte", typeof(byte))]
[InlineData("char", typeof(char))]
[InlineData("DateTime", typeof(DateTime))]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Java.Lang;
namespace Goosent.Adapters
{
class AvalibleStreamingPlatformsArrayAdapter : BaseAdap... |
using NCMB;
using System.Collections.Generic;
namespace NCMB
{
public class HighScore
{
public const int RANKING_MAX = 20;
public int score { get; set; }
public int stage { get; set; }
public int time { get; set; }
public string name { get; private set; }
public bool isCorrect { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TenmoClient.Data;
namespace TenmoClient
{
class ConsoleServices
{
public void PrintAccounts(List<Account> list)
{
Console.ForegroundColor = ConsoleColor.DarkYellow;
C... |
using Alabo.Datas.Stores;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
using Alabo.Domains.Services.Add;
using Alabo.Runtime.Config;
using System;
namespace Alabo.Domains.Services.Attach {
public abstract class AttachBase<TEntity, TKey> : AddBase<TEntity, TKey>, IAttach<TEntity, TKey>
whe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PopUpWindown : MonoBehaviour
{
public GameObject window;
public Text messageField;
// Start is called before the first frame update
public void Show(string message)
{
messageF... |
namespace SMG.Common.Exceptions
{
public enum ErrorCode
{
SyntaxError = 1,
ConditionNeverSatisfied,
AmbigousPreCondition,
AmbigousPostCondition,
TypeRedefinition,
GuardNameReused,
UndefinedVariable,
VariableRedefinition,
Inva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IRAPShared;
namespace IRAP.Entity.IRAP
{
[Serializable()]
[IRAPDB(TableName ="IRAP..stb052")]
public class Stb052
{
[IRAPKey()]
public long PartitioningKey { get; set; }
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace MyProject.Models
{
public class Game
{
[Key]
[ScaffoldColumn(false)]
public int GameID { get; set; }
[Display(Name = "Game Logo/Cover")]
public string Picture { get; set; }
[Required]
... |
// <copyright file="GetBundlePathFixture.cs" company="Morten Larsen">
// Copyright (c) Morten Larsen. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// </copyright>
using System.ComponentModel;
using System.Threading.Tasks;
using FluentAss... |
namespace CheckIt.Compilation.Custom
{
public class CustomCompilationInfoBase : CompilationInfoBase
{
public CustomCompilationInfoBase(CustomProject project)
{
this.Project = project;
}
}
} |
using Models;
using Repository;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BAL
{
public class EmployeeManager
{
EmployeeCommandRepository ecr = new EmployeeCommandRepository();
EmployeeQueryRe... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Core
{
public class Calc
{
public int Add(int a, int b)
{
return a + b;
}
public int Multiply(int a, int b)
{
return a * b;
}
}
}
|
using EddiSpeechService;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests
{
[TestClass]
public class HumanizeTests
{
[TestMethod]
public void TestNullInput()
{
Assert.IsNull(Translations.Humanize(null));
}
[DataTestMethod]
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Olive.Data;
using System.Linq.Expressions;
using Olive.Web.MVC.ViewModels;
using Olive.Web.MVC.Areas.Administration.ViewModels;
using Olive.Data.Uow;
using Syste... |
namespace Alabo.Tool.Payment.WeiXinMp.Models
{
/// <summary>
/// 微信分享
/// </summary>
public class WeiXinShare
{
public string AppId { get; set; }
/// <summary>
/// 时间戳
/// </summary>
public string Timestamp { get; set; }
public string Access... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemyAimDouble : MonoBehaviour
{
public Transform firePointTransform;
public Transform firePointTransform2;
public float shootSpeed = 1;
private float timer;
private bool isPlayerHere = false;
private Transform targetTra... |
using ExitGames.Client.Photon;
namespace Source.Code.Extensions
{
public class PhotonExtensions
{
public static T GetValueOrReturnDefault<T> (Hashtable properites, string key)
{
if (properites.TryGetValue(key, out object property))
{
return (T)property;... |
using System;
namespace Uintra.Features.Tagging.UserTags.Models
{
public class UserTag
{
public Guid Id { get; }
public string Text { get; }
public UserTag(Guid id, string text)
{
Id = id;
Text = text;
}
}
} |
using Pe.Stracon.Politicas.Infraestructura.CommandModel.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.Politicas.Infraestructura.CommandModel.General
{
/// <summary>
/// Clase que representa la entidad de unidad op... |
using System;
using System.Runtime.InteropServices;
namespace ScriptKit
{
internal static class NativeMethods
{
private const string lib = "ChakraCore";
[DllImport(lib)]
internal static extern JsErrorCode
JsCreateRuntime(
JsRuntimeAttributes a... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace RuthAaronChallenge
{
class Program
{
static void Main(string[] args)
{
string userNum = Console.ReadLine();
string userNum2 = Console.ReadLine();
int num = Int32.Parse(userNum); ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResetPosition : MonoBehaviour
{
Vector3 startPos;
private void Awake()
{
startPos = transform.position;
}
// Use this for initialization
void Start()
{
startPos = this.transform.pos... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.MonoHooks.Editor
{
/// <summary>
/// Constant property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using DevExpress.XtraEditors;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.Entities.FVS;
using IRAP.Enti... |
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
namespace sha256
{
public partial class Form1 : Form
{
MemoryStream ms = new MemoryStream();
public Form1()
{
InitializeComponent();
}
privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Xml;
using System.Data;
using System.Globalization;
using System.Web.Script.Serialization;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using RouteScheduler.Logic;
using System.Threading.Tasks;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoinCollision : MonoBehaviour
{
public LayerMask playerLayer;
public float radius;
public GameController _gamecontroller;
public float coinPoints;
public void Set_Gamecontroller(GameController localgamec... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class StatusEffect
{
public EnemyBehavior eb;
public HeroStateMachine hsm;
public Color elementColor;
public void ProcessEffect(string effectName, string effectType, int baseVal,... |
using DChild.Gameplay.Environment.Item;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoingBomb : TimeBomb
{
protected override void ApplyBombEffect(Collider2D collider)
{
}
}
|
using System;
using System.Collections;
using System.Text;
using System.IO;
using System.Xml;
namespace MonoCov {
public class XmlExporter {
public class ProgressEventArgs {
public CoverageItem item;
public string fileName;
public int pos;
public int itemCount;
public ProgressEventArgs (CoverageItem ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
using Microsoft.WindowsAzure.Server.AdminManagement;
using Microsoft.WindowsAzure.Server.Management;
using Microsoft.WindowsAzure.Management.Models;
using WAPWrapper.... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TinhLuong.Models;
using TinhLuongBLL;
using TinhLuongINFO;
namespace TinhLuong.Controllers
{
public class UpdateKhoanThanhToanController : BaseController
{
SaveLog sv = n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SC.AsyncSamples
{
/// <summary>
/// 同步
/// 如果需要共享数据,就必须使用同步技术,确保一次只有一个线程访问和改变共享状态。
/// 可以用于多个线程的同步技术:
/// ● lock
/// ● Interlocked
/... |
using System;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;
using System.IO;
using System.Windows.Forms;
using System.Web;
using DMS.DataAccessObject;
using DMS.BusinessObject;
using DMS.Utils;
namespace DMS.BusinessObject
{
/// <summary>
/// Summary description for Cus... |
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace ApartmentApps.Data
{
//public class ApplicationDbContext2 : DbContext
//{
// public virtual IDbSet<MaintenanceRequestStatus> MaintenanceRequestStatuses { get; set; }
// public virtual IDbSet<Corporation> Corporat... |
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
using Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual;
using Pe.Stracon.SGC.Presentacion.Core.ViewModel.Base;
using Pe.Stracon.SGC.Presentacion.Recursos.Base;
using System.Collections.Generic;
using System.Web.Mvc;
using System.Linq;
... |
/*
* Company:
* Motto: Talk more to loved ones!
* Assignment: A book shelf application
* Deadline: 2012-01-02
* Programmer: Baran Topal
* Solution name: .BookShelfWeb
* Folder name: .Util
* Project name: .BookShelfWeb.ConverterManager
* File name: BookShelfConverter.cs
* Status: Finished
*/
using System... |
using Inventor;
using InventorServices.Persistence;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DynamoInventor
{
internal abstract class Button
{
#region Private fields
private ButtonDefini... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyDev.BL;
using System.Data;
using EasyDev.Util;
using EasyDev.SQMS;
namespace SQMS.Services
{
public class EmployeeService : GenericService
{
public PassportService PassportServi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PADIbookCommonLib
{
[Serializable]
public class SignedLookupResponse : SignedMessage
{
public List<RedirectionFile> FileList { get; set; }
public string Username { get; set; }
public str... |
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using Microsoft.Data.SqlClient;
using Sunnie.Models;
using Sunnie.Utils;
namespace Sunnie.Repositories
{
public class FavoriteRepository : BaseRepository, IFavoriteRepository
{
public FavoriteRepository(IConfiguration configur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.