text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemirbasTakipWpfUI.Entities
{
public class Allocation
{
public int Id { get; set; }
public int ProductId { get; set; }
public int PersonelId { get; set; }
... |
using System;
using Plus.HabboHotel.GameClients;
using Plus.HabboHotel.Groups;
using Plus.HabboHotel.Users;
namespace Plus.Communication.Packets.Outgoing.Groups
{
internal class GroupInfoComposer : MessageComposer
{
public Group Group { get; }
public bool NewWindow { get; }
... |
using System;
using System.IO.Compression;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace ZiZhuJY.Web.UI
{
// 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
// 请访问 http://go.microsoft.com/?LinkId=9394801
public class MvcApplication : HttpApplication
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArxOne.MrAdvice.Advice;
namespace FodyExample3
{
class Program
{
static void Main(string[] args)
{
ExampleClass exampleClass = new ExampleClass();
e... |
using Microsoft.EntityFrameworkCore;
using ShopApp.DataAccess.Abstract;
using ShopApp.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ShopApp.DataAccess.Concrete.EfCore
{
public class EfCoreProductDal : EfCoreGenericRepository<Product, ShopContext>, IProductDal
{
... |
using DbUp;
using System;
using System.Configuration;
using System.Reflection;
namespace ExamWork.DataAcces
{
public class Migration
{
private readonly string _connectionString;
public Migration()
{
_connectionString = ConfigurationManager.ConnectionStrings["ExamApp"].Conn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GuapiGraph
{
class PositionInfo
{
public string Name { get; set; }//岗位名称
List<MonthData> monthDataList { get; set; }//月份信息列表
public PositionInfo(string postion... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SmallHouseManagerModel
{
public class RoomModel
{
/// <summary>
/// 房间编号
/// </summary>
public string Code { get; set; }
/// <summary>
/// 房间号
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
namespace SimpleCrawler
{
public class HttpRequestProvider : IHtmlProvider
{
public event AddUrlEventHandler AddUr... |
namespace Arch.Data.Common.Enums
{
public enum MarkDownCategory
{
ErrorCount,
ErrorPercent
}
}
|
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 Contoso.XPlatform.Flow.Settings.Screen;
using Contoso.XPlatform.ViewModels.TextPage;
using System;
using Xamarin.Forms;
namespace Contoso.XPlatform.Views.Factories
{
public class TextPageFactory : ITextPageFactory
{
private readonly Func<TextPageViewModel, TextPageViewCS> _getPage;
priva... |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.AzureAD.UI;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Mvc;
namespace Client.Web.OpenIdConnect.Controllers
{
public class AccountController : Controller
{
public IActionResult SignIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _4._6MaxSequenceOfEqualElements
{
class Program
{
static void Main(string[] args)
{
int[] nums = Console.ReadLine().Split(' ').Select(int.Parse)... |
using System;
using System.Security.Claims;
using System.Security.Principal;
using WebVella.ERP.Api.Models;
namespace WebVella.ERP.Web.Security
{
public class ErpIdentity : ClaimsIdentity
{
public override string AuthenticationType { get { return "WebVellaErp"; } }
public o... |
using System;
using System.Linq;
namespace _02.DiagonalDifference
{
class DiagonalDifference
{
static void Main(string[] args)
{
int countOfMatrix = int.Parse(Console.ReadLine());
int[][] matrix = new int[countOfMatrix][];
for (int i = 0; i < countOfMatrix; i... |
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Jieshai
{
public class ObjectComparer
{
public ObjectComparer()
{
}
public ObjectComparer(params PropertyIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ERP_Palmeiras_LA.Models
{
public enum StatusEquipamento
{
FUNCIONANDO,
QUEBRADO
}
public partial class StatusEquipamentoWrapper
{
private StatusEquipamento status;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace Console2.From_001_To_025
{
public class _009_TreeTravelRelated
{
/// <summary>
/// interative travel tree inorder.
/// </summary>
/// <param name="root"></param>
... |
using System.Globalization;
using System.Windows;
using BPiaoBao.AppServices.DataContracts.DomesticTicket;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using BPiaoBao.Client.DomesticTicket.Model;
using BPiaoBao.Common.Enums;
using JoveZhao.Framework.E... |
using MultiCommentCollector.Models;
namespace MultiCommentCollector.Views
{
/// <summary>
/// LogWindow.xaml の相互作用ロジック
/// </summary>
public partial class LogWindow : SingleMetroWindow
{
#region Singleton
private static LogWindow instance;
public static LogWindow Instance ... |
using System;
using System.Drawing;
using System.Collections.Generic;
using System.Text;
namespace DiscordPoker {
public enum Rank {
NULL = 0, Two = 2, Three = 3, Four = 4, Five = 5, Six = 6, Seven = 7, Eight = 8,
Nine = 9, Ten = 10, Jack = 11, Queen = 12, King = 13, Ace = 14, Joker = 15... |
using System;
using System.ServiceModel;
using LosPollosHermanos.Infrastructure;
using LosPollosHermanos.ServiceContracts;
namespace LosPollosHermanos.Services
{
class Program
{
static void Main(string[] args)
{
//var ordersServiceHost = new ServiceHost(typeof (OrdersService));
... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace IoTHubReceiver.Model
{
public class DocumentType
{
public static string TelemetryDocument = "Telemetry";
public static string EventDocument = "Event";
}
public class TelemetryDocument
{
/* Each document in Docume... |
using API.Omorfias.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace API.Omorfias.Data.Interfaces
{
public interface IAuthRepository
{
User GetById(int id);
User FindUser(User userData);
User FindByUserOrEmail(string email);
User Register... |
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Text;
using System.Web;
using System.Windows.Forms;
namespace DownLoadYoutube
{
public class UtilClass
{
public delegate void SetTextCallback(object sender, EventArgs eventArgs);
public static ... |
// Accord Neural Net Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as p... |
using System;
namespace SparamTestLib
{
public class SparamChannel_Avg : SparamTestCase.TestCaseAbstract
{
private int iStartCnt, iStopCnt;
private bool blnInterStart, blnInterStop;
public override void Initialize()
{
_Result = new SResult();
for (int... |
using SFML.Graphics;
using SFML.Window;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LD30
{
class Tree : GameObject
{
Sprite sprite;
public Vector2f Position
{
get
{
return sprite.Position;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using dk.via.ftc.dataTier_v2_C.Persistence;
namespace dk.via.ftc.dataTier_v2_C.Data
{
public class DispensaryService : IDispensaryService
{
private List<Dispensary> dispensaries;
private List<Dispe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Threadmill : MonoBehaviour
{
public bool direction = false;
public float speed = 3;
private List<GameObject> objectsInTrigger = new List<GameObject>();
private void OnTriggerEnter2D(Collider2D collision)
... |
/*
* 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.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using UnityEngine;
using DragonBones;
public class ReplaceDisplayTextureTest : MonoBehaviour
{
public string dragonBonesName,armatureName,slotName,displayName;
[Space]
public Texture2D replaceTex;
public string replaceSlot;
// Use this for initialization
void Start ()
{
UnityArmatureCompone... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Umbraco.Web.Mvc;
namespace GlobalDevelopment.Controllers
{
public class RequestSurfaceController : SurfaceController
{
public void ... |
using System.Runtime.Serialization;
namespace SearchFoodServer.CompositeClass
{
[DataContract]
public class CompositeCategories
{
int _idCategorie;
string _nomCategorie;
[DataMember]
public int IdCategorieValue
{
get { return _idCategorie; }
... |
using System;
namespace iCopy.Model.Response
{
public class Copier
{
public string ID { get; set; }
public bool Active { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public TimeSpan StartWorkingTime { get; set; }
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdventureWorks.Services.Common
{
public interface IFileLoader
{
Task UploadFile(byte[] bytes);
}
}
|
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using BoardGamedia.Shared;
using BoardGamedia.Adapters;
namespace BoardGamedia
{
[Activity(Label = "BoardGamedia.Android", Icon = "@drawable/icon")]
public class SearchA... |
using MKModel;
using MKService.Messages;
using MKService.ModelFactories;
using MKService.Updates;
using System;
using MKService.DefaultModel;
namespace MKService.ModelUpdaters
{
internal class UserSignUpUpdater : ModelUpdaterBase<IUpdatableUserCollection, UserSignUp>
{
public UserSignUpUpdater(
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Windows.Input;
using City_Center.Clases;
using City_Center.Models;
using City_Center.Page;
using City_Center.Services;
using GalaSoft.MvvmLight.Command;
using Plugin.Share;
using Xamarin.Forms;
using static City_Cent... |
namespace PhotographerSystem.Migrations
{
using Models;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<PhotographerSystem.PhotographerContext>
{
public Configuration()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Ast.Common
{
public class XmlHelper
{
public static string ReadXmlValue(string strXml, string node)
{
string value = "";
try
... |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sample.Domain.Shared;
namespace Sample.Tests
{
public abstract class EventSourcedTestCase<T> where T : AggregateRoot
{
protected IGiven Given(Guid id, params DomainEvent[] events)
{
var insta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ReportesCLIN2.Reports
{
public class Controls
{
private List<string> resultado { get; set; }
public Controls()
{
this.resultado = new List<string>();
}
/// <summar... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using System;
using UnityEngine;
namespace EnhancedEditor
{
/// <summary>
/// <see cref="ScriptableObject"/> used for editor pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Erwine.Leonard.T.ExampleWebApplication
{
public partial class SiteMasterPage : System.Web.UI.MasterPage
{
private string _defaultTitle = null;
p... |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using CitizenFX.Core;
using ZentryAnticheat.Client.Controller;
using ZentryAnticheat.Client.Scans;
namespace ZentryAnticheat.Client
{
class Main : BaseScript
{
public Main()
{
this.EventHandlers.Add("scanEntitys",... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GrabCloth : MonoBehaviour {
public Cloth cloth;
Mesh clothMesh;
int grabVertex;
bool isGrabbing;
Vector3 lastMousePos;
// Use this for initialization
void Start () {
Debug.Assert(cloth != null)... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("Downloader")]
public class Downloader : MonoBehaviour
{
public Downloader(IntPtr address) : this(address, "Downlo... |
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SkillsGardenApi.Models
{
public class WorkoutExercise
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Microsoft.Phone.BackgroundTransfer;
using System.IO.IsolatedStorage;
using System... |
using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SmartClass
{
class Util
{
public static bool checkId(string id)
{
if (id.Length == 0 || id.Length > ... |
/******************************************************************************
*
* HL7SDK Base object/interface definitions
*
*****************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collecti... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Telephony
{
public interface IBrowseable
{
public string Browse(string website);
}
}
|
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class LogoTransition : MonoBehaviour
{
public GameObject target;
private float moveSpeed = 6.0f;
private bool canLoading = true;
void Update()
{
if (canLoading)
{
Vector3 pos = targ... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using TQVaultAE.Domain.Entities;
namespace TQVaultAE.Domain.Contracts.Providers
{
public interface IArzFileProvider
{
/// <summary>
/// Gets the DBRecord for a particular ID.
/// </summary>
/// <param name="recordId">string ID of the record will be normalized internally</param>
/// <returns>DBRecord corre... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class BurnMedia
{
public int BurnMediaId { get; set; }
public string DiscSize { get; set; }
public string Name { get; set; }
}
}
|
using System.IO;
namespace FlWaspMigrator.Support
{
public class FileSystem : IFileSystem
{
public Stream OpenRead(string fileName) => File.OpenRead(fileName);
public Stream OpenWrite(string fileName) => File.OpenWrite(fileName);
}
} |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPI_GraphQL_DotNetCore.Relation;
namespace WebAPI_GraphQL_DotNetCore.Model
{
public class ApplicationContext : DbContext
{
public ApplicationContext()
... |
namespace Checkout.Payment.Processor.Seedwork.Models
{
public enum DomainNotificationType
{
Error,
BusinessViolation
}
}
|
using System;
using PbStore.Domain.Pedidos;
using PbStore.Domain.Pedidos.ObjetosValor;
using PbStore.Domain.Pedidos.Repositorios;
namespace UnitTestProject1.Mocks
{
public class RepositorioCliente : IRepositorioCliente
{
public Cliente Obter(Guid id)
{
var nome = new Nome("André", ... |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
namespace Microsoft.DataPipeline.Deployment.Workflow.Services
{
public class ServiceMappings
{
readonly stri... |
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.Linq;
using Syste... |
namespace OmniSharp.Extensions.LanguageServer.Protocol
{
public static class TextDocumentNames
{
public const string CodeAction = "textDocument/codeAction";
public const string CodeActionResolve = "codeAction/resolve";
public const string CodeLens = "textDocument/codeLens";
publi... |
//
// - PropertyNode.Helpers.cs -
//
// Copyright 2013 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/l... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GUImanager : MonoBehaviour
{
public AudioClip AUGameOver;
public AudioSource AUBG;
public GameObject Player;
public GameObject Main;
public GameObject Begin;
public GameObject Over;
public Text Score;
public... |
using System;
using Application.Common.Mappings;
using Domain.Entities;
namespace Application.Common.Dtos {
public class AllProductDto : IMapFrom<ProductGL> {
public Guid IdProduct { get; set; }
public string ProductName { get; set; }
}
} |
using UnityEngine;
using System.Collections;
// TODO: Rename to player sprite manager or something
public class SpriteFollowPlayer : MonoBehaviour {
private GameObject hunterSprite;
private GameObject seekerSprite;
private float hunterOffset;
private float seekerOffset;
private Renderer hunterRe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using SchoolDiary.Controllers;
using SchoolDiary.Data.Entities;
using SchoolDiary.Models;
using Microsoft.EntityFrameworkCore;
using Moq;
using NUnit.Framework;
namespace SchoolDiary.Tests.Controllers
{
... |
namespace ZSharp.Framework.Configurations
{
public interface IStartupConfiguration
{
IModuleConfigurations Modules { get; }
T Get<T>();
}
} |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Hl7.Fhir.Rest;
using Hl7.Fhir.Model;
using System.Collections.Generic;
using LockStepBlazor.Application.Fhir.Queries;
namespace LockStepBlazor.Handlers
{
public class GetPatientListHandler : GetPatientList.IHandler
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MoveHistoryHandler : MonoBehaviour {
/// <summary>
/// Max history list length.
/// </summary>
public int maxSize;
/// <summary>
/// Move list.
/// </summary>
private Que... |
using ALM.Empresa.Entidades;
using System;
using System.Collections.Generic;
using System.Data;
using MySql.Data.MySqlClient;
using ALM.Empresa.AccesoDatos;
namespace ALM.Empresa.Datos
{
public class DForma : Conexion
{
public List<EFormas> ObtenerListaFormasPorUsuario(int idUsuario, int idEmpresa)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Text.RegularExpressions;
using HalconDotNet;
using ChoiceTech.Halcon.Control;
using SagensSd... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentAssertions;
using Moq;
using Xunit;
using Xunit.Extensions;
namespace NuCheck.Tests
{
public class PackagesAggregatorTest
{
public class Groups_All_Projects_By_Package_Id_And_Version
{
private const s... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.Entities.Modules;
namespace DotNetNuke.Entities.Tabs
{
public interface ITabChangeTracker
{
/// <summary>
/// Tr... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Text;
namespace Hotel.Data.Models
{
public class RezervisanaUsluga
{
public int Id { set; get; }
// jedna uslugahotela
public int UslugeHotelaId { get; set; }
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AsyncDelegates.Examples
{
public static class WaitForAsyncExample
{
public static void ShowWaitAsync()
{
Func<int, int, int> myDeleg... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using JsonFx.Json;
using Midworld;
partial class GoogleDrive
{
static T TryGet<T>(Dictionary<string, object> dict, string key)
{
object v;
if (dict.TryGetValue(key, out v) && v is T)
return (T)v;
else
return def... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Bitcoin.BitcoinUtilities;
using Bitcoin.Blox.Network;
using Org.BouncyCastle.Math;
using System.Threading.Tasks;
namespace Bitcoin.Blox.Protocol_Messages
{
public class BlockMessage : Message
{
/// <summa... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OpenSSL_WinGui
{
public partial class mainForm : Form
{
private static List<St... |
using JKMServices.BLL;
using Moq;
using UnitTests.Mock;
using Xunit;
namespace UnitTests
{
/// <summary>
/// Class Name : MoveDetailsTest
/// Author : Ranjana Singh
/// Creation Date : 27 Dec 2017
/// Purpose : Test cases for BLL Move Details methods.
/// Revision ... |
using System;
using Xunit;
using System.Collections.Generic;
using FizzBuzzTree;
using Trees.Classes;
namespace FizzBuzzTreeTDD
{
public class UnitTest1
{
[Fact]
public void FizzBuzz()
{
Node root = new Node(15);
Node nodeTwo = new Node(3);
Node nodeT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CmsShoppingCart.Models;
using CmsShoppingCart.Models.ViewModels.Pages;
using CmsShoppingCart.Models.Data;
namespace CmsShoppingCart.Areas.Admin.Controllers
{
public class PagesController : Controller
... |
using System.ComponentModel.Composition;
using System.Linq;
using System.Windows;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Prism.ViewModel;
using Torshify.Radio.Framework;
using Torshify.Radio.Framework.Commands;
namespace Torshify.Radio.Core.Views.Stations
{
[Export(typeof(S... |
using Microsoft.IdentityModel.Tokens;
namespace Dashboard.API.Application.Infrastructure.Identity
{
public interface IValidateAuthToken
{
TokenValidationParameters TokenValidationParameters { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _01.SqareRoot
{
class SquareRoot
{
static void Main(string[] args)
{
/*Write a program that reads an integer number and calculates and prints its square root.
If the number ... |
using NUnit.Framework;
using System;
namespace XamChat.Tests
{
public static class Test
{
public static void Setup ()
{
ServiceContainer.Register<ISetting>(()=>new FakeSetting());
ServiceContainer.Register<IWebServices>(()=>new FakeService(){SleepDurtion = 0});
}
}
}
|
/*
* Copyright 2014 Technische Universitšt Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
using LogicBuilder.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Enrollment.Forms.Parameters.DataForm
{
public class FormGroupBoxSettingsParameters : FormItemSettingsParameters
{
public FormGroupBoxSettingsParameters
(
[NameValue(AttributeNames.DEFAULTVALUE, "... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class _U : MonoBehaviour
{
public static _U Inst = null;
private static _U _inst;
private Dictionary<int, Canvas> _canvas;
private Dictionary<string, _UP> _panels;
private T... |
using PlatformRacing3.Server.Game.Client;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
namespace PlatformRacing3.Server.Game.Communication.Messages;
internal interface IMessageIncomingJson
{
void Handle(ClientSession session, JsonPacket message);
} |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GlobalDevelopment.SocialNetworks.Facebook.Models
{
public class FacebookWorkExperience
{
/// <summary>
/// ID.
/// </su... |
using System.Collections.Immutable;
using System.Composition;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalys... |
namespace _5.Phonebok
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
string input = Console.ReadLine();
SortedDictionary<string, string> dict = new SortedDictionary<string,... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PhonemesAndStuff
{
public abstract class AbstractPhoneme
{
public int ID { get; }
public string Name { get; }
public List<AbstractPhone> Allophones { get; }
public AbstractPhoneme(PhonemeSupporter pho... |
using Microsoft.AspNetCore.Mvc;
using NetCoreMvcExample.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NetCoreMvcExample.Controllers
{
public class CharacterController : Controller
{
private ICharactersRepository _charactersRepository... |
using PlatformRacing3.Server.API.Game.Commands;
using PlatformRacing3.Server.Game.Client;
using PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Packets.Match;
namespace PlatformRacing3.Server.Game.Commands.Match;
internal sealed class TeleportToCommand : ICommand
{
private readonly CommandManager comman... |
/*
* 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.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.