text stringlengths 13 6.01M |
|---|
namespace Sentry.Tests;
public class HubExtensionsTests
{
public IHub Sut { get; set; } = Substitute.For<IHub>();
public Scope Scope { get; set; } = new();
public HubExtensionsTests()
{
Sut.When(h => h.ConfigureScope(Arg.Any<Action<Scope>>()))
.Do(c => c.Arg<Action<Scope>>()(Scope)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PagedList;
using System.Data.Entity.Core;
namespace CNWTT.Models.DAO
{
public class FeedBackDAO
{
public static IEnumerable<feedback> getListFeedBack(int page, int size)
{
IEnumerable<feedbac... |
using CollaborativeFiltering;
using CollaborativeFilteringUI.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace CollaborativeFilteringUI.Views.AddMovie
{
public interface IAddMovieViewModel : IViewModel
... |
using Common;
using Common.Log;
using Common.Presentation;
using SessionSettings;
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Windows.Forms;
namespace Promotions.Modals
{
public partial class ViewForm : SkinnableModalBase
{
#region Private Fields
private string ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BgScroller : MonoBehaviour {
private Rigidbody2D rb2d;
public float scrollSpeed;
private GameObject opposite;
private Vector3 nextPosition;
private bool inFront;
// Use this for initialization
void Start () {
rb2d =... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using UnityEditor;
using UnityEngine;
public class FormatWindow : EditorWindow
{
private static readonly Rect progressBarRect = new Rect(15f, 15f, 700f, 120f);
#region private members
private bool needFormat... |
using UnityEngine;
using System.Collections;
public class Score : MonoBehaviour {
int m_displayScore = 0;
int m_score = 0;
public int m_numberCount = 5;
public float m_top = 1f;
public float m_left = 3f;
public float m_width = 0.3f;
public float m_z = 1f;
Sprite[] m_sprNumbers = new Sprite[10];
GameObject[] ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Models.Common;
namespace UI.Views.Shared.Components.HTMLSelect
{
[ViewComponent(Name = "HTMLSel... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Caserraria.Items;
namespace Caserraria.Items.Accessories
{
public class HeavyBoots : ModItem
{
public override void SetStaticDefault... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Threading.Tasks;
using TalentConnect.UI.Infrastructure.Bootstrap;
namespace TalentConnect.UI
{
public class DatabaseConfig
{
public async Task ConfigureDatabase()
{
await ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.Configuration;
using TY.SPIMS.Entities;
using System.Data.Objects;
namespace TY.SPIMS.Utilities
{
public class Helper
{
#region Encryption
public static strin... |
using System;
using System.Collections.Generic;
using HrdbWebServiceClient.Domain;
using Profiling2.Domain.Prf;
using Profiling2.Domain.Prf.Careers;
using Profiling2.Domain.Prf.Events;
using Profiling2.Domain.Prf.Organizations;
using Profiling2.Domain.Prf.Persons;
using Profiling2.Domain.Prf.Sources;
using Profiling2.... |
namespace Domain.Data.ViewModels
{
/// <summary>
/// Модель отображения информации о человеке
/// </summary>
public class UserViewModel
{
/// <summary>
/// Имя человека
/// </summary>
public string Name { get; set; }
/// <summary>
/// Возраст
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Animator))]
public abstract class RoleCtrlBase : MonoBehaviour
{
List<string> _aniHead, _aniNormal, _aniSpecial, _aniUndef;
Dictionary<string, AudioClip> _audioClip = new Dictionary<string, AudioClip>();
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestStack.BDDfy;
using Xunit;
using PaymentsAutomation.UseCases.Einvoicing;
namespace PaymentsAutomation.Stories.Einvoicing
{
[Story(AsA = "As a Merchant",
IWant = "I want to ensure that Email Later is checked when I Create an Invoice... |
using Boo.Lang;
using System;
using UnityEngine;
using UnityEngine.UIElements;
namespace Puppeteer.UI
{
internal class ShortcutHandler
{
public void AddShortcut(Shortcut _shortCut)
{
m_ShortCuts.Add(_shortCut);
}
public void AddShortcuts(Shortcut[] _shortCuts)
{
for (int i = 0; i < _shortCuts.Lengt... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DotNetRestApi.Models
{
[Table("Products")]
public class Product
{
[Key]
public int Id {get; set;}
[Required]
[MaxLength(30)]
public string Name {... |
using ParPorApp.Helpers;
using ParPorApp.Models;
using ParPorApp.Services;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
using System.Windows.Input;
using Xamarin.Forms;
namespace ParPorApp.ViewModels
{
class AccountGroupsVie... |
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
/// <summary>
/// Returns a list of audio filters that are available.
/// </summary>
[LibVlcFunction("libvlc_audio_filter_list_get")]
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.Windows.S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Web;
using System.Web.Mvc;
namespace ExamProject.Controllers
{
public class DropController : Controller
{
// GET: Drop
public ActionResult Index()
{
return View();... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IPTables.Net.Netfilter.Utils
{
public class NfAcctUsage
{
private string _name;
private ulong _bytes;
private ulong _packets;
public NfAcctUsage(string name, ulong bytes, ulong pack... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MaterialManagement
{
public class ItemList
{
public string itemName;
public int amount;
public string type;
public string dt;
public string storage;
public ItemList... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MISA.Common.Models
{
public class Customer
{
public Customer()
{
CustomerId = Guid.NewGuid();
}
public Guid CustomerId { get; set; }
public string Cust... |
namespace SGpostMailData.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class newSgClass1 : DbMigration
{
public override void Up()
{
AddColumn("dbo.SgDatas", "mobile", c => c.String());
AddColumn("dbo.SgDatas", "end_point_id",... |
using System.Collections.Generic;
using UnityEngine;
using static Equipment;
public class GameConfig:BaseManager<GameConfig>
{
public static string dataStr = "PlayerModel3.121";
public void Init()
{
}
#region 技能系统
#endregion
#region 角色升级属性成长
publi... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace pjank.BossaAPI.Fixml
{
/// <summary>
/// Klasa używana na razie przy zbieraniu historii notowań w klasie NolClient.
/// Ostatecznie będzie prawdopodobnie zastąpiona przez ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberKernel.Services.Command.Attributes
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public class CommandContainerAliasAttribute : Attribute
{
public string Alias { get; }
pu... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL.Contracts;
namespace DAL.Repos
{
public class MovieRepository : Repository<Movy>, IMovieRepository
{
public MovieRepository(DbContext ctx) : base(ctx... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual
{
/// <summary>
/// Representa el objeto response de plantilla párrafo
/// </summary>
/// <remarks>
/// Creaci... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SchemaChanger
{
class Program
{
static void Main(string[] args)
{
using (var ctx = GetSchemaChangeDbContext("db1"))
... |
/*
* Company:
* Motto: Talk more to loved ones!
* Assignment: A book shelf application
* Deadline: 2012-01-02
* Programmer: Baran Topal
* Solution name: .BookShelfWeb
* Folder name: .BusinessLogic
* Project name: .BookShelfWeb.BLL
* File name: BookShelfSettingManagerBLL.cs
* Status: TODO - Future use
*/
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DelftTools.Utils.Data;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
namespace NetTopologySuite.Extensions.Tests.TestObjects
{
//Just a subclass
class TestFeatureSubClass : TestFeature
{
}
cla... |
namespace API.Controllers
{
public partial class NoIdController
{
public enum CompareResult{
unknown,success,failure,uncertainty
}
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Microsoft.ProjectOxford.Face;
using Microsoft.ProjectOxford.Face.Contract;
using Newtonsoft.Json;
using Office.Busine... |
using Cometd.Bayeux;
using Cometd.Bayeux.Client;
using Cometd.Client;
using Cometd.Client.Transport;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Genesys.WebServicesClient
{
// Two Ba... |
namespace _16._ExtractHyperlinks
{
using System;
using System.Text;
using System.Text.RegularExpressions;
public class Startup
{
public static void Main()
{
string input = Console.ReadLine();
string pattern = @"<a([^>]+?)href\s*=\s*(""|'\s?)(.+?)\2(?=\s{1}|>... |
using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
namespace TAiMStore.HtmlHelpers
{
public static class Captcha
{
public const string SessionKeyPrefix = "_Captcha";
private const string ImgFormat = "<img src=\"{0}\" alt=\"captcha\" />";
/// <summary>
... |
using System.ComponentModel.DataAnnotations;
using MVC4_DavaValidation.Attributes;
namespace MVC4_DavaValidation.Models
{
public class ValidateRegisterModel
{
[Required]
[ValidName]
public string FirstName { get; set; }
[Required]
[OnlyOne]
[CannotBeNotApplicabl... |
namespace PlantillaBack.Migrations
{
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using PlantillaBack.Models;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuratio... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
namespace RealEstate.Models
{
public class ViewModel
{
}
public class CHAA : AuthorizeAttribute
{
BL bl = new B... |
using System.Collections.Generic;
using Autofac;
using Framework.Core.Common;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main.Common.DefaultPage;
using Tests.Pages.Van.Main.Events;
using NUnit.Framework;
using Tests.Data.Van;
namespace Tests.Projects.Van.Lists
{
public class CreateEventList : B... |
/******************************************************************************\
* Copyright (C) 2012-2016 Leap Motion, Inc. All rights reserved. *
* Leap Motion proprietary and confidential. Not for distribution. *
* Use subject to the terms of the Leap Motion SDK Agreement available at ... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
namespace com.Sconit.Entity.PRD
{
[Serializable]
public partial class ShiftAll : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
[Required(AllowEmptyStrings = fals... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using TitanBlog.Data;
using TitanBlog.Models;
using TitanBlog.Service... |
using Efa.Application.Validation;
using Efa.Application.ViewModels;
using System;
using System.Collections.Generic;
namespace Efa.Application.Interfaces
{
public interface IProfessorAppService : IDisposable
{
ValidationAppResult Add(ProfessorViewModel professorViewModel);
ProfessorViewModel Ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartExchangeEngine
{
public class Sales365ExcelRest : SimpleDbEntity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IdomOffice.Interface.BackOffice.Booking.Core
{
public class CancellationCost
{
public string Id { get; set; }
public DateTime FromDay { get; set; }
public DateT... |
public class Solution {
public string IntToRoman(int num) {
var myMap = new Dictionary<int, string>();
string res = "";
myMap.Add(1, "I");
myMap.Add(4, "IV");
myMap.Add(5, "V");
myMap.Add(9, "IX");
myMap.Add(10, "X");
myMap.Add(40, "XL");
myMap... |
namespace GenRepo
{
public enum OperationType
{
EqualTo,
NotEqualTo,
GreaterThan,
GreaterThanEqualTo,
LessThan,
LessThanEqualTo,
Contains,
StartsWith,
EndsWith
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SSISTeam9.Models;
using SSISTeam9.DAO;
namespace SSISTeam9.Services
{
public class CatalogueService
{
//public static bool VerifyExist(string itemCode)
//{
// List<string> catalogueCodes = Cat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameController : MonoBehaviour
{
public GameObject G_RecordText;
public static GameController G_GameControllerClass;
public static Text T_RecordText;
public static float F_SWidth; //X posi... |
using UnityEngine;
using UnityEditor;
using Ardunity;
[CustomEditor(typeof(DragInput))]
public class DragInputEditor : ArdunityObjectEditor
{
SerializedProperty script;
SerializedProperty minValue;
SerializedProperty maxValue;
SerializedProperty invert;
SerializedProperty deltaMultiplier;
SerializedProperty... |
using System.Collections.Generic;
using System.Linq;
namespace PizzaBezorgApp.Models
{
public class BestellingController
{
public List<Bestelling> Bestellingen;
public BestellingController()
{
Bestellingen = new List<Bestelling>();
AddTestBestellingen();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManageProducts.Domain.Entities
{
public class Biological:Product
{
public string Herbs { get; set; }
public Biological() {
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace _03._Battle_Manager
{
public class BattlePerson
{
public string Name { get; set; }
public int Health { get; set; }
public int Energy { get; set; }
public BattlePerson(string name, int heal... |
using System.Collections.Generic;
namespace gView.Framework.Network
{
public class GraphWeights : List<IGraphWeight>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Search
{
/// <summary>
/// Count the number of occurance of an element in a sorted array
/// </summary>
public class NoOfOccuranceInSortedArray
{
... |
using System;
using System.Threading.Tasks;
using ViewModel.Users;
namespace DataAccess.Users
{
public interface IUserQuery
{
Task<UserResponse> RunAsync(Guid userId);
}
}
|
using surfnsail.Data;
using surfnsail.Views;
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace surfnsail
{
public class App : Application
{
static AppDatabase _database;
static App()
{
... |
using EsferixisLazyCSharp.Esferixis.Misc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EsferixisLazyCSharp.Esferixis.Lazy.Functional
{
public sealed class LazyList<T>
{
private struct Next
{
private RL... |
namespace Work.HTTP
{
public enum SameSiteType
{
None = 1,
Lax = 2,
Strict=3,
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EventCardHandler : MonoBehaviour
{
public Board board;
public OverlayUI overlayUI;
public PlayerManager playerManager;
public UndoObject undoObject;
private List<InfectionCard> clickedCards = new List<Infec... |
using Com.Colin.Forms.Template;
using System.Windows.Forms;
namespace Com.Colin.Forms
{
public partial class MainFrm : Form
{
/// <summary>
/// 个人信息模块
/// </summary>
UserTemplate userTemplate;
public MainFrm()
{
InitializeComponent();
//... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StaticFenceSound : MonoBehaviour {
public static StaticFenceSound fenceAudio;
public AudioSource myAudioSource;
public AudioClip woodExplosionClip;
// Use this for initialization
void Start () {
f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CocosSharp
{
class PhysicsSprite : CCPhysicsSprite
{
public PhysicsSprite(CCTexture2D texture, CCRect rect)
: base(texture, rect)
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Athenaeum.Models;
using Athenaeum.ViewModels.Search;
namespace Athenaeum.Controllers
{
public class SearchController : Controller
{
private ApplicationDbContext db = new ApplicationDbContex... |
using jaytwo.Common.Extensions;
using jaytwo.Common.Parse;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace jaytwo.Common.Test.Parse
{
[TestFixture]
public partial class ParseUtilityTests
{
private static IEnumerable<TestCaseData> Par... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JKVideo.Core.Http;
namespace JKVideo.Core
{
public class UserLoginProvider
{
/// <summary>
/// Http请求者
/// </summary>
protected IHttpProvider httpProvider ... |
using System;
using System.Collections.Generic;
using gregs_list_again.DB;
using gregs_list_again.Models;
using gregs_list_again.Services;
using Microsoft.AspNetCore.Mvc;
namespace gregs_list_again.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class CarsController : ControllerBase
{
... |
using System;
/*We are given 5 integer numbers. Write a program that finds all subsets of these numbers whose sum is 0.
Assume that repeating the same subset several times is not a problem.*/
class ZeroSubset
{
static void Main()
{
int[] n = new int[5];
for (int i = 0; i < 5; i++)
{... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace WebApp.Models
{
public class PostData
{
[Required(AllowEmptyStrings = false, ErrorMe... |
using System.IO;
using Microsoft.Xna.Framework;
namespace VoxelSpace.IO {
public static class Extensions {
public static void ReadBinary(this ref Vector2 val, BinaryReader reader) {
val.X = reader.ReadSingle();
val.Y = reader.ReadSingle();
}
public static void... |
namespace Uintra.Features.Permissions.Models
{
public class PermissionSettingValues
{
public bool IsAllowed { get; }
public bool IsEnabled { get; }
public PermissionSettingValues(bool isAllowed, bool isEnabled)
{
IsAllowed = isAllowed;
IsEnabled = isEnab... |
using System.Collections.Generic;
using WebApi_LinkManager.Entities;
namespace WebApi_LinkManager.Services
{
public interface IService
{
IEnumerable<Link> GetAllLinks();
Link GetById(int id);
Link AddLink(Link link);
void DeleteById(int id);
void Edit(Link link);
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class EquipmentSlot {
// @ The equipment slot type
private EquipmentSlotType m_slot;
// @ The equipment slot bone target of the owner
private Transform m_boneReference;
// @ The owner of the equipment
private GameObject ... |
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using log4net;
using System.IO;
using Newtonsoft.Json;
namespace Core.AsyncDecoderImpl
{
/* Decode asynchronically: AsyncDecoder sends requests to `RedisWrapper`,
... |
using System;
using Spring.Context;
using Spring.Context.Support;
using Spring.Objects.Factory.Config;
using Spring.Objects.Factory.Support;
namespace Spring.FluentContext.Web
{
public class FluentWebApplicationContext : WebApplicationContext
{
public const string SpringConfiguratorKey = "SpringConfigu... |
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using DarkUI.Controls;
using DarkUI.Forms;
using WynnicTranslator.Core;
namespace WynnicTranslator
{
public partial class SymbolCsWindow : DarkForm
{
private DarkTreeNode _craftingProfessionNode;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Portfolio.API.Data;
using Portfolio.Shared;
using Portfolio.Shared.ViewModels;
namespace Portfolio.API.C... |
using System;
using Grasshopper.Kernel;
using Pterodactyl;
using Xunit;
namespace UnitTestsGH
{
public class TestGraphSizesGhHelper
{
public static GraphSizesGH TestObject
{
get
{
GraphSizesGH testObject = new GraphSizesGH();
return testO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AxisEq.POSScales;
using AxisPosCore.EnvironmentObjects;
using KartObjects;
using AxisEq;
namespace AxisPosCore
{
public delegate object ObjectDelegate(params object[] arg);
public class ScaleEO:POSEnvironmentObject
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Cricetidae.DTO;
using Cricetidae.Pipeline;
using Microsoft.Data.SqlClient;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Cricetidae.UpdateData
{
public class BonusDataPersister : IPipeLine... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using OccBooking.Common.Types;
using OccBooking.Domain.Events;
using OccBooking.Persistence.DbContexts;
using OccBooking.Persistence.Repositories;
namespace OccBooki... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// links:https://devskill.com/CodingProblems/ViewProblem/336
namespace ProblemSolving
{
class ProblemFive
{
static void Main(string[] args)
{
var loop = Convert.ToInt3... |
using System;
namespace Piovra.Lia;
public static class Help {
public const double EPSILON = 1e-3;
public static bool Eq(this double x, double y, double espilon = EPSILON) => Math.Abs(x - y) <= espilon;
} |
using Cottle.Functions;
using EddiCore;
using EddiSpeechResponder.Service;
using JetBrains.Annotations;
using System;
namespace EddiSpeechResponder.CustomFunctions
{
[UsedImplicitly]
public class RefreshProfile : ICustomFunction
{
public string name => "RefreshProfile";
// This is a develo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using bellyful_proj.Models;
using bellyful_proj_v._0._2.Data;
namespace bellyful_proj_v._0._2.Controllers
{
... |
// This file is part of LAdotNET.
//
// LAdotNET is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// LAdotNET is distributed in t... |
using UnityEngine;
using System.Collections;
namespace SocialPoint.Examples.MVC {
public abstract class BaseViewPresenter : MonoBehaviour {
public abstract void Show ( );
public abstract void Hide ( );
public abstract void Enable ( );
public abstract void Disable ( );
#... |
using System.Collections.Generic;
using System.Linq;
using Profiling2.Domain.Scr.PersonEntity;
using Profiling2.Domain.Scr.PersonFinalDecision;
using Profiling2.Domain.Scr.PersonRecommendation;
using SharpArch.Domain.DomainModel;
namespace Profiling2.Domain.Scr.Person
{
/// <summary>
/// An instance of when t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DBDiff.Schema.Model;
namespace DBDiff.Schema.SQLServer.Model
{
public class FullTexts : SchemaList<FullText, Database>
{
public FullTexts(Database parent)
: base(parent)
{
}
}
}
|
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Framework.Core.Enums.Enum {
/// <summary>
/// 布尔值
/// </summary>
[ClassProperty(Name = "布尔值")]
public enum BooleanValues {
/// <summary>
/// 是
/// </summary>
[Disp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Test.ViewModels
{
public class PaymentsToReturn
{
public string TransactionId { get; set; }
public string Payment { get; set; }
[JsonIgnore]
... |
using System;
namespace WebSim.Domain.Common
{
public interface ICreateEntity
{
Guid CreatedBy { get; set; }
DateTime CreatedOn { get; set; }
}
} |
namespace PopCinema.Migrations
{
using PopCinema.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<PopCinema.Models.ApplicationDbContext>
{
public ... |
namespace AssessmentApp.Web.ValidationAttributes
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Http;
public class FileTypeValidationAttribute : ValidationAttribute
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Core.DAL;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Core.BIZ
{
public class ChiTietPhieuNhap
{
public ChiTietPhieuNhap() { }
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShowInventory : MonoBehaviour {
private Animator Anim;
public bool c_showCategory;
public Inventory inventory;
// Use this for initialization
void Start () {
inventory = GameObject.Find("Inventory").GetComponent<Invent... |
using System;
using Microsoft.Azure.Cosmos;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.DependencyInjection;
namespace ExactlyOnce.AzureFunctions
{
public static class ExactlyOnceHostingExtensions
{
public static IWebJobsBuilder AddExactlyOnce(this IWebJobsBuilder builder,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.