text stringlengths 13 6.01M |
|---|
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity.UI.Services;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using MimeKit;
using OnlineGallery.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using Sys... |
namespace Sentry.Tests.Extensibility;
[Collection(nameof(SentrySdkCollection))]
public class HubAdapterTests : IDisposable
{
private IHubEx Hub { get; }
public HubAdapterTests()
{
Hub = Substitute.For<IHubEx>();
SentrySdk.UseHub(Hub);
}
[Fact]
public void CaptureEvent_MockInvo... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Xml;
using System.Windows.Forms;
namespace SurfaceApplicationMaurice
{
public class CategoriesXml
{
XmlDocument categories = null;
... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Configuration;
namespace CoherentSolutions.Extensions.Configuration.AnyWhere
{
public static class ConfigurationBuilderExtensions
{
private const string ANYWHERE_ADAPTER_LIST_PROPERTY = "coherentsolutions.anywhere.adapter... |
using ControleFinanceiro.Domain.Entities;
using System;
using System.Collections.Generic;
namespace ControleFinanceiro.Domain.Contracts.Services
{
public interface IServicoReceita : IServicoBase<Receita>
{
List<Receita> ListarReceitaPorData(DateTime data, int idUsuario);
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using NSTOX.DataPusher;
using NSTOX.DataPusher.Helper;
using System.Threading;
using System.IO;
using NSTOX.DataPusher.BOService;
namespace NSTOX.Histori... |
using System;
using System.Collections.Generic;
using System.Text;
using NetCore.Interface;
namespace NetCore.Service
{
public class TestServiceC : ITestServiceC
{
public void Show()
{
throw new NotImplementedException();
}
}
}
|
// <copyright file="AlternateSubstitution.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
namespace WaterTrans.GlyphLoader.Internal.OpenType.GSUB
{
/// <summary>
/// The GSUB alternate substitution lookup.
/// </summary>
internal sealed class AlternateSubstitution
{
/// <sum... |
namespace CenterPoint
{
using System;
public class StartUp
{
public static void Main()
{
double x1 = double.Parse(Console.ReadLine());
double y1 = double.Parse(Console.ReadLine());
double x2 = double.Parse(Console.ReadLine());
double y2 = dou... |
using System;
using System.Collections.Generic;
using System.Linq;
using BashSoft.IO;
using BashSoft.Static_data;
namespace BashSoft.Repository
{
public class RepositorySorter
{
public void OrderAndTake(Dictionary<string, double> studentsMarks, string compasion, int studentsToTake)
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FrbaOfertas.Model.DataModel
{
class DataGeneric
{
public IDbConnection Connection { get; private set; }
public DataGene... |
using UnityEngine;
namespace Hackathon
{
public class Cone : MonoBehaviour
{
public void Place(Vector3 start, Vector3 end, float size)
{
transform.position = start;
Vector3 toEnd = end - start;
float z = toEnd.magnitude;
transform.localScale = ne... |
using System.Collections.Generic;
namespace CoherentSolutions.Extensions.Configuration.AnyWhere
{
public interface IAnyWhereConfigurationAdapterArguments
{
IEnumerable<AnyWhereConfigurationAdapterArgument> Enumerate();
}
} |
using UnityEngine;
using System.Collections;
public class GameMovieCtrl : MonoBehaviour {
public enum GameLinkEnum
{
LINK, //联机模式.
NO_LINK, //单机模式.
}
public GameLinkEnum GameLinkSt = GameLinkEnum.LINK;
/**
* YouMenSt == YouMenTaBanEnum.JiaoTaBan -> 机台采用脚踏板来控制运动.
* YouM... |
using BELCORP.GestorDocumental.BE.DDP;
using BELCORP.GestorDocumental.BL.DDP;
using BELCORP.GestorDocumental.Common;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using System;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls.WebParts;
namespace BELCORP.GestorDoc... |
using QTouristik.PlugIn.OVH_V3.Search.LM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QTouristik.PlugIn.OVH_V10.Search
{
public class SearchDBHelper
{
public List<SEH_UnitInfo> GetSEHUnitInfo(int touroperator)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ColourDoorOpen : MonoBehaviour
{
private Animator anim;
bool animPlayed = false;
private void Start()
{
anim = GetComponent<Animator>();
}
void Update()
{
GameObject Co... |
using SimpleRESTChat.DAL.Context;
using SimpleRESTChat.DAL.Repository.Interfaces;
using SimpleRESTChat.Entities;
namespace SimpleRESTChat.DAL.Repository
{
public class ChatHistoryRepository : RepositoryBase<ChatHistory>, IChatHistoryRepository
{
public ChatHistoryRepository(SimpleRestChatDbContext dbC... |
using System.ComponentModel.DataAnnotations;
using Imp.Web.Framework.Mvc;
namespace Imp.Admin.Models.Doc
{
public class CreateDirectoryModel : BaseImpModel
{
[Display(Name = "上级目录ID")]
public string ParentDirectoryId { get; set; }
[Display(Name = "上级目录名称")]
public string Paren... |
using System;
using System.ComponentModel.DataAnnotations;
using SciVacancies.WebApp.ViewModels.Base;
namespace SciVacancies.WebApp.ViewModels
{
public class EducationEditViewModel: ViewModelBase
{
public Guid ResearcherGuid { get; set; }
[Required(ErrorMessage = "Укажите название города")]
... |
using JT808.Protocol.Enums;
using JT808.Protocol.Formatters;
using JT808.Protocol.Interfaces;
using JT808.Protocol.MessagePack;
using JT808.Protocol.Metadata;
using System;
using System.Collections.Generic;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 设置路线
/// 0x8606
/// </summary>
pub... |
using System.Collections;
using FMODUnity;
using UnityEngine;
[RequireComponent(typeof(Player))]
public class PlayerGrappling : MonoBehaviour
{
[SerializeField] private StudioEventEmitter grappleSound;
[SerializeField] private float grappleCooldown = 3;
[SerializeField] private float maxPullStrength ... |
using System;
using System.IO;
namespace SkySaves
{
public class FileLocationTable
{
public uint FormIDArrayCountOffset { get; private set; }
public uint UnknownTable3Offset { get; private set; }
public uint GlobalDataTable1Offset { get; private set; }
public uint Glo... |
using entidad.inventario;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.SqlClient;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace backend.api.inventario.Controllers
{
public class ProductoController : ApiController
{
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
// using Newtonsoft.Json;
[System.Serializable]
public class CombatTurnVO
{
// public BSON.ObjectId id;
// public string _id;
// public string name;
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns.Structural.Composite
{
public class DatabaseAdministrator : Employee
{
public DatabaseAdministrator(string name, string title) : base(name, title)
{
}
}
} |
namespace ComputersApplication
{
using System;
public class Computers
{
//fields
private static Computer pc;
private static Computer laptop;
private static Computer server;
//methods
public static void Main()
{
var manufacturer = Console... |
using AutoMapper;
using MusicManager.Application.MusicLibrary.DTO.SongModule;
using MusicManager.Domain.MusicLibrary.SongModule.Aggregates.SongAgg;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MusicManager.Application.MusicLibrary.DTO.P... |
using Exiled.API.Features;
using Exiled.API.Enums;
using System;
using System.Net;
using System.Net.Http;
using System.Collections.Specialized;
using System.IO;
using System.Text;
using MEC;
using System.Collections.Generic;
namespace BanWebhook
{
public class BanWebhookPlugin : Plugin<Config>
{
#re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
namespace pub
{
class FileBackup
{
public void backupHigh(string backupPath, SettingLevels archiveMethod, volumeIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Communication
{
[Serializable]
public class Profile
{
static int idCCount =0;
int id;
private string username;
private string password;
pub... |
namespace PrettyLink.Domain.DataAccess
{
using System;
using System.Collections.Generic;
using System.IO;
using Fenris.Validation.ArgumentValidation;
using JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public class WordDataProvider : IWordDataProvider
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace ToDoManager.Converters
{
class BooleanToColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
... |
using System;
using System.Collections;
namespace MonoCov {
public abstract class CoverageItem {
public int hit;
public int missed;
public double coveragePercent;
public bool filtered;
public CoverageItem parent;
public ArrayList children;
public CoverageItem () {
hit = 0;
missed = 0;
coveragePerce... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Main_Menu : MonoBehaviour
{
public string roomname;
void Start()
{
}
void Update()
{
}
public void ON_CLICKGOTO() {
Application.LoadLevel(roomname);
}
public... |
using System;
using UnityEngine;
namespace UnityAtoms
{
/// <summary>
/// Different types of Event Reference usages.
/// </summary>
public class AtomEventReferenceUsage
{
public const int EVENT = 0;
public const int EVENT_INSTANCER = 1;
public const int VARIABLE = 2;
... |
// Copyright (c) 2020, mParticle, Inc
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
using Alabo.Cloud.School.BookingSignup.Dtos;
using Alabo.Domains.Entities;
using Alabo.Domains.Services;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
namespace Alabo.Cloud.School.BookingSignup.Domain.Services
{
public interface IBookingSignupService : IService<Entities.BookingSignup, ObjectI... |
namespace SmartyStreets.USReverseGeoApi
{
// marker interface for easy dependency injection and unit test mocking
public interface IUSReverseGeoClient : IClient<Lookup>
{
}
} |
namespace CarDealerApp.Controllers
{
using System.Collections.Generic;
using System.Web.Mvc;
using CarDealer.BindingModels;
using CarDealer.Services;
using CarDealer.ViewModels;
using CarDealer.ViewModels.Parts;
using CarDealer.ViewModels.Suppliers;
public class PartsController : Contr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Fish : MonoBehaviour
{
private Transform bob;
private Transform lookPos;
public void GetTransform (Transform newBob, Transform newLookPos)
{
bob = newBob;
lookPos = newLookPos;
}
void ... |
/*************************************************************
* Unity Object Pool (c) by ClockStone 2017 *
*
* Allows to "pool" prefab objects to avoid large number of
* Instantiate() calls.
*
* Usage:
*
* Add the PoolableObject script component to the prefab to be pooled.
* You c... |
using System;
using System.Collections;
using System.Data;
using HTB.Database;
using HTB.v2.intranetx.util;
using HTBExtras;
using HTBExtras.XML;
using HTBUtilities;
namespace HTB.v2.intranetx.aktenint.tablet
{
public partial class DownloadJournalTablet : TabletPage
{
protected void Page_Load(object s... |
using _7DRL_2021.Behaviors;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Results
{
class ActionMoveForward : IActionHasOrigin, ITickable, ISlider
{
public bool Done => Frame.Done;... |
namespace Atc
{
/// <summary>
/// GlobalizationLcidConstants.
/// </summary>
public static class GlobalizationLcidConstants
{
/// <summary>
/// The invariant.
/// </summary>
public const int Invariant = 0;
/// <summary>
/// United States - 1033.
... |
using Alabo.Datas.Stores.Exist.Mongo;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities.Core;
using Microsoft.EntityFrameworkCore;
using MongoDB.Driver;
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Alabo.Datas.Stores.Max.Mongo {
public abstract class MaxAsyncMong... |
using Framework.Core.Common;
using Tests.Data.Van;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main;
using NUnit.Framework;
using Tests.Pages.Van.Main.Common.DefaultPage;
namespace Tests.Projects.Van.Maintenance
{
public class SuccessfuleLogin
{
private Driver _driver;
priva... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Data.SqlClient;
using Fbtc.Infra.Helpers;
using Fbtc.Domain.Entities;
using Fbtc.Domain.Interfaces.Repositories;
using prmToolkit.AccessMultipleDatabaseWithAdoNet;
using prmToolkit.AccessMultipleDatabaseWithAdoNet.Enumerators;
using Syst... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using Microsoft.SqlServer.Server;
class Prob04
{
static void Main()
{
string inputLine = Console.ReadLine();
List<string> neList = ... |
using System;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// AtomCollection Instancer that creates an in memory copy of a Collection at runtime.
/// </summary>
[EditorIcon("atom-icon-hotpink")]
[DefaultExecutionOrder(Runtime.ExecutionOrder.VARIABLE_INSTANCER)]
[AddCompone... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Text;
using System.Xml.Serialization;
namespace CacheSqlXmlService.SqlManager
{
[XmlRoot("dataOperations")]
public class DataOperations
{
[XmlElement("dataCommand")]
public DataComm... |
using System;
using AutoMapper;
using Mapper.Mappers;
using Mapper.Objects;
namespace Mapper
{
class Program
{
static void Main()
{
CreateAutoMapper();
const int tries = 1000000;
TestMapper(new UnoptimizedMapper(), "Unoptimized", tries);
TestMap... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Upgrader.SqlServer;
namespace Upgrader.Test.SqlServer
{
[TestClass]
public class TableInfoSqlServerTest : TableInfoTest
{
public TableInfoSqlServerTest() : base(new SqlServerDatabase(AssemblyInitialize.SqlServerConnectionString))
{
... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Vector2`. Inherits from `AtomDrawer<Vector2Event>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace eLibrary.Common
{
public class DataTableExtensions
{
public static T GetModel<T>(DataRow row) where T : class, new()
{
... |
using Project_Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Linq.Expressions;
using Project_Core;
using Project_DAL;
using System.Data.Entity;
namespace Project_BLL
{
public class ManagerBase<T> : IBusiness<T> where T : Ent... |
using PatientService.Model.Specification;
namespace PatientService.Model.ExaminationSpecification
{
public class ExaminationAnamnesisSpecification : CompositeSpecification<Examination>
{
private string _anamnesis;
public ExaminationAnamnesisSpecification(string anamnesis)
{
... |
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Android.Views.InputMethods;
namespace CalCal
{
[Activity(Label = "", MainLauncher = true, Icon = "@drawable/ccicon")]
public class MainActivity : Activity
{
... |
using SchoolScheduleLibrary;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using System.Drawing;
using Tesseract;
namespace SchoolScheduleLibrary
{
public class SchoolScheduleLoader
{
static uint numOfDay = 5;
st... |
using UnityEngine;
using UnityEngine.Audio;
public class settingsMenu : MonoBehaviour
{
public AudioMixer audioMix;
public void SetVolumeMaster(float volume)
{
audioMix.SetFloat("masterVolume", volume);
}
public void SetVolumeBGM(float volume)
{
audioMix.SetFloat("BGMVolume", volume);
}
public void SetVo... |
namespace UpravljanjeCekanjem
{
using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using UpravljanjeCekanjem.Models;
public partial class DataBaseEntities : DbContext
{
public DataBaseEntities()
: base("name=Dat... |
using Microsoft.AspNetCore.Http;
using TaxiService.CarCatalog.Models;
namespace TaxiService.CarCatalog.DTO
{
public class CarDTO
{
public int CarId { get; set; }
public string Model { get; set; }
public int CategoryId { get; set; }
public string ImageName { get; set; }
... |
namespace CurrentPlayerInformation.Models
{
public class PlayerStatistic
{
public PlayerLevel Level { get; set; }
public double PP { get; set; }
public int GlobalRank { get; set; }
public int CountryRank { get; set; }
public long RankedScore { get; set; }
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SelectTypeScene : MonoBehaviour {
public GameObject logout;
// Use this for initialization
void Start () {
DontDestroyOnLoad(logout);
}
// Update is called once per frame
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//160. Intersection of Two Linked Lists
namespace IntersectionOfTwoLinkedLists
{
class IntersectionOfTwoLinkedLists
{
public class ListNode
{
public int val;
public ListNode next;
... |
using UnityEngine;
using System.Collections;
public class Menu : MonoBehaviour {
public Texture turnMusicOn;
public Texture turnMusicOff;
public AudioSource music;
public AudioSource effects;
void OnGUI()
{
switch(GameState.GetInstance().MainState)
{
case MainState.MENU:
ShowMainMenu();
break;
c... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ComLib.Unity.Scripts
{
/// <summary>
/// This is an edited version of the one in the link below.
/// Original idea: http://www.alexmasse.com/blog/2016/3/5/objet-pooling-in-unity3d
/// </summary>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Cradiator.MigrateConfig
{
public class MultiviewMigrator
{
private readonly XDocWrapper _xdoc;
public MultiviewMigrator(string xmlFile)
{
_xdoc = new XDocWrapper(xmlFile);
}
public strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class Leaderboard : MonoBehaviour
{
public GameObject[] Heroes;
public GameObject Lboard;
public TMP_Text textLeaderboard;
bool textfull =false ;
public void OnGetMoney()
{
if (NotNull... |
using CenterSpace.NMath.Core;
using MathNet.Numerics;//要裝,自己去youtube看怎麼裝
using OpenCvSharp;
using OpenCvSharp.Extensions;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.Threading;
using System.Windows.Forms;
//using System.Windows.Forms.DataVisualization... |
using Logger.Interfaces;
using Logger.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Logger.Loggers
{
public class MyLogger
{
private readonly List<IAppender> appenders;
public MyLogger(params IAppender[] appenders)
{
... |
namespace DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.ContentItemVersions
{
public interface INeutralEventContentItemVersion : IContentItemVersion
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WcfServiceHost.ITS_Service
{
using Entity;
using Repository.ITSRepo;
using DTO.ITSDTO;
using System.ServiceModel;
public class EtiketCihazıService : ITS_ServiceBase<Etiket... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebQLKhoaHoc;
using WebQLKhoaHoc.Models;
namespace WebQLKhoaHoc.Controllers
{
[CustomizeAuthorize(Roles = "1... |
using System.ComponentModel.DataAnnotations;
namespace FormSubmission.Models
{
public class User
{
[Required]
[MinLength(3, ErrorMessage = "First Name must be at least 3 characters")]
[Display(Name = "First Name")]
public string FirstName { get; set; }
[Required]
... |
using University.Data;
using University.Data.CustomEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace University.Service.Interface
{
public interface IProductService
{
//IEnumerable<Product> GetUserVideosList();
... |
// Copyright (c) Bruno Brant. All rights reserved.
using System;
namespace RestLittle
{
/// <summary>
/// Configuration for <see cref="UserIdleMonitor"/>.
/// </summary>
public interface IRestingMonitorConfiguration
{
/// <summary>
/// Gets maximum amount of time using the computer without rest.
/// </summ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreHelper;
namespace CRL.Account
{
public class ITransaction : Transaction
{
}
/// <summary>
/// 操作流水
/// 不要继承
/// </summary>
[Attribute.Table(TableName = "AccountTransaction")]
public class... |
using System;
using UnityEngine;
public class PositionAtFaceScreenSpace : MonoBehaviour
{
private readonly float[] distances = new float[300];
private int distancesArrayPos = 0;
private float averageDistance = 0;
private Vector3 lastHeadPos;
private bool scareEnabled = false;
AudioSource audioS... |
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 Автошкола
{
public partial class AddEditTheoryLessonForm : Form
{
public AddEd... |
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 StockTracking.BLL;
using StockTracking.DAL.DTO;
namespace StockTracking
{
public partial class... |
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 STM
{
public partial class Form1 : Form
{
conn co... |
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
namespace RabbitMQ.Async
{
internal class AckNackConfirmStrategy : IConfirmStrategy
{
private readonly ConcurrentDictionary<ulong,... |
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
public interface IAdsSystem
{
void ShowBanner();
void HideBanner();
bool IsRewardedAdsReady(string adId);
Task<bool> ShowRewardedAds(string adId);
bool IsInterstitial... |
using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
using RimlightArchive.Defs;
namespace RimlightArchive.Comps
{
/// <summary>
/// Handler for making a pawn Radiant.
/// </summary>
[StaticConstructorOnStartup]
public class HediffComp_Radiant : HediffComp
{
p... |
/**
* Copyright (c) 2010-2011, Richard Z.H. Wang <http://zhwang.me/>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any l... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using HTB.Database;
using HTB.Database.LookupRecords;
using HTB.Database.StoredProcs;
using HTB.Database.Views;
using ... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using BusinessObjects;
namespace LooksGood.A... |
using AngleSharp.Html.Parser;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using MyMovies.DAL;
using MyMovies.Parser.DataBase;
using MyMovies.Parser.Sites;
using System;
using System.IO;
namespace MyMovies.Parser
{
internal static class Program
{
public static HtmlPar... |
using Mojang.Minecraft;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using static System.Math;
namespace TestConsole
{
partial class TestClient
{
private class NumTest : ICommand
{
privat... |
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 EggsToGo;
using BarChart;
using MoodleObjects;
namespace MoodleStats.Droid
{
[Activity (Label = "... |
using UnityEngine;
using System.Collections;
public class Ball : MonoBehaviour {
public enum MovingType
{
Straight,
Sine
}
MovingType moveType;
Rigidbody2D thisrigidbody;
float verticalSpeed;
float horizontalSpeed;
float leftSlowDown;
float rightSlowDown;
flo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Turret : MonoBehaviour
{
[SerializeField]
private float rechargeTime;
private float _rechargeTime;
[SerializeField]
private GameObject bulletPrefab;
[SerializeField]
private Ga... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using prjSecondApplication.Models;
namespace prjSecondApplication.Controllers
{
public class PersonController : ApiController
{
static List<Person> personlist = new List<... |
namespace Sind.Web.Publico.Code
{
public enum TipoMensagemEnum
{
Sucesso =0,
Alerta =1,
Erro =2
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Blog
{
public class PostMetadata
{
[HiddenInput(DisplayValue = false)]
public int PostId { get; set; }
[Display(Name = "Tyt... |
using UnityEngine;
public class TitleBomb : MonoBehaviour
{
/// <summary>
/// タイトルシーンで落ちてくる爆弾
/// </summary>
//デストロイ
private bool destroyFlg = false;
//爆発のパーティクル、子オブジェクト
private ParticleSystem boomParticle;
//collision
Collider[] bombColl;
//rigidbody
Rigidbody rb;
[S... |
using System;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace NetEscapades.AspNetCore.SecurityHeaders.TagHelpers
{
/// <summary>
///... |
namespace BoatRacingSimulator.Models.Engines
{
using Enumerations;
public class JetEngine : Engine
{
private const int Multiplier = 5;
private int cachedOutput;
public JetEngine(
string model,
int horsepower,
int displacement) : base(
... |
using System;
using Flux.src.Flux.Renderer;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Input;
namespace Sandbox.src
{
public class ObjTest : GameWindow
{
FreeSpaceCameraController camera;
Shader flatShader;
Shader texShader;
IShape cube;
// Obj data
Tuple<float[], float[], uint[]> ObjData;
V... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.