text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSG东莞路测客户端
{
public class GPSInfo
{
public string Time { get; set; }
public double Lng { get; set; }
public double Lat { get; set; }
public int GridID {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CustomString
{
class Program
{
// Create a custom string structure:
// Create an ICustomString interface with the following custom functions:
// string ToString()
// ... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Communicator.Infrastructure.Dto;
namespace Communicator.Infrastructure.IServices
{
public interface IMessageService
{
Task Add(Guid to, Guid from, string title, string body);
Task<IEnumerable<MessageDto>> GetTo... |
using System;
using System.Collections.Generic;
using System.Linq;
class ABC123B{
public static void Main(){
var ae = new List<int>();
ae.Add(int.Parse(Console.ReadLine()));
ae.Add(int.Parse(Console.ReadLine()));
ae.Add(int.Parse(Console.ReadLine()));
ae.Add(int.Parse(Consol... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
using System.Configuration;
using DevExpress.Xt... |
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Data.SqlClient;
using System.Collections.Generic;
/// <summary>
/// Summary description for DataAccessLayer
/// </summary>
public static class DataAccessLayer
{
//public static string ConnectionString =@"data source=BUGNET... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace Algorithms.LeetCode
{
public class PerformanceOfTeam
{
public int MaxPerformance(int n, int[] speed, int[] efficiency, int k)
{
var workers = new List<(int s, int e)>(n);
... |
using ApiSGCOlimpiada.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiSGCOlimpiada.Data.ProdutoDAO
{
public interface IProdutoDAO
{
IEnumerable<Produto> GetAll();
Produto Find(long codigoProtheus);
Produto FindByProt... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Tensorflow;
using static Tensorflow.Binding;
namespace TensorFlowNET.Examples.ImageProcessing.YOLO
{
class common
{
public static Tensor convolutional(Tensor input_data, int[] filters_... |
using System;
using System.Reflection;
using System.Security.Claims;
using System.Threading.Tasks;
using ApiTemplate.Common.Exceptions;
using ApiTemplate.Common.Markers.DependencyRegistrar;
using ApiTemplate.Core.Entities.Users;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
namespace ApiTe... |
using MyShop.Core.Contracts;
using MyShop.Core.Model;
using MyShop.DataAccess.Sql.Migrations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MyShop.Core.Model;
using Customer = MyShop.Core.Model.Customer;
namespace MyShop.WebUI.Controllers
{
public... |
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Function x 2 of type `int`. Inherits from `AtomFunction<int, int>`.
/// </summary>
[EditorIcon("atom-icon-sand")]
public abstract class IntIntFunction : AtomFunction<int, int> { }
}
|
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
namespace OnlineStore.Model
{
public class OnlineStore : DbContext
{
public DbSet<ShopingCart> ShopingCarts { get; set; }
public DbSet<Order> Orders { get; set; }
public DbSet<Category> Categories { g... |
using EnvDTE;
using Microsoft.master2.assembly;
using Microsoft.master2.contextmodel;
using Microsoft.master2.graph;
using Microsoft.master2.model;
using Microsoft.Master2.assembly;
using Microsoft.Master2.command;
using Relations;
using System;
using System.Collections;
using System.Collections.Generic;
us... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
namespace DelftTools.Utils.Binding
{
/// <summary>
/// Class to get a list Key,Value of an enum where the keys is the enum value and the value the description
/// Copied from... |
using Models;
namespace OdborkyApp.Model
{
public class UserDetails
{
public int UserId { get; }
public int UnitId { get; }
public int PersonId { get; }
public string UserName { get; }
public bool IsUnitAdmin { get; }
public MembershipCategoryId CategoryId { get... |
namespace PatternsCore.FrameWorkStyleFactory.AbstractFactory
{
public interface ICheese
{
string ToString();
}
public class ReginaCheese:ICheese
{
public override string ToString()
{
return "regiana cheese";
}
}
public class MozerellaCheese : IChee... |
namespace DragDotNet.Api
{
public class ScoundrelInfo
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Gender { get; set; }
public string DateOfBirth { get; set; }
public string IdentifyGuid { get; set; }
public string Id... |
using System;
namespace AnalogDisplay
{
/// <summary>
/// Threshold Adapter takes an input and outputs a series of thresholded values
/// </summary>
public class ThresholdAdapter : Adapter
{
public ThresholdAdapter()
{
//
// TODO: Add constructor logic here
//
}
public ThresholdA... |
using DataLightning.Core;
using DataLightning.Core.Operators;
using DataLightning.Examples.Questions.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DataLightning.Examples.Questions
{
public class Engine
{
private readonly PassThroughUnit<Question> _questions;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exp002_Sb_Saga
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("---Tripping Saga Service---");
var trippingService = new ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TaskScheduler;
namespace CarManageSystem.helper
{
public class TaskScheduler
{
/// <summary>
/// delete task
/// </summary>
/// <param name="taskName"></param>
public static void ... |
using System.Collections.Generic;
using InvertedIndex.FileHandler;
namespace InvertedIndex.Keywords
{
public interface Keyword
{
string GetWord();
HashSet<Doc> Operate(HashSet<Doc> docs, HashSet<Doc> newDocs);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace EventDepartmentManager
{
public class Log
{
public static void logging(string log)
{
using (var l = File.AppendText("../../log.txt"))
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Target : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (PreviousPage != null && PreviousPage.IsCrossPagePostB... |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using WitsmlExplorer.Api.Repositories;
namespace WitsmlExplorer.Api.Models
{
public class Server: DbDocument<Guid>
{
public Server() : base(Guid.NewGuid())
{
}
[JsonPropertyName("name")]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ProjetoMVC.Models;
namespace ProjetoMVC.Controllers
{
public class AulaController : Controller
{
[HttpGet]
public IActionResult Matricular()
{
... |
namespace EnduroCalculator
{
public interface ITrackCalculation
{
IPrintCalculation CalculateAll();
}
} |
/*
* Exception that is thrown when an illegal request is made to the Board.
* e.g.
* Trying to get information on non-existing room
* Maybe merge this with some other Exception in future?
* Copyright (c) Yulo Leake 2016
*/
using System;
namespace Deadwood.Model.Exceptions
{
class IllegalBoardReque... |
using System;
using System.Text;
public class Test
{
public string Start(int[] array, int n)
{
StringBuilder s = new StringBuilder();
Random rd = new Random();
int[] a = new int[array.Length]; //用数组a表示该数有没有被取过,取过为1。
for (int i = 0; i < n; i++)
{
int ... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class TransitionController : MonoBehaviour {
private GameController gc;
public Text hintText;
public int timeToGame; // from transition to game time
// Use this for initialization
void Start () {
gc = GameController.gc;
gc.gameTi... |
using System;
using System.IO;
using System.Net;
namespace Common
{
public static class ExternalWebRequests
{
static ExternalWebRequests()
{
//Allow all client certs. Treat a client cert like anonymous.
ServicePointManager.ServerCertificateValidationCallback = delegate ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using RimWorld;
using Verse;
using UnityEngine;
using Harmony;
namespace DontShaveYourHead
{
public class Controller : Mod
{
public Controller(ModContentPack content) : base(content)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using SAAS.Framework.Orm.EfCore.UnitWork;
namespace SysBase.Domain.Models
{
public partial class SysIcon: BaseEntity<int>
{
public string Code { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Anywhere2Go.Business.Master;
using Anywhere2Go.Business.Utility;
using Anywhere2Go.DataAccess.Object;
using Anywhere2Go.DataAccess.Entity;
using Anywhere2Go.DataAccess;
namespace Claimdi.Web.MY.Controller... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using MainWebApplication;
using MainWebApplication.Models;
namespace MainWebApplication.Data
{
public class MainWebApplicationContext : DbContext
{
public MainWebApplic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntVenta
{
public class Box
{
public int Id { get; set; }
public string Descripcion { get; set; }
public string Tema { get; set; }
public string SerialPC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Langium.DataLayer.DataAccessObjects;
using Langium.DataLayer.DbModels;
using Langium.Domain;
using Langium.PresentationLayer;
using Langium.PresentationLayer.ViewModels;
using Langium.WebAPI.ViewModels;
using Microso... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.Entity.WMS;
using com.Sconit.Entity.INV;
using com.Sconit.Entity.Exception;
using com.Sconit.Entity;
using com.Sconit.Entity.ACC;
using System.Data;
using System.Data.SqlClient;
namespace com.Sconit.Service.Impl
{
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.WMS
{
[Serializable]
public partial class UnpickShipPlan : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
public Int32? ShipPlanId { get; set; }
public string Flow { get; set; ... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text.Json;
using System.Threading.Tasks;
using Airelax.Application.Account;
using Airelax.Application.Houses.Dtos.Request.ManageHouse;
using Airelax.Application.Houses.Dtos.Response;
using Aire... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
namespace Leaf
{
public class KeyHandler
{
#region Singleton
private static readonly KeyHandler INSTANCE = new KeyHandler();
public static KeyHandler Get()
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Claims;
using System.Web.Mvc;
using BradescoPGP.Common;
using BradescoPGP.Common.Logging;
using BradescoPGP.Repositorio;
using BradescoPGP.Web.... |
using System;
using System.Collections.Generic;
using System.Linq;
using LeanEngine.Entity;
using LeanEngine.Utility;
using System.Threading.Tasks;
namespace LeanEngine.OAE
{
/// <summary>
/// Just In Time
/// </summary>
public class JIT2 : JIT
{
public JIT2(List<Plans> Plans, List<InvBala... |
using AutoFixture;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Web.Mappers.Apprentice;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice;
using System;
using System.Threading.Tasks;
using SFA.DAS.ProviderCommitments.Interfaces;
using SFA.DAS.ProviderCom... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BMPFilter
{
class Filters
{
BitmapIO io;
byte[, ,] bmp;
int[, ,] newbmp;
BitmapHeader h;
BitmapInfo inf;
public Filters(BitmapIO io)
{
this.io = ... |
using System;
namespace Bat.BL
{
public class PersonService
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Checkers.Domain.Objects
{
public class CheckersGame
{
private int _firstPlayerCount = 12;
private int _secondPlayerCount = 12;
private readonly int[,] _board = ... |
namespace Searcher
{
using Microsoft.VisualStudio.Shell;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
/// <summary>
... |
using Anywhere2Go.Business.Master;
using Anywhere2Go.DataAccess;
using Anywhere2Go.DataAccess.Entity;
using Anywhere2Go.DataAccess.Object;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Anywhere2Go.Business.Utility
{
public class NaTemplateReportLogic
... |
namespace _01_Alabo.Cloud.Core.SendSms.Domain.Enums
{
public enum SendState
{
/// <summary>
/// 初始状态 未发送
/// </summary>
Root = 0,
/// <summary>
/// 发送成功
/// </summary>
Success = 1,
/// <summary>
/// 发送失败
/// <... |
using ServiceQuotes.Domain.Entities;
using System.Threading.Tasks;
namespace ServiceQuotes.Domain.Repositories
{
public interface IRefreshTokenRepository : IRepository<RefreshToken>
{
Task<RefreshToken> GetByToken(string token);
}
}
|
using Witsml.Data;
using Witsml.Extensions;
using WitsmlExplorer.Api.Models;
namespace WitsmlExplorer.Api.Query
{
public static class WellQueries
{
public static WitsmlWells GetAllWitsmlWells()
{
return GetWitsmlWell();
}
public static WitsmlWells GetWitsmlWellByUid... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Spwn : MonoBehaviour
{
public GameObject prefab;
public GameObject prefab2;
private Pool pool;
private Pool pool2;
private float randomX,randomY,randomZ;
void Start()
{
pool ... |
using Microsoft.Xna.Framework;
using Newtonsoft.Json.Linq;
using ProjectBueno.Engine;
using ProjectBueno.Game.Entities;
using System;
namespace ProjectBueno.Game.Spells
{
//Base Skill for Shapes
public abstract class SkillShape : Skill
{
protected SkillShape(JObject skill) : base(skill)
{
#warning To load
p... |
using Alabo.Cloud.People.UserDigitals.Domain.Entities;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Cloud.People.UserDigitals.Domain.Repositories
{
public interface IUserDigitalRepository : IRepository<UserDigital, ObjectId>
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Business.OnlinePay.Company.ChinaPay.TradeQuery
{
public class Response : ResponseBase
{
public override string ResponseName
{
get { return "A101TranStaInqRs"; }
}
///... |
using System;
using System.Collections.Generic;
using System.Text;
using EQS.AccessControl.Domain.ObjectValue;
namespace EQS.AccessControl.Domain.Interfaces.Services.Base
{
public interface IBaseService<TEntity> where TEntity : class
{
TEntity Create(TEntity entity);
TEntity Update(TEntity ent... |
// -----------------------------------------------------------------------
// <copyright file="LocalizationHelper.cs">
// Copyright (c) Michal Pokorný. All Rights Reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Pentagon.Extensions.Localization {
usi... |
using Autofac;
using EmberKernel.Plugins;
using EmberKernel.Plugins.Attributes;
using EmberKernel.Plugins.Components;
using EmberKernel.Services.Statistic.Extension;
using EmberMemoryReader.Abstract.Data;
using System.Threading.Tasks;
namespace EmberMemoryReader
{
[EmberPlugin(Author = "Deliay", Name = "Ember Mem... |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace BlackJack
{
public partial class Form_Single_Player : Form
{
internal Deck deck_player = new Deck();
public static int ResultPlayer;
internal static List<Card> ListCardPlayer = new List<Card... |
namespace Vlc.DotNet.Core
{
public interface ILogoManagement
{
bool Enabled { get; set; }
string File { set; }
int X { get; set; }
int Y { get; set; }
int Delay { get; set; }
int Opacity { get; set; }
int Position { get; set; }
}
}
|
using System;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Pobs.Domain;
using Pobs.Domain.Entities;
using Pobs.Tests.Integration.Helpers;
using Pobs.Web.Models.Questions;
using Xunit;
namespace Pobs.Tests.Integration.Notifications
{
public class PostAnswerTests : IDispo... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text.RegularExpressions;
using PetaPoco;
namespace NBlog.Web.Application.Storage.Sql
{
public class SqlRepository : IRepository
{
private readonly RepositoryKeys _keys;
private readonly... |
using System;
using System.Collections.Generic;
namespace FBS.Domain.Core
{
public abstract class DomainEventBase : IDomainEvent, IEquatable<DomainEventBase>
{
protected DomainEventBase()
{
EventId = Guid.NewGuid();
}
protected DomainEventBase(Guid aggregateId) : t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using LicenseObjects;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Security.Cryptography;
namespace AxiEndPoint.EndPointServer.MessageHandlers
{
public class ActiveClient... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _02.SetOfExtensions;
namespace _06.ArrayNumbersDivisible
{
class MainProg
{
static void Main()
{
int[] arr = new int[] { 3, 7, 9, 12, 21, 43};
Divi... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace SOLIDPrinciples.ValidationClass.Example02.BestSolution
{
public enum Cargo
{
DESENVOLVEDOR,
DBA,
TESTER
}
}
|
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TweetApp.DAL.Interfaces;
using TweetApp.DTOs;
using TweetApp.Entities;
namespace TweetApp.Controllers
{
[ApiController]
[ApiVersion("... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExecuteBase : SkillBase
{
protected ChessEntity GetTarget(SkillArgs args, string targetStr = "")
{
if(string.IsNullOrEmpty(targetStr))
{
targetStr = GetProp("Target");
}
if (string.IsNullOrEmpty(targetStr))
re... |
// Copyright 2013-2015 Serilog 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... |
using System;
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms;
namespace LoginNavigation
{
public partial class UploadProfilePicPage : ContentPage
{
public UploadProfilePicPage()
{
InitializeComponent();
profilePic.Source = ImageSource.FromUri(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbstractsInterfaces
{
interface IMyInterfaceL6
{
char GetChar(int n);
char this[int k] { get; }
}
internal class AlphaL6 : IMyInterfaceL6
{
private... |
using System;
using System.Net;
using System.Threading.Tasks;
using Couchbase.Extensions.DependencyInjection;
using Couchbase.Query;
using MicroserviceExample.Models;
using Microsoft.AspNetCore.Mvc;
namespace MicroserviceExample.Controllers
{
public class EventController : Controller
{
private readonl... |
using System;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace benchmarks
{
class Program
{
static void Main(string[] args)
{
var summary = BenchmarkRu... |
namespace Krafteq.ElsterModel
{
using LanguageExt;
public class KzFieldFormValidationError
{
public KzFieldFormValidationError(Lst<KzFieldValidationError> errors)
{
this.Errors = errors;
}
public Lst<KzFieldValidationError> Errors { get; }
}
} |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Tool.Payment
{
/// <summary>
/// 支付方式
/// </summary>
[ClassProperty(Name = "支付方式")]
public enum PayType
{
/// <summary>
/// 余额支付
/// 会员在系统内的余额
/// </summary>... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using WebApplicationBlog_DejanSavanovic.DBModels;
namespace WebApplicationBlog_DejanSavanovic.Models
{
public class KorisnikViewModel: IValidatabl... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
[ExecuteInEditMode]
public class FogOfWarManager : MonoBehaviour
{
private const int textureSize = 512;
private const TextureFormat textureFormat = TextureFormat.RGB565;
// Layer
public float MinHeight ... |
using Microsoft.ProjectOxford.Face;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Microsoft.ProjectOxford.Face.Contract;
using Newtonsoft.Json;
using Office.BusinessLogic;
using Office.BusinessLogic.Services;
using Office.D... |
using Shared.Messages;
using Shared.Xml;
using System;
using System.Threading.Tasks;
namespace ScratchPad {
class Program {
static async Task Main(string[] args) {
var messageHandler = new XDocumentMessageDispatcher();
//register handler
messageHandler.Register<HeartBe... |
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace Office2007Renderer.ThemedControls
{
[System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.Label)), ToolboxItem(false)]
public class ThemedLabel : System.Windows.Forms.Label
{
public override Sys... |
namespace DesignPatterns.Creational.AbstractFactory
{
public class BasicLunch : LunchMenu
{
public override string GetMenu()
{
return "Basic Lunch: Sandwich, soup, soda";
}
}
} |
namespace hurb_sap.Models
{
public class ResponseModel
{
public int Id { get; set; }
public string Status { get; set; }
public string Message { get; set; }
public object Objects { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace EF_Demo
{
public partial class Form1 : Form
{
demodbEntities db ... |
namespace Sentry.Tests.Helpers;
public abstract class MockableHttpMessageHandler : HttpMessageHandler
{
public abstract Task<HttpResponseMessage> VerifiableSendAsync(
HttpRequestMessage request,
CancellationToken cancellationToken);
protected sealed override Task<HttpResponseMessage> SendAsync... |
using JustOffer.Configuration;
using JustOffer.MenuDatabase;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace JustOffer.UnitTest
{
[TestClass]
public class TestDatabaseSave
{
[TestMethod]
public void TestSave()
{
var r = new Random();
... |
using Sentry.AspNetCore.TestUtils;
namespace Sentry.Serilog.Tests;
[Collection(nameof(SentrySdkCollection))]
public class AspNetCoreIntegrationTests : SerilogAspNetSentrySdkTestFixture
{
[Fact]
public async Task UnhandledException_MarkedAsUnhandled()
{
var handler = new RequestHandler
{
... |
using UnityEngine;
using System.Collections;
//[ExecuteInEditMode]
public class AutoPosYByScreenRatio : MonoBehaviour {
void Awake(){
float ratioDefault = 9.0f / 16;
float ratio = Screen.width * 1.0f / Screen.height;
float scale = ratioDefault/ratio;
if(scale<0.99f){
Vector3 vec = transform.localPosition... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
namespace Meshop.Framework.Widgets
{
public static class WidgetterResolver
{
public static Widgetter Resolve(HtmlHelper html)
{
var defaultWidgetter = new Default... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Arrays
{
/// <summary>
/// Given a histogram, we need to find the water that can get collected in puddles if rain happens
/// </summary>
class WaterCollectedI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TinhLuongDataAdapter;
using System.Data.SqlClient;
using System.Data;
using TinhLuongINFO;
namespace TinhLuongDAL
{
public class ChamCongDAL
{
public DataTable GetChamCong... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SportsPro.Administration
{
public partial class ProductMaintenance : System.Web.UI.Page
{
private static string error;
private static string Dat... |
using System;
using System.Windows.Forms;
using DelftTools.Controls;
using DelftTools.Controls.Swf;
using DelftTools.TestUtils;
using NUnit.Framework;
namespace DelftTools.Tests.Controls.Swf
{
[TestFixture]
public class WindowsFormsHelperTests
{
[Test]
public void DragDropEffectsFromDragOp... |
using AutoService.Core.Contracts;
using AutoService.Core.Validator;
using AutoService.Models.Common.Contracts;
using AutoService.Models.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutoService.Core.Commands
{
public class RemoveEmployeeResponsibility : IComm... |
//------------------------------------------------------------------------------------------------------------------
// Volumetric Fog & Mist
// Created by Ramiro Oliva (Kronnect)
//------------------------------------------------------------------------------------------------------------------
using UnityEngine;
usin... |
using ConcurrentCollections;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using JhinBot.DiscordObjects;
using JhinBot.Services;
using JhinBot.Utils;
using JhinBot.Utils.Exceptions;
using NLog;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerStatsActions : MonoBehaviour
{
private GameObject playerHealthbar;
private GameObject playerStaminabar;
private PlayerBase playerStats;
// Use this for initialization
void Star... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SummoningItem : MonoBehaviour {
public GameObject Item;
public GameObject InfoPanel;
public string Atk, Def, Hp, Type, Name;
public Text NameText;
// Use this for initialization
void Start () {
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Docller.Core.Models;
namespace Docller.Common
{
public class TransmittalViewModelBinder:DefaultModelBinder
{
protected override void BindProperty(ControllerCont... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.