text stringlengths 13 6.01M |
|---|
using System.Linq;
using FuzzyLogic.Operations;
using FuzzyLogic.Sets;
namespace FuzzyLogic.PropertiesOperations
{
public class AbsorptionUnion : IBinaryProperty
{
public bool Operate(Set set1, Set set2)
{
var rightBrackets = Operation.Union(set1, set2).Result;
return O... |
using MongoDB.Driver;
using MongoDB.Bson;
using MongoDbCRUD.Models.Respository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MongoDbCRUD.Models
{
// this class is our Product Collection (Product Table)
public class ProductCollection
{
inter... |
using UnityEngine;
using UnityEngine.SceneManagement;
// Method wrapper for loading levelss
public class SceneSelector: MonoBehaviour {
//Object containing the level selection. Used to load the correct objects
SceneSelected sceneSelected;
void Start() {
sceneSelected = GameObject.Find("SceneSel... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.Extens... |
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Mvc;
using Asset.BisnessLogic.Library.AssetModelManagers.AssetEntryManagers;
using Asset.BisnessLogic.Library.AssetModelManagers.AssetSetupManagers;
using Asset.BisnessLogic.Library.Organizations;
using Asset.Models.Library.EntityModels.As... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using SFP.Persistencia.Dao;
using SFP.Persistencia.Model;
namespace SFP.SIT.SERV.Dao.TABADM
{
public class IndicadorDAO : BaseDao
{
public IndicadorDAO(DbConnection cn, DbTransaction transaction, String dataA... |
using System;
using System.Collections.Generic;
using System.Linq;
using Airfield_Simulator.Core.Airplane;
using Airfield_Simulator.Core.FlightRoutes;
using Airfield_Simulator.Core.Models;
namespace Airfield_Simulator.Core.Simulation
{
public class FlightDirector : SimulationObject, IFlightDirector
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
namespace WebPortalPOC.Booking.DataAccess
{
public class ConnectionConstant
{
public static string ConnectString = ConfigurationManager.AppSettings["sqlConn"];
public static string pwd... |
using System;
using System.ComponentModel;
using System.Windows.Forms;
using System.Windows.Interop;
using System.Runtime.InteropServices;
using FormsFolderBrowserDialog = System.Windows.Forms.FolderBrowserDialog;
using Window = System.Windows.Window;
namespace Grisaia.SpriteViewer.Windows {
/// <summary>
/// A wr... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Mentors.Models;
namespace Mentors.Migrations
{
[DbContext(typeof(MentorsContext))]
partial class MentorsCon... |
using System;
namespace TestApplicationDomain.DTO
{
public class BookingDto : BaseDto
{
public RoomDto Room { get; set; }
public UserDto User { get; set; }
public double Price { get; set; }
public double DiscountedPrice { get; set; }
public double TotalPrice { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using JoveZhao.Framework;
namespace BPiaoBao.Common
{
public class SettingConfigurationSection : ConfigurationSection
{
[ConfigurationProperty("sms")]
public SmsConfigurationElemen... |
using System;
using System.ComponentModel;
namespace filter.framework.utility
{
public enum DtType
{
/// <summary>
/// yyyy-MM-dd HH:mm:ss
/// </summary>
Type1 = 0,
/// <summary>
/// yyyy-MM-dd
/// </summary>
Type2 = 1,
/// <summary>
... |
using System.Linq;
using Emanate.Core.Configuration;
using Nancy;
namespace Emanate.Service.Api
{
public class InputsModule : NancyModule
{
public InputsModule(GlobalConfig config)
{
Get["/inputs"] = _ =>
{
return config.InputModules.Select(o => new {o.K... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.ComponentModel;
using System.Web.Caching;
using SKT.MES.Report.Model;
namespace SKT.MES.Web.Controls
{
/// <summary>
/// 工厂下拉列表控件。
/// </summary>
[ToolboxData("<{0}:Report runat=\"ser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using JKMServices.DAL.CRM.common;
namespace JKMServices.DAL.CRM
{
public class UserDetails : IUserDetails
{
/// Method Name : GetUserID
/// Author ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SchoolManagementSystem
{
public partial class ExamAdmission :... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(SmoothMovement))]
public class SmoothMovementQueue : MonoBehaviour {
/// <summary>
/// Queue of positions to move to
/// </summary>
private Queue<Vector3> locations;
/// <summary>
/// Queu... |
using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Beamore.API.OAuth.Providers;
[assembly: OwinStartup(typeof(Beamore.API.OAuth.Startup))]
namespace Beamore.API.OAuth
{
public class Startup
{
public void ... |
using Mirror;
using System;
using System.Collections;
using UnityEngine;
public class PlayerAnimation : NetworkBehaviour
{
[SyncVar]
public bool Moving = false;
[SerializeField]
private Animator anim;
private float AttackAnimationLength = 0.7f;
void Update()
{
if (!isLocalPlaye... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Turnamentor.Core.RoundSelecting
{
interface IRoundSelector<Contestant>
{
IEnumerable<IList<Contestant>> GetAllRounds();
}
}
|
using InvestmentForecaster.Domain;
using InvestmentForecaster.Service;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace InvestmentForecast.Api.Extensions
{
public static class ServiceCollectionExtensions
... |
using System;
using System.Collections;
using System.Security.Cryptography;
namespace ElementChaos
{
//TODO use tags implement element
class Tools
{
public readonly static int PackOffset = 1000;
public static Random rand = new Random();
public static bool isElment(GameDef.GameObj o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace PracicaArchivos.cs
{
class Program
{
static void Main(string[] args)
{
string texto= "Hola mundo frg fgh fd h fhdfhasd";
string ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Forms;
using Syste... |
using AutoMapper;
using EnsureThat;
using L7.Domain;
using MediatR;
namespace L7.Business
{
public class AddProductCommandHandler : RequestHandler<AddProductCommand, ProductModel>
{
private readonly IProductRepository repository;
private readonly IMapper mapper;
public AddProductC... |
using Xamarin.Forms.Platform.Android;
using Xamarin.Forms;
using RenderTest.Renderers;
using RenderTest.Droid.Renderers;
[assembly: ExportRenderer(typeof(RotationLabel), typeof(RotationLabelRender))]
namespace RenderTest.Droid.Renderers
{
public class RotationLabelRender : LabelRenderer
{
public Rota... |
using System;
public class LuaBinderAttribute : Attribute
{
public int order;
public LuaBinderAttribute(int order)
{
this.order = order;
}
}
|
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AlgorithmsChapter3;
namespace AlgorithmTest
{
[TestClass]
public class Chapter3Test
{
[TestMethod]
public void Test_CreateBST()
{
int[] input = {1,2,3,4,5,6,7,8,9};
_000_TreeMethods targ... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Micro.Net.Abstractions;
using Micro.Net.Core.Abstractions.Pipeline;
using Micro.Net.Core.Receive;
using Micro.Net.Receive;
namespace Micro.Net.Transport.Generic
{
public abstract class GenericReceiverBase : IReceiver
{
private r... |
using UnityEngine;
using System.Collections;
public class Enabler : MonoBehaviour {
public GameObject panel;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void Awake() {
panel.SetActive(true);
}
public void TurnOff() {
panel.SetActive (f... |
using System;
using System.Collections.Generic;
namespace QLTHPT.Models
{
public partial class Xaphuong
{
public Xaphuong()
{
Hocsinh = new HashSet<Hocsinh>();
}
public string XpMa { get; set; }
public string XpTen { get; set; }
public virtual ICol... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Upda... |
using Base.Test.Helpers;
using NUnit.Framework;
using SpecsFor.Configuration;
namespace Base.Test
{
[SetUpFixture]
public class SpecsForConfig : SpecsForConfiguration
{
public SpecsForConfig()
{
WhenTesting<INeedDatabase>().EnrichWith<EFDatabaseCreator>();
WhenTesti... |
using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using Maticsoft.DBUtility;//Please add references
namespace PDTech.OA.DAL
{
/// <summary>
/// 数据访问类:RISK_HANDLE_MAP
/// </summary>
public partial class RISK_HANDLE_MAP
{
public RISK_HANDLE_MAP()
{}
#region BasicMethod
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Evpro.Domain.Entities;
using Evpro.Service.Pattern;
namespace Evpro.Service
{
public interface IMessageService : IMyServiceGeneric<message>
{
void addMessage(message m);
IE... |
using UnityEngine;
using Minigame27;
using System.Collections;
using System.Collections.Generic;
public class MiniGame27_Manager : MiniGameSingleton<MiniGame27_Manager>
{
#region variables
/// <summary>
/// true - если хотя бы одна тень активна
/// </summary>
public bool isShadowBlock { get { ret... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UnMondeDeRobots
{
abstract class Robot // un robot en général
{
public int X { get; set; }
public int Y { get; set; }
public int LigneDepart { get; set; }
public int Co... |
// <copyright file="BooksController.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace AspNetSandbox.Controllers
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AspNetSandbox.DTOs;
using AspNet... |
using Dao.Seguridad;
using log4net;
using Model;
using Ninject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Blo.Seguridad
{
public class UsuarioBlo:IUsuarioBlo
{
/// <summary>
/// Instanc... |
//
// BoardMetrics.cs
//
// Author:
// Jon Thysell <thysell@gmail.com>
//
// Copyright (c) 2016, 2017, 2018 Jon Thysell <http://jonthysell.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace Almacen
{
public partial class WebForm4 : System.Web.UI.Page
{
WebForm5 wf = new WebForm5();... |
namespace Recuperatorio
{
public abstract class Personaje
{
public abstract bool Vive();
public abstract string Come();
public abstract string Camina();
public abstract string Habla();
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace BuildAZoo
{
public abstract class FarmAnimal : Animal
{
// FarmAnimal Properties
public virtual string Temperament { get; } = "calm";
// Inherited Methods
public override string Movement()
... |
namespace Triton.Game.Mapping
{
using System;
public enum TAG_STATE
{
INVALID,
LOADING,
RUNNING,
COMPLETE
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Files
{
/**
* Interface File
*
* @package OCP\Files
* @since 6.0.0
*/
public interface File : Node {
/**
* Get the content of the file as string
*
* @return string
* @throws \OCP\Files\NotPermittedException
* @since 6.0.0... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FeedBackPlatformWeb.Models.Surveys
{
public class SurveyShowResult
{
public string SurveyName { get; set; }
public double ProcentajRaspunsNegativ { get; set; }
public double ProcentajRaspunsP... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using DotNetNuke.Common.Utilities;
using DotNetNuke.UI.Modules;
#endregion
namespace DotNetNuke.Services.Installer.Packag... |
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Web;
namespace GlobalDevelopment.Helpers
{
public static class WebHelper
{
public static string QueryBuilder(Dictionary<string,string> queries)
{
string queryString = "?";
foreach(KeyValueP... |
using System;
using System.Data;
using System.Globalization;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using CRVCManager.DataModels;
using CRVCManager.Utilities;
namespace CRVCManager
{
/// <summary>
/// Interaction logic for ConsultWindow.xaml
/// </summary>
public pa... |
using AbstractFactory.Entities.Interfaces;
using System;
namespace AbstractFactory.Entities
{
public class RevestimentoBaseProtoss : IRevestimento
{
public void Composicao()
{
Console.WriteLine("Base revestida pela cor amarela");
}
}
}
|
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using RazorPagesHandlers.Data;
namespace RazorPagesHandlers.Pages.Categories
{
public class CreateModel : PageModel
{
private readonly SimpleDbContext _dbContext;
public CreateModel(Simple... |
using Umbraco.Core.Components;
namespace Umbraco.Web.Logging
{
internal class WebProfilerComposer : ICoreComposer
{
public void Compose(Composition composition)
{
composition.Components().Append<WebProfilerComponent>();
}
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Script
{
public class EnemyBase : MonoBehaviour
{
private string direction = "up";
//private float changeDirectionTime;
[SerializeField] private int directionNumber;
//privat... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="WindowFinder.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project root for lice... |
using AlienEngine.Core.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AlienEngine.Core.Threading
{
public static class ThreadsManager
{
/// <summary>
/// The list of <see cref="Thr... |
namespace EnumInCSharp
{
public interface ICustomer
{
int Genfer { get; }
string Name { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArticleSubmitTool.Models.InstantArticles;
namespace ArticleSubmitTool.Code.InstantArticles
{
public class InstantArticleItemData
{
public List<InstantArticleItemAttribute> Attribut... |
using System.Collections.Generic;
using System.Text;
using System;
namespace LinnworksAPI
{
public class GetSuggestedBinRacksRequest
{
public Guid StockItemId;
public Guid LocationId;
public List<Int32> BinRackTypeIds;
}
} |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Torneio.Web.ConnectionApi;
using Torneio.Web.Models;
namespace Torneio.Web.Controllers
{
public class JogoController : C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using sfShareLib;
using System.ComponentModel.DataAnnotations;
using CDSShareLib.Helper;
namespace sfAPIService.Models
{
public class EquipmentModels
{
public class Detail
{
public int Id { get; s... |
using _13NET.Azure.Lojinha.Core.Services;
using _13NET.Azure.Lojinha.Infrastructure.Redis;
using _13NET.Azure.Lojinha.Infrastructure.Storage;
using Microsoft.Extensions.DependencyInjection;
namespace _13NET.Azure.Lojinha.App_Config
{
public static class ConfigExtensions
{
public static void AddAppDepe... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System.IO;
using StoreDB.Models;
namespace StoreDB
{
public class StoreContext : DbContext
{
public StoreContext()
{
}
public StoreContext(DbContextOptions<StoreContext> options) : base(option... |
using AutoMapper;
namespace Nm.Reservation
{
public class ReservationMapperProfile : Profile
{
public ReservationMapperProfile()
{
CreateMap<ReservationCondition, ReservationConditionDto>();
CreateMap<ReservationManagerInfo, ReservationManagerInfoDto>();
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("CollectionNewDeckButton")]
public class CollectionNewDeckButton : PegUIElement
{
public CollectionNewDeckButton(IntPtr address) : this(address, "CollectionNewDeckButto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using System.IO;
namespace Vuokranseuranta
{
[DataContract]
public class Vuokra
{
[DataMember]
public string Kuukausi { ge... |
using BPiaoBao.SystemSetting.Domain.Models.Businessmen;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
namespace BPiaoBao.SystemSetting.EFRepository.BusinessmenMap
{
public class DefaultPolicyMap : EntityTypeConfiguration<DefaultP... |
using System;
using UnityEngine;
public class UnitController : UnitNetworkController
{
bool m_IsAttack;
protected override bool IsAttack { get { return m_IsAttack; } set { m_IsAttack = value && m_Unit.LifeControl.Lived; } }
//{
// get { return m_CurrentData.Attack.IsAttack; }
// set { /*m_Da... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RadPayroll.Guides.Operations
{
public static class MathDec
{
public static decimal Multiply(decimal op1, decimal op2)
{
return decimal.Multiply(op1, op2);
}
public static decimal Divide(de... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusAroundMe
{
public class BusStopForRoute : INotifyPropertyChanged
{
/// <summary>
///
/// </summary>
private string rout... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Bb.Expressions.Statements
{
public abstract class Statement
{
public Statement()
{
}
public abstract Expression GetExpression(HashSet<string> variableParent);
public static imp... |
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using System.Collections.Generic;
public struct SaveState
{
public List<int> EncounteredInts;
}
public class GameController : MonoBehaviour, IPointerDownHandler
{
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using NUnit.Framework;
using AventStack.ExtentReports;
using AventStack.ExtentReports.Reporter;
namespace SeleniumTutorials
{
[TestFixture]
p... |
using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
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... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShopCounter : InteractiveObject
{
ItemInfo item;
public void SetItem(ItemInfo info)
{
item = info;
GameObject gameObject = Instantiate(item.item);
gameObject.transform.SetParent... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Laser : MonoBehaviour
{
public LayerMask interactionLayer;
public float updateFrequnecy;
public int maxReflections = 3;
LineRenderer line;
Reflector reflector;
Crystal crystal;
Ring ring;
float... |
using System.Text;
public static class Parse
{
public static string GetCommand(ref string msg)
{
int k;
string command;
k = msg.IndexOf("|");
command = msg.Substring(0, k + 1);
msg = msg.Remove(0, k + 1);
return command;
}
public static st... |
using System;
namespace SayısalAnalizÖdev1
{
class Program
{
static void Main(string[] args)
{
/*
Değişkenler:__________
double xBas: Başlangıç Değeri
double hPayi: Hata Payı
double deltaX: X... |
using System;
class MainClass
{
public static void Main ()
{
Console.Write ("Enter the first number: ");
double a = double.Parse (Console.ReadLine ());
Console.Write ("Enter the second number: ");
double b = double.Parse (Console.ReadLine ());
Console.Write ("Enter the third number: ");
double c = doubl... |
using DynamicData;
using System;
using System.Collections.Generic;
using System.Reactive;
using System.Reactive.Concurrency;
using TableTopCrucible.Core.Models.Sources;
using TableTopCrucible.Core.Models.ValueTypes.IDs;
namespace TableTopCrucible.Data.Services
{
public interface IDataService<Tentity, Tid> : IDi... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
using Peppy.Domain.UnitOfWork;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Peppy.EntityFrameworkCore.UnitOfWork
{
public class UnitOfWorkCompleteHandle<TDbContext> : IUn... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
namespace RecipesProj.Models
{
public class StatsController : Controller
{
private ApplicationDbContext db = new ApplicationDbContex... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace NuCheck
{
public class PackagesFile
{
public PackagesFile(string projectFile)
{
LoadFile(projectFile);
}
private void LoadFi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.MobileServices;
using SumoNinjaMonkey.Framework.Controls.Messages;
using GalaSoft.MvvmLight.Messaging;
namespace ModernCSApp.Services
{
public class AzureMobileService
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Shop : MonoBehaviour
{
public static Shop Instance;
void Awake()
{
if (Instance == null)
Instance = this;
else
Destroy(gameObject);
}
[System.... |
using LogUrFace.Domain.Repositories;
using LogUrFace.Reporting.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LogUrFace.Reporting.Services
{
public class DTRBuilder : IDTRBuilder
{
private IDTRRepository _dtrReposi... |
using ALM.Empresa.Entidades;
using ALM.Empresa.Negocio;
using System;
using System.Collections.Generic;
using System.IO;
using System.Web;
namespace ALM.Empresa.Interfaz {
public static class InformacionUsuarioLogueado
{
public enum Privilegio
{
Privilegio1 = 1,
Privile... |
using System.Collections.Generic;
using System.Linq;
using SnmpSharpNet;
namespace Printer_Status.Helpers
{
/// <summary>
/// Helper class for SNMP interaction.
/// </summary>
public static class SnmpHelper
{
/// <summary>
/// The default SNMP port.
/// </summary>
pu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SampleTracker.Model
{
public class AccelerometerReading
{
public string Id { get; set; }
public double AccelerometerX { get; set; }
public double AccelerometerY { get; set; }
public double Acceleromete... |
using System;
using System.Collections.Generic;
using System.Text;
using Sunrise;
using Sunrise.Generic;
using Sunrise.Generic.Frames;
using Sunrise.CelestialObjects;
using Sunrise.Generic.States;
namespace Sunrise.Astronomy.RiseSet
{
public class Observer
{
public string Name { get; set... |
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IDal
{
public interface IArticleRepository
{
IQueryable<Article> GetList(Entities db, int catalog_id);
int Create(Article entity);
int Edit(Article entity);
int Dele... |
using System;
using System.Diagnostics;
using System.Linq;
using System.Collections.Generic;
using System.Windows.Forms;
using Sybase.Collections;
using Sybase.Mobile;
using Sybase.Persistence;
using MMSCAN;
using Application = System.Windows.Forms.Application;
using Microsoft.Win32;
using System.Drawing;
... |
using BookRezervation.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BookRezervation.Data
{
public class BookRezervationContext
:DbContext
{
public virtual DbSet<Country> Country { get; s... |
using CarParkingSystem.Models;
using CarParkingSystem.Models.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
namespace CarParkingSystem.Controllers
{
public class UserController : Controller
{
private Dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/* Brett Clark
* January 18, 2016
* Change Request
* Class declaration, variable declaration
*/
namespace PalmBusinessLayer
{
public class Change_Request
{
int changeRequestID;
... |
namespace Voronov.Nsudotnet.BuildingCompanyIS.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddIdToJournals1 : DbMigration
{
public override void Up()
{
DropForeignKey("bcis.BuildPlans", "BrigadeId", "bcis.Brigades");
Dr... |
using UnityEngine;
using System.Collections;
/*
* This class is used to manage game screens and stages
*/
public static class StageManager {
static StageManager() {
init ();
}
//variables
//initalization function
private static void init() {
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MultipleThreads
{
class Program
{
static int successCounter = 0;
static int failedCounter = 0;
... |
using CoreDemoModels.DomainModels;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace CoreDemoService.Context
{
public class CoreDemoDbContext : DbContext
{
//public CoreDemoDbContext() { }
public CoreDemoDbContext(DbContextOptions... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.