text stringlengths 13 6.01M |
|---|
using Project.Interface;
using Project.Model;
using Project.Object;
using Project.View;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Presenter
{
class LoginSignupPresenter
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jypeli.Physics.Joints
{
/// <summary>
/// Rajapinta liitoksille jotka pitävät sisällään moottorin.
/// Esimerkiksi Farseerin WheelJoint
/// </summary>
public interface IMot... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using UBaseline.Core.Controllers;
using UBaseline.Core.Node;
using UBaseline.Core.RequestContext;
using Uintra.Core.Member.Entities;
using Uintra.Core.Member.Services;
using Uintra.Features.Notificat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using HTBUtilities;
namespace HTBExtras
{
public class AussendienstCollectedRecordComparer : IComparer
{
public const string SortByAktId = "AktID";
public const string SortByAktAz = "... |
namespace TripDestination.Web.MVC.Controllers
{
using AutoMapper;
using Data.Models;
using System.Security.Principal;
using System.Web.Mvc;
using Common.Infrastructure.Mapping;
using Services.Web.Services.Contracts;
using Services.Data.Contracts;
using Microsoft.AspNet.Identity;
usi... |
using CarRental.API.BL.Models.Clients;
using CarRental.API.BL.Models.Reservations;
using CarRental.API.DAL.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CarRental.API.BL.Services.Reservation
{
public interface IReservationService
{
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Delivery.WebApi.Services;
using Inventory.Data;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Delivery.WebApi.Controllers
{
//[Authorize]
[Route("api/[c... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class GenerateWorld : MonoBehaviour {
public Text gridText;
public int gridSizeX = 10, gridSizeY = 10, areaSize = 3, density = 2;
private int seed = System.DateTime.Now.Millisecond;
private en... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Lecture08.BlogPosts.WebApi.Models
{
[DataContract]
public class BlogPostDataTransfer
{
[DataMember]
public Int32 Id { get; set; }
[DataMember]
public String Title { get; set; }
... |
using AKCore.DataModel;
using AKCore.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace A... |
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.XtraGrid.Views.Grid;
using IRAP.Global;
using IRAP.Client.Global;
using IRAP.Client.User;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RectangleApplication
{
class rectangleDefine
{
double w, h;
public void acceptDetails(double q,double s)
{
w = q;
h = s;
}
... |
using System.ComponentModel.DataAnnotations;
namespace Eevee.Models
{
public class InstrumentType
{
public int InstrumentTypeID { get; set; }
[Required]
public string Name { get; set; }
[DataType(DataType.ImageUrl)]
public string Image { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Web;
using System.Net;
using System.Data;
using System.Text.RegularExpressions;
namespace GetCities.Classes
{
public class CityInfo
{
public string cityName;
public string cityUrl;
public CityInfo()
{
cit... |
using DataAccess.Extensions;
using System.Collections.Generic;
using System.Linq;
using WebAPI.BusinessLogic.Contracts;
using WebAPI.DataAccess.Models;
using Domain = BusinessLogic.Domain;
namespace WebAPI.DataAccess
{
public class UserRepository : RepositoryBase<User>, IUserRepository
{
public UserRe... |
using GuestbookSystem.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GuestbookSystem.Controllers
{
public class AdminController : Controller
{
// GET: Admin
GBSDBContext db = ne... |
using System.IO;
namespace Shipwreck.TypeScriptModels.Declarations
{
public sealed class TypeQuery : ITypeReference
{
public bool? IsClass => null;
public bool? IsInterface => null;
public bool? IsEnum => null;
public string Name { get; set; }
public void WriteTypeR... |
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 info.lundin.math;
namespace Interpolação
{
public partial class Grafico : Form
{
p... |
using Assistenza.BufDalsi.Data.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Assistenza.BufDalsi.Web.Models.ManutenzioneViewModels
{
public class InsertManutenzioneViewModel
{
public Inser... |
using UnityEngine;
using System.Collections;
using Windows.Kinect;
public class DepthParticlize : MonoBehaviour
{
public GameObject MultiSourceManager;
private KinectSensor _Sensor;
private CoordinateMapper _Mapper;
private MultiSourceManager _MultiManager;
FrameDescription depthFrameDesc;
C... |
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.Content.Services.Interface;
using DFC.ServiceTaxonomy.GraphSync.Enums;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Contexts;
using DFC.Serv... |
using System;
using FluentAssertions;
using Xunit;
namespace PluralsightDdd.SharedKernel.UnitTests.BaseDomainEventTests
{
public class BaseDomainEvent_Constructor
{
public class TestEvent : BaseDomainEvent
{ }
[Fact]
public void SetsTimeToCurrentTime()
{
var newEvent = new TestEvent();
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Imaging;
using PlanMGMT.BLL;
namespace PlanMGMT.Module
{
/// <summary>
/// TaskListModule.xaml 的交互逻辑
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerLives : MonoBehaviour
{
public Image[] hearts;
private static int lives;
public static int maxLives;
public static GameObject player;
public static float invulTimer;
private ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KartObjects;
using KartLib;
using KartSystem.Presenters;
namespace KartSystem
{
public partial class FormLogonUser : Form,IL... |
using System;
using System.Text.RegularExpressions;
using System.Linq;
namespace WorldDominationCrawler
{
internal static class HtmlParser
{
private static Regex TitleRegex = new Regex("<title.*>([^<]+)</title>", RegexOptions.Multiline | RegexOptions.IgnoreCase);
private static Regex HrefRegex ... |
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
namespace ZC_IT_TimeTracking.DataAccess.SQLParamFinder
{
class Program
{
static void Main(string[] args)
{
string connectionString = @"data source=INDINA04204VW\SQLEXPRESS;initi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TypeInThai.Models;
using TypeInThai.Helpers;
using System.Data;
using Dapper;
namespace TypeInThai.Repositories
{
public class UserStatsRepository
{
static string[] timeframes = new string[] { "%d-%m-%Y", "%b-%Y... |
using Abp.AspNetCore.Mvc.ViewComponents;
namespace dgPower.KMS.Web.Views
{
public abstract class KMSViewComponent : AbpViewComponent
{
protected KMSViewComponent()
{
LocalizationSourceName = KMSConsts.LocalizationSourceName;
}
}
}
|
using Common;
using Common.Contracts;
using Common.Model;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitTests.TestCommon.TestDbTools
{
[TestFixture]
public class TestDbSystemController
{
... |
using OpenQA.Selenium;
using System;
namespace WikipediaFramework
{
public class WikipediaArticlePage
{
public static bool PageHasTitle(string expectedTitle)
{
var titleField = Browser.Instance.FindElement(By.Id("firstHeading"));
return String.Equals(titleField.Text, ex... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Dynamic_Programming
{
class KnapSackProblem
{
/// <summary>
/// We need to find the maximum value items that a robber can put in his knapsack
... |
using System;
using System.Threading.Tasks;
using AutoFixture;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Requests.Apprentices.ChangeEmployer;
using SFA.DAS.ProviderCommitments.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Mappers... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace GDS.Comon
{
public static class StringHelper
{
/// <summary>
/// 判断字符串是否为空
/// </summary>
/// <param name="obj"><... |
using Hyprsoft.Web.Client;
using Microsoft.Extensions.Logging;
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Hyprsoft.Dns.Monitor.Providers
{
public class HyprsoftPublicIpProvider : PublicIpProvider, IDisposable
{
#region Fields
private b... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IconDoorClose : MonoBehaviour {
public Sprite[] textures;
SpriteRenderer spriteRenderer;
void Start(){
spriteRenderer = GetComponent<SpriteRenderer>();
spriteRenderer.sprite = textures[0];
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DFrame;
namespace DPYM
{
public class ECheese : Element
{
/* 属性 */
public override EUID ID
{
get
{
return EUID.ECheese;
}
}
/* 接口 *... |
using Anywhere2Go.DataAccess;
using Anywhere2Go.DataAccess.AccountObject;
using Anywhere2Go.DataAccess.Object;
using log4net;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2... |
namespace Ach.Fulfillment.Data
{
using System.Collections.Generic;
public enum AchFileStatus
{
Created = 0,
Uploaded = 1,
Accepted = 2,
Rejected = 3,
Completed = 4
}
public class AchFileEntity : BaseEntity
{
public virtual string Name { get; set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//**********************************************************************
//
// 文件名称(File Name):UpdateUserRequest.CS
// 功能描述(Description):
// 作者(Author):Aministrator ... |
using Microsoft.AspNetCore.Authentication;
namespace Zitadel.Authentication.Options
{
internal class LocalFakeZitadelSchemeOptions : AuthenticationSchemeOptions
{
public LocalFakeZitadelOptions FakeZitadelOptions { get; set; } = new();
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace DemoApplication.Pattern1_Singleton
{
public sealed class Singleton
{
private static Singleton _instance;
private static readonly object LockObj = new object();
private Singleton() {}
public static Si... |
using StructureMap;
namespace OPyke.ZopaTest.ConsoleApp
{
public class IocRegistry : Registry
{
public IocRegistry()
{
Scan(scanner =>
{
scanner.AssembliesFromApplicationBaseDirectory();
scanner.WithDefaultConventions();
});
... |
using System;
using System.Data;
using System.Data.OleDb;
using System.Web;
using System.Web.UI;
namespace Com.IAV.Database
{
public class ConnDbForAcccess
{
/// <summary>
/// String to connect the Database
/// </summary>
private string connectionString;
/// <summary>
... |
using UnityEngine;
using System.Collections;
public class pongPlayerController : MonoBehaviour {
public float speed;
private GameController gc;
// Use this for initialization
void Start () {
speed = 1;
gc = GameController.gc;
}
// Update is called once per frame
void FixedUpdate () {
if (gameObject.n... |
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
/// <summary>
/// 인벤토리의 InvenItemSlot에 붙어서 사용되는 컴포넌트.
/// </summary>
public class ItemSlot : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerClickHandler
{
public GameObject panelUse;
public GameObject panelDiscard;
... |
using System;
namespace Admin.ViewModels
{
public class CompanyModel
{
public string Name {get;set;}
public string Image {get;set;}
public DateTime CreationDate {get;set;}
}
} |
using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
public class NetworkShipController : NetworkBehaviour {
//engine
public byte engine_mode=0;
byte prev_emode=0;
int maxspeed;
[SyncVar]
public float speed=0;
public int goal = 0;
public byte speed_state=1;
public float va; //main engi... |
using System;
using System.Threading.Tasks;
namespace ConnelHooley.DirectoryBackupService.S3.Utilities
{
public sealed class S3Client : IS3Client
{
private readonly Amazon.S3.AmazonS3Client _s3Client;
private readonly string _bucketName;
private readonly string _sourceDirectory;
... |
using UnityEngine;
using System.Collections;
using GameFrame;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class LoginUI : UIBase
{
protected override void BeforeOpen()
{
m_path = "UIPrefab";
m_file = "LoginUI";
m_containBackgroud = false;
}
protected overri... |
using JhinBot.DiscordObjects;
using JhinBot.Tables.Objects;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace JhinBot
{
public class JhinBotContextFactory : IDesignTimeDbContextFactory<JhinBotContext>
{
public JhinBotContext CreateDbContext(string[] args)
... |
namespace Decima.HZD
{
[RTTI.Serializable(0xEB18FAD2ABAD4F96)]
public class MenuBadgeManager : StateObject, RTTI.ISaveSerializable
{
public void DeserializeStateObject(SaveState state)
{
state.DeserializeObjectClassMembers(typeof(MenuBadgeManager), this);
// MBMB
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewModdingAPI.Utilities;
using StardewValley;
using StardewValley.Menus;
using Microsoft.Xna.Framework.Graphics;
namespace catGifts
{
class ModConfig... |
using System.Threading.Tasks;
namespace RRExpress.AppCommon.Services {
public interface IWXPay {
Task Pay(string title, decimal fee);
}
}
|
namespace cyrka.api.domain.projects.commands.changeJob
{
public class ChangeJob
{
public readonly string JobTypeId;
public readonly decimal RatePerUnit;
public readonly uint Amount;
public ChangeJob(
string jobTypeId,
decimal ratePerUnit,
uint amount
)
{
JobTypeId = jobTypeId;
RatePerUnit ... |
using System.Linq;
using Obacher.CardGame.Core;
namespace Obacher.CardGame.Poker.Analyzers
{
public sealed class RoyalFlush : IAnalyzer
{
public int GetRank()
{
return 90;
}
public bool Analyze(Hand hand)
{
if (!hand.IsFlush())
r... |
using System;
using System.Collections.Generic;
using System.Linq;
using alg;
/*
* tags: dp
* Time(n^2), Space(n^2)
* dp[i][d] is the count of slices ending at i with difference d, plus potential slices containing only two elements (A[i], A[j])
* dp[i][d] = sum(dp[j][d] + 1), where j=[0..i-1], d=A[i]-A[j].
*/
... |
//***************************************************************
//This code just called you a tool
//What I meant to say is that this code was generated by a tool
//so don't mess with it unless you're debugging
//subject to change without notice, might regenerate while you're reading, etc
//*******************... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsMediaPlayer
{
class MWException : System.... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.SignalR;
using System.Threading.Tasks;
using System.Linq;
public class Player
{
#region fields
private IClientProxy _client;
private List<Card> _cardsInHand;
#endregion
#region properties
public string Name { get; }
... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System.Collections.Generic;
namespace MongoDB.Model
{
public class Employee
{
public List<Address> Address { get; set; }
public Employee()
{
Address = new List<Address>();
}
[BsonId]
... |
using Bucket_Opdracht_Version2.EventHandlers;
using Bucket_Opdracht_Version2.MainFunctions;
using Bucket_Opdracht_Version2.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Bucket_Opdracht_Version2.Unit... |
using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine;
using GPP;
public class DO : Task
{
private readonly Action _action;
public DO(Action _a)
{
_action = _a;
}
internal override void Update()
{
_action();
}
}
|
namespace AnotherApp.Data
{
using Models;
using System;
using System.Data.Entity;
using System.Linq;
public class AnotherAppEntities : DbContext
{
public AnotherAppEntities()
: base("name=AnotherAppEntities")
{
}
public virtual DbSet<Person> ... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Backend.Model.Pharmacies
{
public class TenderOffer
{
[Key]
public int Id { get; set; }
public string Code { get; set; }
public string Name { get; set; }
public in... |
///////////////////////////////////////////////////////////////////////////
// Interfaces.cs - Interfaces for DLL Loader Demonstration //
// ver 2 - changed test return to bool //
// //
// Jim Fawce... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoxThrowing : MonoBehaviour {
[SerializeField] private GameObject Arm, Box;
GameObject smallCrateClone;
[HideInInspector] public Transform currentFollow;
public void ThrowPickup ()
{
GetComponen... |
using ServiceStack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TomKlonowski.Api.Model.Request;
using TomKlonowski.Api.Model.Response;
using TomKlonowski.Api.Business;
using TomKlonowski.Model;
namespace TomKlonowski.Api.Service
{
public class NoteService : IService
... |
using GameIsOn.Classes;
using GameIsOn.Frames;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Runtime.Serialization;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Win... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab02
{
class Addition
{
static void Main()
{
int number1;
int number2;
int sum;
Console.Write("Enter first integer: ")... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class BallAttribute{
public static Rigidbody2D rigidBody;
public static Collider2D ballCol;
public static Vector2 trajectoryOrigin;
public static bool fireBall = false;
}
public class BallMovement : MonoBehavi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnToPoint : MonoBehaviour {
public GameObject spawnPoint;
public void spawningTo(GameObject spawnPos)
{
GameObject player = GameObject.FindGameObjectWithTag("Player");
Vector3 pos = spawnPos.transform.position;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
/// <summary>
/// 作业区
/// </summary>
public class E_OperationArea : E_BaseModel
{
/// <summary>
/// 作业区ID
/// </summary>
public in... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace solmates {
public class Spawner : MonoBehaviour {
[SerializeField]
List<GameObject> Souls = new List<GameObject>();
[SerializeField]
float minDistance = 200f;
[SerializeField]
... |
using System.Drawing;
namespace CODE.Framework.Core.Utilities
{
/// <summary>
/// This class provides various features useful for handling and manipulating colors
/// </summary>
public static class ColorHelper
{
/// <summary>
/// This method applies lighting to a color.
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.Windows.Forms;
using AxisPosCore;
namespace AxiPos
{
public delegate bool KeyEventDelegate(KeyEventArgs e, string data, params object[] arg);
public delegate void ActionEventDelegate(POSAction... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeGenerator : MonoBehaviour
{
[SerializeField] private int NumCubesToGenerate = 100;
[SerializeField] private float MinCubeSize = 1f;
[SerializeField] private float MaxCubeSize = 1f;
[SerializeField] private float MinX... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using BPMInterfaceModel;
using BPMInterfaceToolkit;
using System.Data;
namespace BPMInterfaceDAL
{
public class PaymentInfoDAL
{
SqlCommand cmd;
public string CreatePaymentInfo(Pa... |
using System.Collections.Generic;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using BuiltCodeAPI.Models;
using BuiltCodeAPI.Repository.IRepository;
using System;
using BuiltCodeAPI.Models.DTOs;
namespace BuiltCodeAPI.Controllers
{
[R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace W5
{
class Program
{
static void Main(string[] args)
{
Elevator hissi = new Elevator();
Console.WriteLine("Elevator is on the floor: " + hissi.F... |
using MikeGrayCodes.BuildingBlocks.Domain;
namespace MikeGrayCodes.Ordering.Domain.Entities.Orders.Rules
{
public class DiscountCannotBeLessThanZeroRule : IBusinessRule
{
private readonly decimal discount;
public DiscountCannotBeLessThanZeroRule(decimal discount)
{
this.di... |
using EddiEddnResponder.Sender;
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using Utilities;
using static EddiCompanionAppService.CompanionAppService;
namespace EddiEddnResponder.Schemas
{
[UsedImplicitly]
public class FSSSignalDiscoveredSchema : ISchema
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArizaTakipYazılımSistemi.Model;
namespace ArizaTakipYazılımSistemi.Controller
{
class BilgiIslemYoneticiDB : Database
{
public Bilgi... |
namespace Sentry.Internal;
/// <summary>
/// Internal Constant Values.
/// </summary>
internal static class Constants
{
/// <summary>
/// Sentry DSN environment variable.
/// </summary>
public const string DsnEnvironmentVariable = "SENTRY_DSN";
/// <summary>
/// Sentry release environment vari... |
using EAN.GPD.Domain.Entities;
using EAN.GPD.Domain.Utils;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace EAN.GPD.Domain.Repositories
{
public interface IBaseRepository<TEntity> where TEntity : BaseEntity
{
IEnumerable<TEntity> Filter(string whereExpression = null);
... |
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CacheSqlXmlService
{
/// <summary>
/// 缓存管理对象 services.AddMemoryCache(); CacheFactory.Init(cache);//注册自定义cache服务给sqlxml用
/// </summary>
public static class Cac... |
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 Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Ge... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneTransition : MonoBehaviour
{
public string sceneToLoad;
public Vector2 playerPosition;
public Sprite playerSprite;
public VectorValue playerStorage;
public SpriteValu... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Linq;
using System.Collec... |
namespace ResolveUR.Library
{
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Xml;
using static System.String;
class RefsIgnoredFileManager
{
const char IgnoreChar = '#';
static readonly string TempPath = Pat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace Deploy.Models.DatabasePocos
{
[TableName("DeployMediaSync")]
[PrimaryKey("Id", autoIncrement = true)]
[ExplicitColumns]
pu... |
using System;
using System.Linq;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SFA.DAS.Authorization.CommitmentPermissions.Options;
using SFA.DAS.Authorization.Mvc.Attributes;
using SFA.DAS.Authorization.Pro... |
using Fingo.Auth.DbAccess.Models;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.Infrastructure.EventBus.Events.Project;
using Fingo.Auth.Domain.Infrastructure.EventBus.Implementation;
using Moq;
using Xunit;
namespace Fingo.Auth.Domain.Infrastructure.Tests.EventBus
{
public class EventW... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using Extensions;
using MOTHER3;
namespace MOTHER3Funland
{
public partial class frmItemEdit... |
using UnityEngine.SceneManagement;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class destroyAfterTime : MonoBehaviour {
public float time = 10;
//destroys the object
void Update () {
time -= Time.deltaTime;
if (time < 0) {
Destroy (gameObjec... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CS_350_Exam_3
{
class Social_Network_Test
{
static void Main(string[] args)
{
Test_User_Create();
... |
using System;
namespace Algorithms.HackerRank.GridSearch
{
class GridSearch
{
static int[,] GenerateMatrixFromInput(int rows, int cols)
{
string input;
int[,] matrix = new int[rows, cols];
for (int i = 0; i < rows; i++)
{
input =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generics
{
class Program
{
static void Main(string[] args)
{
var list = new GenericList<int>(10);
list.Add(1);
list.Add(2);
... |
using System;
using SpatialEye.Framework.Client;
using SpatialEye.Framework.Features;
namespace Lite
{
/// <summary>
/// A request for restricting a feature collection and adding extra predicates
/// </summary>
public class LiteRestrictFeatureCollectionRequestMessage : MessageBase
{
/// <summary>
//... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.