text stringlengths 13 6.01M |
|---|
using System;
using StardewValley;
namespace FollowerNPC.Buffs
{
class ShaneBuff : CompanionBuff
{
public ShaneBuff(Farmer farmer, NPC npc, CompanionsManager manager) : base(farmer, npc, manager)
{
buff = new Buff(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 30, "", "");
buff.de... |
using System;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace SylphyHorn.UI.Converters
{
public class ArrayToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return string.Join(parameter as st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using chat.Sources.Main;
namespace chat.Controllers
{
[Authorize]
public class FriendsController : Controller
{
[HttpGet]
public ActionResult List()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Effigy.Entity.DBContext;
namespace Effigy.Entity.DBContext
{
public class CityMapper : BaseEntity
{
public int Cityid { get; set; }
public int StateId { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
using RimWorld;
using HarmonyLib;
namespace Replace_Stuff.Utilities
{
public static class RemoveThingFromStatWorkerCache
{
//class StatDef {
//private StatWorker workerInt;
public s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CGun : MonoBehaviour
{
public GameObject _originBullet = null;
public ParticleSystem _muzzleParticle = null;
//! 총알을 발사한다
public void ShootBullet(float power)
{
var bullet = Function.CreateCopiedGameObject<CBullet>("Bu... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using RSS.WebApi.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using static RSS.WebApi.Extensions.GarbageCollecto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Word = DocumentFormat.OpenXml.Wordprocessing;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using Model = DocGen.ObjectModel;
namespace DocGen.OOXML
{
/// <summary>
... |
namespace Console.Logger
{
public class WebServiceException : Exception
{
#region Internal
private static readonly Dictionary<WSCodError, ItemError> Errores;
private class ItemError
{
public HttpStatusCode Estado { get; set; }
public string Novedad { get... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberKernel.Services.Command.Attributes
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class CommandDescriptionAttribute : Attribute
{
public string Description { get; }
... |
namespace FPGADeveloperTools.FIRDesigner.Model
{
public enum WindowType
{
Rectangular,
Triangular,
Welch,
Sine,
Hann,
Hamming,
Blackman,
Nuttall,
BlackmanNuttall,
BlackmanHarris,
FlatTop
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace Cirit_path
{
class Program
{
static char[] COLON = { ':' };
static char[] SEMI_COLON = { ';' };
static char[] COMMA = { ',' };
static char[] BRACE = { ']' };
public static string Ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GSVM.Constructs.DataTypes
{
public static class Int
{
public static uint8_t UInt8 { get { return new uint8_t(); } }
public static int8_t Int8 { get { return ... |
using UnityEngine;
using System.Collections;
public class lightning : MonoBehaviour {
// Use this for initialization
void Start () {
animated = false;
counter = 0f;
}
// public float y;
void startAnimated(){
//setOriginPos ();
animated = true;
}
void stopAnimated(){
animated = false;
gameObject.G... |
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Cache;
using System.Text.RegularExpressions;
using System.Xml;
namespace FirstMvcApp.Utils
{
public class CurrencyInfoProvider
{
private readonly WebClient m_webClient;
public enum Services
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HBPonto.Kernel.Interfaces.Services
{
public interface ICalcWorklogService
{
double CalcPorcentForIssue(int totalEstimated, int estimated);
int GetSecondsForIssue(double porcentForIssue, int timeWorklogInformed);
}... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SDI_LCS
{
public class Shutter_Info
{
Form1 Main;
public int InPut_Open_Sensor = 0;
public int InPut_Close_Sensor = 0;
public int OutPut_Open_Sensor = 0;
... |
using System;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
namespace Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual
{
/// <summary>
/// Clase que representa la entidad Contrato Bien
/// </summary>
/// <remarks>
/// Creación : GMD 20150511 <br />
/// Modificación : ... |
using System;
using Zesty.Core.Entities;
namespace Zesty.Core.Api.System.Admin.User
{
public class Authorize : ApiHandlerBase
{
public override ApiHandlerOutput Process(ApiInputHandler input)
{
AuthorizeRequest request = GetEntity<AuthorizeRequest>(input);
Business.Use... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleCalcC
{
public class classSymbol
{
string _Symbol;
int _Prioritet;
BaseOperation _Operation;
public string Symbol
{
get { retur... |
using System;
using System.Collections.Generic;
using System.Threading;
namespace evolution
{
class Program
{
public int AttemptCount { get; private set; }
public int RejectionCount { get; private set; }
public int CurrentMatchIndex { get; private set; }
public int ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _7DRL_2021.Behaviors;
using Microsoft.Xna.Framework;
namespace _7DRL_2021.Cards
{
class CardNemesis : Card
{
public CardNemesis(int deckAmount) : base("nemesis", deckAmount)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PunchOutAPI;
using PunchOutAPI.Models;
namespace PunchOutAPI.Business
{
public interface IBusinessManager
{
IEnumerable<URLInfo> GetAllURL();
int PostAllURL(URLInfo issue);
}
} |
using Cottle.Functions;
using Cottle.Stores;
using System;
namespace EddiSpeechResponder.Service
{
public interface ICustomFunction
{
string name { get; }
FunctionCategory Category { get; }
string description { get; }
Type ReturnType { get; }
NativeFunction function { g... |
using System.Composition;
using Amazon.S3.Model;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System;
using Amazon.S3;
namespace Assign02_AWS_Movies.Classes
{
public class MyBucket
{
public static async Task FileDeleteAsync( string KeyName, string BucketName... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lab8_task2
{
class BlackWhitePhone : ButtonPhone
{
public bool display = true;
public override void Call()
{
Console.WriteLine("Hi-hi! Personally I ... |
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 System.Threading;
using DevExpress.XtraEditors;
using IRAP.Global;
using IRAP.Client.Global;
using IRAP.Cli... |
namespace Assets.Scripts.Models.ResourceObjects
{
public abstract class ResourceObject : BaseObject
{
}
}
|
using NUnit.Framework;
using OrbCore.Core.Cache;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrbCoreTests.CacheTests {
[TestFixture]
class DiscordCacheTests {
DiscordObjectsCache<int> _cache;
ulong _idCount;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookService.Models
{
public class Jack
{
public class JackCollection
{
public List<Jack> Jacks { get; set; }
}
public int id { get; set; }
public string title { ge... |
using Photon.Pun;
using Photon.Realtime;
using Source.Code.Utils;
using System;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace Source.Code.MyPhoton
{
public class ConnectionToMaster : MonoBehaviourPunCallbacks
{
[SerializeField] private NickNameSette... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeeFarm
{
abstract class Bee
{
public int Age { get; set; }
public Hive HomeHive { get; set; }
public Bee()
{
Age = 0;
}
p... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Model.Logging;
using MediaBrowser.Model.Net;
using MediaBrowser.Model.Threading;
namespace MediaBrowser.Controller.Net
{
/// <summary>
/// Sta... |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using WebDriverOnCore.WebDriver;
namespace WebDriverOnCore.TestUntillities
{
public static class SeleniumExtension
{
public static IWebElement WaitUntilElementExists(By locator, int maxSeconds)
... |
namespace Uintra.Infrastructure.Providers
{
public interface IDateTimeFormatProvider
{
string TimeFormat { get; set; }
string EventDetailsDateFormat { get; set; }
string EventDetailsDateTimeFormat { get; set; }
string EventDetailsTimeFormat { get; set; }
string EventDeta... |
namespace Vendr.Checkout.Pipeline
{
/// <summary>
/// Base type for individual pipeline task.
/// Descendants of this type map an input value to an output value.
/// The input and output types can differ.
/// </summary>
internal interface IPipelineTask<INPUT, OUTPUT>
{
OUTPUT Proces... |
/*
* Author: Generated Code
* Date Created: 26.04.2011
* Description: Represents a row in the tblCustInkAktAktion table
*/
using System.Data.SqlClient;
using System.Data;
using System;
namespace HTB.Database
{
public class tblCustInkAktAktion : Record
{
#region Property Declaration
[MappingAttribute(Fie... |
using System;
using System.Linq;
using TY.SPIMS.Controllers.Interfaces;
using TY.SPIMS.Entities;
using TY.SPIMS.POCOs;
using TY.SPIMS.Utilities;
namespace TY.SPIMS.Controllers
{
public class SalesCounterController : ISalesCounterController
{
private readonly IUnitOfWork unitOfWork;
private rea... |
using System.Windows;
namespace Crystal.Plot2D
{
public static class PointExtensions
{
public static Vector ToVector(this Point pt) => new(pt.X, pt.Y);
public static bool IsFinite(this Point pt) => pt.X.IsFinite() && pt.Y.IsFinite();
}
}
|
using ComInLan.Model.Base;
namespace ComInLan.Model
{
public interface IBroadcastData : IJson
{
int ListeningPort { get; }
}
}
|
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using LeonClientApp.Models;
using System.ComponentModel.DataAnnotations;
using System;
namespace LeonClientApp.Database
{
public class PrimaryDatabaseContext : DbContext
{
private readonly IConfiguration _config;
... |
namespace BettingSystem.Infrastructure.Teams.Repositories
{
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Application.Teams;
using Application.Teams.Queries.All;
using Application.Teams.Queries.Coaches;
using Application... |
namespace gView.Framework.Carto
{
public class FeatureCounter
{
public int Counter;
}
}
|
using alg.graph;
using System;
using System.Collections.Generic;
using System.Linq;
/*
* tags: K subsets with equal sum, TSP
* It is similar with TSP(Travelling Salesman Problem). It's easy to solve using backtracking with much more complex.
* Here, it can be solved in O(n^2*2^n) using Dynamic Programming with Bi... |
using Bank.DataAccess;
using Bank.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Bank.Controllers
{
public class BankController : Controller
{
private IBankRepository repo;
public BankController(IBankRepository repo... |
using Project.Interface;
using Project.Presenter;
using System;
using System.Data;
using System.Windows.Forms;
namespace Project.View
{
public partial class ScheduleTime : Form
{
SubjectEventScheduler presenter;
DataRow dr;
ISubjectEventScheduler iSubjectEventScheduler;
DataTab... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Linq;
using AkkaOverview.Oanda.Library.Contracts;
using AkkaOverview.Oanda.Library.Factories;
using AkkaOverview.Oanda.Library.Models;
using AkkaOverview.Provi... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Experimental.UIElements;
using UnityEngine.UI;
public class Player : MonoBehaviour
{
public int lives;
public float speed;
public Animator anim;
void Start () {
}
void Update ()
{ //pega os ... |
namespace DChild.Gameplay.Systems.Serialization
{
public interface ISerializer
{
void Save();
void Load();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class TareaIndividual : System.Web.UI.Page
{
webservicio.Webservice2Client conec = new webservicio.Webservice2Client();
protected void Page_Load(object se... |
using ServiceStack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TomKlonowski.Api.Model.Request
{
[Route("/note", "POST")]
public class CreateNoteRequest
{
public string Title { get; set; }
public string Desc... |
namespace RosPurcell.Web.Constants.Images
{
public class BreakPointDefinition
{
public int Width { get; set; }
public int Height { get; set; }
public int? MaxWidth { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CEMAPI.Models
{
public class TransitionApprovalPendingDetail
{
public int? ProjectId { get; set; }
public string ProjectColor { get; set; }
public string ProjectCode { get; set; }
pub... |
using Euler_Logic.Helpers;
using System.Collections.Generic;
namespace Euler_Logic.Problems {
public class Problem133 : ProblemBase {
private PrimeSieveWithPrimeListULong _primes = new PrimeSieveWithPrimeListULong();
private Dictionary<ulong, bool> _isGood = new Dictionary<ulong, bool>();
... |
using UnityEngine;
using System.Collections;
public class InputDelegates : MonoBehaviour {
public delegate void InputDelegate();
public delegate void MovementDelegate(Vector2 moveVector);
public static event MovementDelegate MovementInput;
public static event InputDelegate AttackInput;
public sta... |
using System;
using FluentAssertions;
using NUnit.Framework;
namespace NumberToWordsService.WCF.UnitTests
{
[TestFixture]
public class CreatingMoney
{
[Test]
public void WhenInvalidTextIsPassedThenArgumentExceptionIsThrown()
{
Action action = () => { var x = new Money("... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Forecast.io.Entities;
using Forecast.io.Extensions;
namespace SimplyWeather.Models
{
public class ForcastIoDataProvider : IWeatherDataProvider
... |
using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations;
namespace Tndm_ArtShop.Data
{
public class ApplicationUser : IdentityUser
{
[Required(ErrorMessage = "Unesite ime.")]
[StringLength(30)]
public string Ime { get; set; }
[Required(ErrorMessage = "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _13.Modify_Bit
{
class ModifyBit
{
static void Main(string[] args)
{
ulong number = ulong.Parse(Console.ReadLine());
byte position = byte.Parse(... |
using System.ComponentModel;
using CoreGraphics;
using Foundation;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using CustomXamarinControls;
using CustomXamarinControls.iOS;
[assembly: ExportRenderer(typeof(LabelStriked), typeof(LabelStrikedRenderer))]
namespace CustomXamarinContr... |
using UnityEngine;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Event Instancer of type `ColliderGameObject`. Inherits from `AtomEventInstancer<ColliderGameObject, ColliderGameObjectEvent>`.
/// </summary>
[EditorIcon("atom-icon-sign-blue")]
[AddComponentMenu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DBDiff.Schema.Events
{
public class Progress
{
public delegate void ProgressHandler(object sender, ProgressEventArgs e);
}
}
|
using Terminal.Gui;
namespace UICatalog.Scenarios {
[ScenarioMetadata (Name: "Borders Comparisons", Description: "Compares Window, Toplevel and FrameView borders.")]
[ScenarioCategory ("Layout")]
[ScenarioCategory ("Borders")]
public class BordersComparisons : Scenario {
public override void Init (ColorScheme c... |
using Com.Colin.Lib;
using System;
using System.Collections;
namespace Com.Colin.IbatisDataAccess
{
public class BaseBL : HTAbstractBLBaseTransactionLogic
{
public static IDataAccess doAccess;
public BaseBL()
{
doAccess = dataAccess;
}
public BaseBL(string... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon.Realtime;
using UnityEngine.UI;
using TMPro;
public class PlayerListingsMenu : MonoBehaviourPunCallbacks, IPunCallbacks
{
[SerializeField]
private Button startButton = null;
[SerializeField]
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebQz.Models;
namespace WebQz.Service
{
public interface IQuestionsService
{
public IEnumerable<Questions> Shuffle();
public void StartStopGame(Game game, string originalTitle, string start);... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class BezierPath : MonoBehaviour {
#region variables
[SerializeField]
private Vector3[] ControlPoints = new Vector3[4];
[SerializeField]
private int segments = 10;
[Seriali... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CheckPoint : MonoBehaviour
{
public GameObject poingLight;
public GameObject globalLight;
void OnTriggerEnter2D(Collider2D other) //플레이어 리셋
{
if (other.gameObject.tag.Equals("Player"))
{
... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HNDunit20
{
public partial class frmBehavioural : F... |
using System;
namespace SocketLite
{
public class RequestInfo
{
public string ClientId { get; set; }
public string Handler { get; set; }
public string Action { get; set; }
public string ParamJson { get; set; }
public DateTime RequestTime { get; set; }
}
}
|
using System;
namespace TY.SPIMS.POCOs
{
public class CheckColumnModel
{
public int Id { get; set; }
public string CheckNumber { get; set; }
public string Bank { get; set; }
public string Branch { get; set; }
public decimal Amount { get; set; }
public DateTime C... |
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Text;
using System.Collections;
namespace VolumetricFogAndMist {
public class VolumetricFogShaderOptions {
public bool pendingChanges;
public ShaderAdvancedOption[] options;
public void ReadOptions() {
pendi... |
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
namespace MailSender
{
/// <summary>
/// Логика взаимодействия для MainWindow.xaml
/// </summary>
public partial class WpfMailSender : Window
{
public WpfMailSender()
... |
using System;
using UnityEngine;
using UnityEngine.Assertions;
namespace UnityAtoms
{
/// <summary>
/// A Variable Instancer is a MonoBehaviour that takes a variable as a base and creates an in memory copy of it OnEnable.
/// This is handy when you want to use atoms for prefabs that are instantiated at run... |
using System;
using System.Collections;
using System.Data;
using System.Web.UI;
using System.Web.UI.WebControls;
using HTB.Database;
using HTB.Database.HTB.Views;
using HTB.Database.LookupRecords;
using HTB.v2.intranetx.util;
using HTBUtilities;
namespace HTB.v2.intranetx.search
{
public partial class Search : Pa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class pages_sizeManage : System.Web.UI.Page
{
//private DataLayer sqlOperation = new DataLayer("sqljiuye");//数据库操作类
protected void Page_Load(object sender, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.IO;
namespace LoadLibrary
{
public class JSONDataLoader : ILoader
{
private string _fileName;
public JSONDataLoad... |
using System;
using System.Collections.Generic;
using System.Web.Http;
using System.IO;
using Giusti.Chat.Web.Library;
using System.Net.Http;
using System.Net;
using Giusti.Chat.Model;
using Giusti.Chat.Model.Dominio;
using System.Web;
using Giusti.Chat.Business;
namespace Giusti.Chat.Web.Controllers.Api
{
/// <s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//This is a mess...just let me get it working 100% will clean up. Sorry!!
public class SlidingTilePuzzle : MonoBehaviour
{
public GameObject horizontalButton;
public GameObject verticalButton;
public GameObject[] tiles;
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lab_014
{
class Program
{
static void Main(string[] args)
{
string @string;
for (; ; )
{
@string = Microsoft.Visual... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.ACC;
namespace com.Sconit.Entity.ISS
{
[Serializable]
public partial class IssueMaster : EntityBase, IAuditable
{
#region O/R Mapping Properties
[Display(Name = "Code", ResourceType = typeof(Resources.ISS.Iss... |
using System.ComponentModel.DataAnnotations.Schema;
namespace GradConnect.Models
{
public class Sponsored : Post
{
[InverseProperty("Employer")]
public int EmployerId { get; set; }
public virtual Employer Employer { get; set; }
}
} |
// <copyright file="MemberController.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Admin.Controllers
{
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace CouponMerchant.Migrations
{
public partial class AddedMerchantIdFKtoUserTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "MerchantId",... |
using Alabo.Cloud.School.SmallTargets.Domain.Entities;
using Alabo.Domains.Services;
using MongoDB.Bson;
namespace Alabo.Cloud.School.SmallTargets.Domain.Services
{
public interface ISmallTargetRankingService : IService<SmallTargetRanking, ObjectId>
{
}
} |
namespace Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class SiteDivisionSettings : DbMigration
{
public override void Up()
{
DropIndex("Web.JobReceiveSettings", new[] { "DocTypeId" });
DropIndex("Web.JobReceiv... |
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;... |
namespace KioskClient.View
{
public interface IRefreshablePage
{
void Refresh();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using iSukces.Code.Interfaces;
using JetBrains.Annotations;
namespace iSukces.Code.AutoCode
{
public static class GeneratorsHelper
{
public static void AddInitCode(CsClass cl, string codeLine)
{
... |
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using NHibernate.Type;
using Profiling2.Domain.Prf.Suggestions;
namespace Profiling2.Infrastructure.NHibernateMaps.Overrides
{
public class AdminSuggestionPersonResponsibilityOverride : IAutoMappingOverride<AdminSuggestionPersonRe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace xKnight.Attacking
{
public enum EncodedXssAttackStatus
{
InitAttackStarted,
InitAttackFinished,
AttackStarted,
AttackFinished,
AttackHalted
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using Fingo.Auth.AuthServer.Services.Interfaces;
using Fingo.Auth.DbAccess.Models;
using Fingo.Auth.DbAccess.Models.Policies.Enums;
using Fingo.Auth.DbAccess.Models.Statuses;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.Mode... |
using Ardalis.Specification;
using WritingPlatformCore.Entities;
namespace WritingPlatformCore.Specifications
{
public class CatalogFilterPaginatedSpecification : Specification<CatalogItem>
{
[System.Obsolete]
public CatalogFilterPaginatedSpecification(int skip, int take, int? ganreId, int? ... |
using System.Web.Mvc;
using TwitterLikeApp.Entity;
using TwitterLikeApp.UI.Models;
using TwitterLikeApp.UI.Services;
namespace TwitterLikeApp.UI.Controllers
{
public class BaseController : Controller
{
protected IContext DataContext;
public User CurrentUser { get; private set; }
public... |
using System;
namespace Faker.ValueGenerator.PrimitiveTypes.IntegerTypes
{
public class SByteGenerator : IPrimitiveTypeGenerator
{
private static readonly Random Random = new Random();
public Type GenerateType { get; set; }
public object Generate()
{
Genera... |
using Docller.Core.Models;
using Docller.Core.Repository;
namespace Docller.Core.Services
{
public class UserSubscriptionService :ServiceBase<IUserSubscriptionRepository>, IUserSubscriptionService
{
public UserSubscriptionService(IUserSubscriptionRepository repository) : base(repository)
{
... |
namespace BDTest.Tests;
public class MyTestContext
{
public string Id = Guid.NewGuid().ToString();
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using System.Xml;
using System.Xml.Schema;
namespace _3._1_Validating_JSON_XML
{
class Program
{
static void Main(string[] args)
... |
using System;
using System.IO;
namespace Cradiator.MigrateConfig
{
class Program
{
static int Main(string[] args)
{
var xmlFile = args.Length == 1 ? args[0] : "Cradiator.exe.config";
if (!File.Exists(xmlFile))
{
Console.WriteLine("xml config file doesn't exist: '{0}'", xmlFile);
return 1;
}... |
namespace Api.Versioned
{
public static class VersionConstants
{
//
// Configuration Settings
//
public const string ConfVersionHeader = "configuration:api-version-header-description";
public const string ConfVersionDefault = "configuration:api-version-default";
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.