text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using Chat.ViewModels;
using DAL.Models;
using DAL.UserData;
namespace Chat.UserManagement
{
internal class UserManager : IUserManager
{
private readonly UserDataProvider _userDataProvider;
private readonly List<IRegistrationHandler> _registratio... |
using MetroFramework;
using MetroFramework.Forms;
using PDV.CONTROLER.Funcoes;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades.Financeiro;
using PDV.DAO.Enum;
using PDV.VIEW.App_Context;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace PDV.VIEW.Forms.Cadastro.Financeiro.Modulo
{
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Web;
namespace BetaDota2StatsMVC.Models
{
public class MatchesHistory
{
[Display(Name = "Match ID")]
public long Match_id { get; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Newtonsoft.Json;
using personal_site.Helpers;
using personal_site.Models;
using personal_site.Services;
using personal_site.ViewModels;
namespace personal_site.Are... |
using System;
using AreasLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AreasTest
{
[TestClass]
public class TriangleTests
{
private const string PrecisionArea = "E10";
[TestMethod]
public void AreaOk1()
{
var a = 3d;
var b = 4d;
... |
using System.Collections.ObjectModel;
using System.Data;
using System.Reflection;
namespace Kit
{
public static class Linq
{
public static IEnumerable<TSource> DistinctBy<TSource, TKey>
(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)
{
HashS... |
using GameStore.Domain.Identity;
using GameStore.Domain.Infrastructure;
using GameStore.WebUI.Areas.Admin.Models;
using GameStore.WebUI.Areas.Admin.Models.DTO;
using GameStore.WebUI.Helper;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Owin.Security;
using System;
us... |
using AgendaAPI.Dominio.Entidades;
using AgendaAPI.Repositorio.Maps;
using Microsoft.EntityFrameworkCore;
using System;
namespace AgendaAPI.Repositorio
{
public class AgendaContext : DbContext
{
public AgendaContext(DbContextOptions<AgendaContext> options) : base(options)
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BasicProgramDay5
{
public class EvenAndOdd
{
public void EvenOddFunction()
{
int n;
Console.WriteLine("Enter the number");
n = Conve... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
namespace Assets.Scripts
{
public class ScoreUIManager : MonoBehaviour
{
public Text RoundText;
public Text ScoreText;
public Text GameOverText;
public GameObject GameOverUI;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Quinelita.Data;
namespace Quinelita.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class LigasController : Controlle... |
// Created by Kay.
// Copyright 2013 SCIO System-Consulting GmbH & Co. KG. All rights reserved.
//
using UnityEngine;
using System.Collections;
/// <summary>
/// Callback listener for IPodHandlerPlugin. Attach this component to a GameObject named Main in your scene.
/// </summary>
public class TestIPodListener : Mo... |
/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* 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 require... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.Linq;
using UnityEditor;
using UnityEngine;
public class TableTools
{
private const string xmlRoot = "/StreamingAssets/ConfigXML/";
private const string scriptRoot = "/Scripts/ConfigTable/";
[MenuItem("Config/GenerateCo... |
namespace WebMarkupMin.Web.Filters
{
using System.IO;
using System.Text;
using Core.Minifiers;
/// <summary>
/// HTML minification response filter
/// </summary>
public sealed class HtmlMinificationFilterStream : MarkupMinificationFilterStreamBase<HtmlMinifier>
{
/// <summary>
/// Constructs instance of ... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using OpenGov.Models;
using OpenGovAlerts.Models;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace OpenGovAlerts.Controllers
{
[Route("api/[controller]/[action]")]
[ApiController]
[Produces("application/json")]
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Sunny.Lib;
namespace Sunny.Robot.Helper
{
public class Search
{
public static string SearchSpecialAnwer(string keyWords, Sear... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using System;
using System.Runtime.CompilerServices;
using UnityEngine;
[assembly: InternalsVisibleTo("EnhancedEditor.Editor")]
namespa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemPage : Page_Base {
void Start () {
}
void Update () {
}
protected override void OnClose(){
print ("ItemPage關閉");
}
protected override void OnOpen(){
print ("ItemPage開啟");
}
}
|
using OrderService.Models;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Xunit;
namespace OrderService.Tests
{
public class ControllerTests
{
[Fact]
public async Task Cr... |
namespace VideoServiceBL.Services.Interfaces
{
public interface ICryptService
{
string EncodePassword(string password);
bool VerifyPassword(string password, string enhancedHashPassword);
}
} |
using System.ComponentModel.DataAnnotations;
namespace Leads.Models
{
public class SiteLookup
{
public int Customer_Site_ID { get; set; }
public int Customer_ID { get; set; }
public int branchid { get; set; }
public string siteno { get; set; }
pub... |
using System;
namespace zero_to_twenty
{
class Program
{
static void Main(string[] args)
{
int number = 0;
while (number <= 20) {
System.Console.WriteLine(number);
number += 2;
}
}
}
}
|
using Enrollment.Spa.Flow.ScreenSettings.Navigation;
using LogicBuilder.Attributes;
namespace Enrollment.Spa.Flow
{
public interface ICustomActions
{
[AlsoKnownAs("SetupNavigationMenu")]
void UpdateNavigationBar(NavigationBar navBar);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NapierBank.Models
{
/*
Significant incident report subclass.
This is a subclass which handles SIR only operations.
*/
class SIR : EmailModel
{
public st... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using MvcApplication.Business.InversionOfControl;
using MvcApplication.Business.StructureMap;
using StructureMap;
namespace MvcApplication
{
public class Global : HttpApplication
{
#... |
// Target - The task you want to start. Runs the Default task if not specified.
var target = Argument("Target", "Default");
// Configuration - The build configuration (Debug/Release) to use.
// 1. If command line parameter parameter passed, use that.
// 2. Otherwise if an Environment variable exists, use that.
var conf... |
namespace MFW.LALLib
{
public enum DTMFKeyEnum
{
DTMF_UNKNOWN, /**< Specifics unknown key. */
DTMF_ZERO, /**< Character Zero. */
DTMF_ONE, /**< Character One. */
DTMF_TWO, /**< Character Two. */
DTMF_THREE, ... |
using UnityEngine;
public class BulletController : MonoBehaviour
{
#region Fields
[SerializeField] private AudioClip _hitSound;
[SerializeField] private int _damage = 1;
private GameObject _player;
#endregion
#region UnityMethods
private void Start()
{
_player = GameObj... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.Cashbag
{
/// <summary>
/// 积分兑换记录
/// </summary>
public class ScoreConvertLogDto
{
/// <summary>
/// 兑换时间
/// </summary>
public DateTi... |
using System;
using System.Collections.Generic;
namespace Calcifer.Engine.Particles
{
public class ParticlePool
{
private readonly List<Particle> pool;
private readonly Queue<int> freeIds;
private readonly int initialSize;
public ParticlePool() : this(512)
{}
p... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abo... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.0.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Diagnostics;
using MyPersonalBlog.Business.Interfaces;
namespace MyPersonalBlog.UI.Controllers
{
public class ErrorController : Controller
{
priva... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Src.Models
{
public static class SuperString
{
#region Snippet_PowerfulMethods
/// <summary>Takes a string and change its order like a zig zag</summary>
/// <params name="str">String to change</params>
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Asm.Assembler.Parsing;
namespace Asm.Assembler
{
public partial class Assembler
{
/*
#define HLT 0b10000000000000000000000000000000 // Halt clock
#define MI 0b01000000000000000000000000000000 ... |
using System.Collections.Generic;
using System.Linq;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace TestingUtils
{
public class RetryFactDiscoverer : IXunitTestCaseDiscoverer
{
private readonly IMessageSink _messageSink;
public RetryFactDiscoverer(IMessageSink messageSink)
{
... |
using UnityEngine;
using UnityEngine.Events;
[CreateAssetMenu(menuName = "Events/Camera Zoom Event Channel")]
public class CameraZoomEventChannelSO : EventChannelBaseSO
{
public UnityAction<GameObject, bool, float> OnEventRaised;
public void RaiseEvent(GameObject sender, bool state, float value)
{
OnEventRaised... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccessLayer.Interfaces
{
public interface IRepository<T>
{
int Them(T t);
int Xoa(T t);
int CapNhat(T t);
Object Xem(T t);
}
}
|
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.UI.WebControls
{
/// -----------------------------------------------------------------------------
/// Namespace: DotNetNuke... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_Events_UnityEventCallState : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.Events.UnityEventCallState");
LuaObject.addMember(l, 0, "Off");
LuaObject.addMember(l, 1, "EditorAndRuntime");
LuaObjec... |
namespace Domain.Repository
{
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using Dapper;
using Domain.Entities;
public abstract class Repository<TEntity> : IDisposable
where TEntity : BaseEntity, n... |
using UnityEngine;
using GoogleMobileAds.Api;
using System;
//Banner ad
public class Admob : MonoBehaviour
{
private BannerView adBanner;
private string idApp, idBanner;
void Start ()
{
idApp = "ca-app-pub-3940256099942544~3347511713";
idBanner = "ca-app-pub-3940256099942544/6300978111";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RecipeApp.DataModels
{
public class Ingredient
{
public int Id { get; set; }
public string Name { get; set; }
public string Quantity { get; set; }
public string Yield { get; set; }
... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using ControlLocalizer;
using BUS;
using System.Windows.Forms;
namespace GUI
{
public partial class r_dm_thets : DevExpress.XtraReports.UI.XtraReport
{
public r_dm_thets()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace HomeworkFour
{
class Program
{
public class AlarmEventArgs : EventArgs
{
public string Time { get; set; }
}
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace console
{
public class _038_AddOne
{
/// <summary>
/// Given a number represented as an array of digits, plus one to the number.
/// Not hard at all just make sure carry the carry.
/... |
using System;
namespace backenddata
{
public class Class1
{
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Effect : MonoBehaviour
{
public float duration;
public bool replaceSelf = true;
public List<Type> cancelEffects = new List<Type>();
protected EnemyController enemy;
protected virtua... |
using System;
using System.Collections.Generic;
using System.IO;
namespace SpecflowBDD.TAF.NUFramework
{
/// <summary>
/// Capture run time data.
/// </summary>
public class CaptureData
{
string testId;
Dictionary<string, string> data;
public bool HasData { get { return ... |
// Copyright (c) Micro Support Center, Inc. All rights reserved.
using System;
using System.Collections.Generic;
using System.Text;
namespace CodeGenHero.Core.Metadata
{
/// <summary>
/// Represents a type in an <see cref="IModel" />.
/// </summary>
public interface ITypeBase
{
/// <summary>
/// <pa... |
#region License
// Copyright (C) 2017 AlienGames
//
// 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 2.1 of the License, or (at your option) any later version.
//
//... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// INHERITANCE
// AbstractBaseTurret is the parent of FollowingTurret, RotatingTurret and StaticTurret.
// Turrets have 2 abstract behaviors, Move and Attack.
public abstract class AbstractBaseTurret : MonoBehaviour
{
[SerializeField] p... |
using System;
namespace Dietando.ViewModel
{
public class CadastroUsuarioViewModel : BaseViewModel
{
private String _nome;
public String Nome{
get{
return _nome;
}
set{
_nome = value;
NotifyPropertyChange ("Nome");
}
}
private String _email;
public String Email... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ExpenseTracker.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SettingsPage : Con... |
using Athena.Data.Books;
namespace Athena.Messages {
public class EditBookMessage {
public BookView BookView { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Quit : MonoBehaviour
{
public void startGame()
{
SceneManager.LoadScene("Main");
Time.timeScale = 1;
}
public void BackToReality()
{
Application.Quit();
}
public void g... |
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using OmniSharp.Extensions.JsonRpc.Generators.Contexts;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using static OmniSharp.Extensions.JsonRpc.Gener... |
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using UnityEngine.Networking;
public class LevelLayout : NetworkBehaviour {
public GameObject ObstacleParent;
public GameObject _spawnArea;
public GameObject[] RockGameObjects;
protected string[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Trettim.Settings;
using Trettim.Sicredi.DocumentLibrary.Services;
namespace Trettim.Sicredi.DocumentLibrary.DocumentLibrary.HTML
{
public partial class ViewHTML : PageBa... |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace CloudinaryDotNet.Actions
{
[DataContract]
public class StreamingProfileResult : BaseResult
{
[DataMember(Name = "message")]
public string Message { get; protected set; }
[DataMember(Name = "data")]
... |
namespace DevDevDev.Models
{
public static class EventConfig
{
public const string EventTitle = "DDD Sydney";
public const string EventDateDescription = "15th July 2017";
public const int TotalVotes = 10;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tripper.Services.Entities.Abstract;
namespace Tripper.Services.Core
{
public class RouteService : IRouteService
{
}
}
|
#region Usings
using IQuery=NHibernate.IQuery;
using ISession=NHibernate.ISession;
using ITransaction=NHibernate.ITransaction;
#endregion
namespace NDDDSample.Persistence.NHibernate.Utils
{
#region Usings
using System;
using System.Collections.Generic;
using Domain.Model.Cargos;
using Domain.Mo... |
using System;
using System.Collections.Generic;
using System.Text;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using UtilitiesNameSpace;
namespace DHS
{
public static class Eligiblity_Errors
{
public static string RequiredPayer_Error = "This field is required.";
public s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
static void Main()
{
List<string> theWholeText = new List<string>();
string entries = Console.ReadLine();
while (entries != "END")
{
theWholeText.Add(entries);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireController : MonoBehaviour {
public bool isGravityReversed = false;
public float lifeTime = 15.0f;
public float speed = 2.0f;
private Rigidbody rb;
private void Start()
{
//lifetime ti... |
using System;
namespace AsyncProgramming
{
public class Toast
{
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using SchoolDiary.Data;
using SchoolDiary.Data.Entities;
using SchoolDiary.Models;
namespace SchoolDiary.Controllers
{
[... |
using System;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using Xamarin.Forms;
namespace Liddup.Controls
{
public class SegmentedTabControl : StackLayout
{
public static readonly BindableProperty SelectedSegmentProperty = BindableProperty.Create(nameof(Selecte... |
//
// Copyright 2020 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Microsoft.EntityFrameworkCore.Metadata
{
/// <summary>
/// Represents a na... |
using System;
namespace App1.Services
{
public interface AudioPlayer
{
void PlayAudio();
void StopAudio();
void PauseAudio();
string AudioFileName { get; set; }
string AudioFilePath { get; set; }
double Duration { get; }
double CurrentPosition { get; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MvvmTest.HtmlAgility
{
public enum UrlEnum
{
CNBLOGS = 1,
OSCHINA = 2,
CSDN = 3,
QIUBAI = 4
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* http://bbbproject.sakura.ne.jp/wordpress/mitlicense
* @brief 2D描画。サイズ。
*/
/** Rect2D
*/
n... |
//
// commercio.sdk - Sdk for Commercio Network
//
// Riccardo Costacurta
// Dec. 30, 2019
// BlockIt s.r.l.
//
/// Allows to easily perform signature-related operations.
//
using System;
using System.Text;
using System.Collections.Generic;
using System.Security.Cryptography;
using commercio.sacco.lib;
using Newtons... |
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace Hompus.VideoInputDevices
{
[ComImport, Guid("29840822-5B84-11D0-BD3B-00A0C911CE86"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
internal interface ICreateDevEnum
{
[PreserveSig]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kowalski.BusinessLayer
{
public static class Messages
{
public const string NotUnderstood = "Mi dispiace, non ho capito di cosa hai bisogno. Hai detto '{0}'.";
public c... |
using FatCat.Nes.OpCodes.AddressingModes;
namespace FatCat.Nes.OpCodes.SettingFlags
{
public class SettingCarryFlag : SettingFlag
{
public override string Name => "SEC";
protected override CpuFlag Flag => CpuFlag.CarryBit;
public SettingCarryFlag(ICpu cpu, IAddressMode addressMode) : base(cpu, addressMode) {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nim
{
public abstract class Player
{
public abstract int[] GetMove();
public abstract string GetName();
}
}
|
using System;
namespace d02_statements
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Demo Day 2");
Console.WriteLine("==========");
//demoIF();
//demoIF2();
//demoIF3();
//demoSwitch();
... |
using UnityEngine;
using UnityEngineExtended;
using System.Collections.Generic;
namespace AntColony
{
/// <summary>
/// Script handles collisions between this object and objects with complex colliders. Script holds references to all contacted
/// colliders belong to a complex collider. Script will notify ... |
// AForge Neural Net Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright © AForge.NET, 2007-2012
// contacts@aforgenet.com
//
namespace Accord.Neuro.Learning
{
using System;
using System.Diagnostics;
using Accord;
using Accord.Genetic;
using Accord.... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
using System.Threading.Tasks;
namespace Hexagon.Data.DataAccess
{
public class DbHelperAsync
{
/// <summary>
/// 连接字符串
/// </summary>
public static string ConnectionS... |
using System.Linq;
namespace BookStore.Core.Domain
{
public class CategoryCrimeDiscount : IDiscount
{
private const decimal _discount = 0.05m;
public Order Apply(Order order) => new Order
{
Books = order.Books.Select(b => new Book
{
BookName = b... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
namespace iCopy.Web.Helper
{
public static class Cookie
{
public static void SetCultureInfoCookie(this IResponseCookies cookies, RequestCulture culture)
{
cookies.Delete(Localization.CurrentCultureCookieName)... |
using System.Linq;
using FluentAssertions;
using Unity.Interception.Serilog.Tests.Support;
using Xunit;
namespace Unity.Interception.Serilog.Tests
{
public class LogWithoutReturnOrParameterTypesTests : TestBase
{
public LogWithoutReturnOrParameterTypesTests()
{
GivenThereExistsACont... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using test;
namespace WebApi.Controllers
{
public class ReturnData
{
/// <summary>
/// 0:成功,>0失败
/// </summary>
public ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace AttackDragon.Configurations
{
public partial class Configuration
{
/// <summary>
/// Creates <see cr... |
using FatCat.Nes.OpCodes.AddressingModes;
namespace FatCat.Nes.OpCodes.Arithmetic
{
public class DecrementXRegister : OpCode
{
public override string Name => "DEX";
public DecrementXRegister(ICpu cpu, IAddressMode addressMode) : base(cpu, addressMode) { }
public override int Execute()
{
cpu.XRegister--;... |
using Dapper;
using MISA.Core.Entities;
using MISA.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MISA.Infrastructure.Repository
{
public class StoreRepository : BaseRepository<Store>, IStoreReposito... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AiTracking : MonoBehaviour
{
public static AiTracking instance;
public int range = 0;
public int tag = 0;
public int moveSpeed = 0;
public int bounds = 0;
public int spinSpeed = 0;
public int spin... |
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using MediatR;
using Microsoft.Extensions.Logging;
using Npgsql;
namespace DDDSouthWest.Domain.Features.Public.Page
{
public class GetPage
{
public class Query : IRequest<Response>
{
public string Filename { get; se... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PixelAlign : MonoBehaviour
{
public int ppu = 16;
private Transform parent;
private void Start()
{
parent = transform.parent;
}
private void LateUpdate()
{
float x = (Mathf.Round... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("ConnectionIndicator")]
public class ConnectionIndicator : MonoBehaviour
{
public ConnectionIndicator(IntPtr address) : this(address, "ConnectionIndicator")
{
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml;
using System.Xml.XPath;
using APINet.Api;
using log4net;
namespace APINet.Data
{
public class XmlProcessor : IDataProcessor
{
ILog _log = LogManager.GetLogger(typeof(XmlProcessor));
private... |
using System;
using System.Collections.Generic;
using System.Windows.Markup;
namespace Hsp.Mvvm
{
public class EnumValuesSource : MarkupExtension
{
public Type EnumType { get; set; }
public bool IncludeNull { get; set; }
public override object ProvideValue(IServiceProvider serviceProvider)
{
... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_LTBezierPath : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int constructor(IntPtr l) {
try {
#if DEBUG
var method = System.R... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("FontTableEntry")]
public class FontTableEntry : MonoClass
{
public FontTableEntry(IntPtr address) : this(address, "FontTableEntry")
{
}
public FontTableEntry(IntPtr ... |
//using SIGA.Models.ViewModels;
//using SIGA_Model;
//using SIGA_Model.StoredProcContexts;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Web;
//using System.Web.Http;
//using System.Web.Http.Description;
//namespace SIGA.Controllers_Api
//{
// public class UsuarioControlle... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.