text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace CompBase_test1.classes
{
public class UserControl_Call
{
public static void UserControl_Add(Grid grid, UserControl userControl)
{
... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace SmartStocksImporter.Models
{
public class Class
{
[JsonPropertyName("p")]
public P p { get; set; }
[JsonPropertyName("c")]
public C c { get; set; }
}
} |
using LoowooTech.Stock.ArcGISTool;
using LoowooTech.Stock.Common;
using LoowooTech.Stock.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Rules
{
public class GHYTTDGHDLRule:ArcGISBaseTool,Models.IRule
{
public override string Rul... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
/// <summary>
/// Summary description for Horario
/// </summary>
[DataContract]
public class cHorario
{
public cHorario()
{
//
// TODO: Add constructor logic here
//
}
[DataMember(IsRe... |
using System;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class MultiplierManager : MonoBehaviour
{
public static MultiplierManager instance;
[SerializeField] private List<MultiplierSegment> multipliers = new List<MultiplierSegment> ();
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Voluntariat.Data.Migrations
{
public partial class Add_Roles : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Name",
t... |
using System;
namespace RandomCards
{
class Program
{
static void Main(string[] args)
{
string[] rank = new string[13] { "Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King" };
string[] suit = new string[4] { "Clubs", "Diamonds", "Hearts", "Spade... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Commun
{
public class DirtyMaterialPaquet : Paquet
{
private int idTable;
private int quantity;
private string typeMaterial;
public DirtyMaterialPaquet... |
using Ext.Net;
using Ext.Net.MVC;
using MusicaManager.Application.MusicLibrary.SongModule.Services;
using MusicManager.Application.MusicLibrary.DTO.SongModule;
using MusicManager.Presentation.ASPMVC.MusicLibrary.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ManageDomain.Models
{
public class TaskVersion
{
public int VersionId { get; set; }
public int TaskId { get; set; }
public string VersionNo { get; set; }
public DateTime CreateTime ... |
using ClaimDi.DataAccess.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClaimDi.DataAccess.Object.WebConsumer
{
public class VerifyEmailModel
{
public string Message { get; set; }
}
public class ChangePassw... |
using SupplianceStore.Domain.Abstract;
using SupplianceStore.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SupplianceStore.Domain.Concrete
{
public class EFProductRepository : IProductRepository , IReviewRepository
... |
using Infrastructure.Database;
namespace Domain.Entitys
{
public partial class PayOrder : EntityBase
{
public decimal PayAmount { get; set; }
public string PayResult { get; set; }
public string OrderNo { get; set; }
}
} |
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 ProyectoBolera
{
public partial class MiniClientesForm : Form
{
public MiniCli... |
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
var shops = new SortedDictionary<string, Dictionary<string, decimal>>();
while (true)
{
var line = Console.ReadLine();
... |
// <copyright file="IndexDataOfCharStrings.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
namespace WaterTrans.GlyphLoader.Internal.OpenType.CFF
{
/// <summary>
/// The Compact FontFormat Specification CharStrings INDEX.
/// </summary>
internal class IndexDataOfCharStrings : IndexData
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Favorites.Maps;
using Welic.Dominio.Patterns.Service.Pattern;
namespace Welic.Dominio.Models.Favorites.Services
{
public interface IFavoriteService : IService<FavoriteMaps... |
using UnityEngine;
using System.Collections;
public class VideoGameManager : MonoBehaviour {
public int togo;
private float time;
// Update is called once per frame
void Start ()
{
time = 0f;
}
void FixedUpdate () {
time += Time.deltaTime;
if (time >= 2f) //Tiempo para iniciar trancisión
GameObject.F... |
using System.Collections.Generic;
public class TaskSpec
{
public TaskSpec(string name)
{
this.Name = name;
this.Children = new List<TaskSpec>(0);
this.Args = new Dictionary<string, string>();
}
public string Name { get; }
public IList<TaskSpec> Children { get; }
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotelManagement.DataObject;
using System.Windows.Forms;
using System.Data;
namespace HotelManagement.Controller
{
public class ThietBiControl
{
ThietBiData data = new ThietBiData();
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Foundation : MonoBehaviour, ICell
{
public GameObject highlight;
public int suit;
private List<Card> cards = new List<Card>();
public void DropCardInCell(Card card)
{
cards.Add(card);
card.... |
using Android.App;
using Android.OS;
using Android.Widget;
using SmartHome.Service.Response;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using SmartHome.Util;
using System.Net;
using System.Text;
using Newtonsoft.Json;
using Android.Content;
using System.IO;
using SmartHome.Service;
using System... |
using SimplySqlSchema.Query;
namespace SimplySqlSchema.MySql
{
public class MySqlQuerier : SchemaQuerier
{
public override BackendType Backend => BackendType.MySql;
}
}
|
using System.Collections.Generic;
using SelectionCommittee.BLL.DataTransferObject;
namespace SelectionCommittee.WEB.Models
{
public class DisplayHome
{
public IEnumerable<FacultyDTO> FacultiesDTO { set; get; }
}
} |
using System;
namespace EmailChecker
{
class Program
{
public static bool IsEmailAddress(string emailAddress){
int iAt = emailAddress.IndexOf('@'); //@ suchen, ob drin und position und in iAt abspeichern, index von vorne gezählt
int iDot = emailAddress.LastIndexOf('.'); // . s... |
using System;
using KeepTeamAutotests;
using KeepTeamAutotests.Model;
using NUnit.Framework;
using KeepTeamAutotests.AppLogic;
namespace KeepTeamTests
{
[TestFixture()]
public class CandidateScreenTests : ImagePopupTests
{
[SetUp]
public void Login()
{
app.userHelper
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace MGcomponentsWPF.Dialogs
{
interface Dialog
{
}
}
|
using SciVacancies.Domain.Enums;
using SciVacancies.WebApp.ViewModels.Base;
using System.Collections.Generic;
namespace SciVacancies.WebApp.ViewModels
{
public class OrganizationDetailsViewModel : PageViewModelBase
{
public OrganizationDetailsViewModel()
{
Title = "Карточка организ... |
using ISE.Framework.Common.Aspects;
using Router.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
namespace ISE.SM.Service.WindowsHost
{
public class SMWindowsService:ServiceBase
... |
namespace TeamCityChangeNotifier.Helpers
{
public static class UriPath
{
public static string Combine(string baseUri, string rest)
{
if (string.IsNullOrEmpty(baseUri))
{
return rest;
}
if (string.IsNullOrEmpty(rest))
{
return baseUri;
}
bool baseHasTrailingSlash = b... |
using gView.Framework.system;
using System;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.Framework.UI.Dialogs
{
public enum ProgressMode { ProgressBar, ProgressDisk }
/// <summary>
/// Zusammenfassung für FormTaskProgress.
/// </summary>
public class FormTaskProgress :... |
using BuiltCodeWeb.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BuiltCodeWeb.Repository.IRepository
{
public interface IDoctorRepository : IRepository<Doctor>
{
}
}
|
using fileCrawlerWPF.Media;
using System;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace fileCrawlerWPF.Controls.model
{
public class FileInformation_ViewModel
: INotifyPropertyChanged
{
private ProbeFile _file;
public event Pr... |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
/// Author: Corwin Belser
/// Controller to patrol, chase players, and horde mementos
[RequireComponent(typeof(NavMeshAgent))]
public class EnemyController : MonoBehaviour {
public enum EnemyState
{
Idle,
... |
using UnityEngine;
using System.Collections;
public class Fireball : MonoBehaviour
{
public float timeToLive = 10.0f;
public float speed = 5.0f;
private float timeElapsed = 0f;
// Update is called once per frame
void Update ()
{
timeElapsed += Time.deltaTime;
if (timeElapsed > t... |
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
namespace Witsml.ServiceReference
{
public static class EnumMemberToString
{
public static string GetEnumMemberValue<T>(this T value) where T : Enum
{
return typeof(T)
.GetT... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Configuration;
using CEMAPI.BAL;
using CEMAPI.Models;
using CEMAPI.Controllers;
using doc = DMSUploadDownload;
namespace CEMAPI.DAL
{
pu... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class StartGame : MonoBehaviour
{
public static bool isMute = false;
public Button speakerButton;
public Sprite[] speakerImages;
private float dispalyHeight, displayWidth;
// Start is called before the fi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Bomb_Timer : MonoBehaviour
{
public Text timerText;
// Update is called once per frame
void Update()
{
if(gameObject.activeSelf)
{
timerText.text = W... |
using gView.Server.Services.Hosting;
using gView.Server.Services.Logging;
using gView.Server.Services.MapServer;
using gView.Server.Services.Security;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace gView.Server.Extensions.DependencyInjection
{
static public class ServiceCollectionExtensio... |
using System;
public class EventDetails
{
// timeUntil
// scene
private int timeUntil;
private string scene;
public EventDetails(int timeUntil, string scene)
{
this.timeUntil = timeUntil;
this.scene = scene;
}
public string GetScene()
{
return scene;
}... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Conarte.Conarte
{
public partial class Aplicacion
{
private int ? _Id;
public int ? Id
{
get {
return _Id;
}
set {
_Id = value;
... |
/***********************************************************************
* Module: Renovation.cs
* Author: LukaRA252017
* Purpose: Definition of the Class Manager.Renovation
***********************************************************************/
using System;
namespace Model.Manager
{
public class Renovat... |
using System;
using OptionalTypes.JsonConverters.Tests.TestDtos;
using Xunit;
namespace OptionalTypes.JsonConverters.Tests.Unit.Read
{
public static class EnumTests
{
[Fact]
public static void Convert_GivenGuid_ShouldSetValue()
{
//Arrange
var json = @"{""Value"... |
using Welic.App.Models.Schedule;
using Welic.App.ViewModels;
using Welic.App.ViewModels.Base;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Welic.App.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ListEventsPage : ContentPage
{
public ListEventsPage ()
{
Initialize... |
using System;
using System.Diagnostics;
using ProgFrog.Core.TaskRunning.Runners;
using ProgFrog.Interface.TaskRunning;
using ProgFrog.Interface.TaskRunning.Runners;
namespace ProgFrog.Core.TaskRunning
{
public class StandardOutputStreamReader : IOutputReader
{
public IProcess Process { get; private se... |
using BencodeNET.Torrents;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TorrentDotNet.Util
{
public static class Insertion
{
public static void I... |
namespace RosPurcell.Web.Controllers.Pages
{
using System.Web.Mvc;
using RosPurcell.Web.Constants.Caching;
using RosPurcell.Web.Controllers.Pages.Base;
using RosPurcell.Web.ViewModels.Pages;
public class ContentPageController : BasePageController
{
[OutputCache(CacheProfile = CacheKey... |
using System.ComponentModel.DataAnnotations.Schema;
using Castle.Components.DictionaryAdapter;
#nullable disable
namespace Models.FicheModel
{
public partial class Sort
{
//public int IdSort { get; set; }
public int IdFiche { get; set; }
public byte NiveauSort { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper.DBContext;
using EBS.Domain.Entity;
using EBS.Infrastructure.Extension;
namespace EBS.Domain.Service
{
public class StoreService
{
IDBContext _db;
public StoreService(... |
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Xamarin.Android.Prepare
{
class Step_PrepareLocal : Step
{
public Step_PrepareLocal ()
: base ("Preparing local components")
{}
protected override async Task<bool> Execute(Context context)
{
var msbuild = new M... |
using UnityEngine;
using System.Collections.Generic;
public class Vernietigbaar : MonoBehaviour
{
// base components
[HideInInspector] public Transform myTransform;
[HideInInspector] public GameObject myGameObject;
// references
[Header("references")]
public FlameableScript myFlameableScript;... |
using System;
using System.ComponentModel;
using System.Xml.Serialization;
namespace KartObjects.Entities.Documents
{
/// <summary>
/// Документ
/// </summary>
public class Document:BaseDocument
{
public Document(): base()
{
IsNew = false;
}
pub... |
using System;
using System.Collections;
using System.Collections.Generic;
using com.Sconit.Entity.MD;
using com.Sconit.Entity.MRP.MD;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.TRANS
{
public partial class RccpMiPlan
{
public double CheQty
{
get { retu... |
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;
namespace ProyectoSCA_Navigation.Clases
{
public... |
using UnityEditor;
using UnityEngine;
namespace AtomosZ.OhBehave.EditorTools
{
public class InverterNodeWindow : NodeWindow, IParentNodeWindow
{
public InverterNodeWindow(NodeEditorObject nodeObj) : base(nodeObj) { }
public override bool ProcessEvents(Event e)
{
inPoint.ProcessEvents(e);
outPoint.Proce... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
namespace ConsoleApi
{
class Program
{
public static string lastError = "";
public static string banks = "";
static void Main(string[] args)
{
... |
namespace IconCreator.Core.Domain.Enums
{
public enum ImageStyles
{
Flat,
Classic
}
}
|
using UnityEngine;
namespace Common
{
public static class RectUtility
{
public static Rect With(this Rect r, float? x = null, float? y = null, float? width = null, float? height = null) =>
new Rect((x ?? r.x), (y ?? r.y), (width ?? r.width), (height ?? r.height));
public static ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Serialization.Tests.Entities
{
public class Opcional
{
public virtual int CodOpcional { get; set; }
public virtual string Name { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyHeroKill.Model.Skills
{
public class BudaoSkill : BaseSkill
{
public BudaoSkill()
{
this.Name = "补刀";
this.AddAttackDistance = 0;
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Dynamic;
using System.Data.Common;
namespace DALBase
{
public abstract class SqlExecutorBase<TParameter, TConnection, TCommand, TAdapter> : IDBExecutor<TParameter, TConnection>, IDisposable
... |
using Banco.Contas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Banco.Relatorios
{
class RelatorioSimples : TemplateRelatorio
{
protected override string Cabecalho()
{
return "Banco Ficticio \t Telefo... |
// holds General Functions for the site
public class General {
//gets the caluulation of the tax base on
public static string calculateTax(int intCountryID, int intProvinceID, string strSubTotal, bool boolGetTaxTotalOnly = false) {
string strStateTaxTotal = "0.0";//holds what the tax total for the state wi... |
using UnityEngine;
namespace QuestSystem
{
//public class LocationObjective : IQuestGoal
//{
// private string title;
// private string description;
// private string verb;
// private bool isComplete;
// private bool isSecondary; // If a branching path for the ques... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class EnemyDB : MonoBehaviour
{
public List<BaseEnemyDBEntry> enemies = new List<BaseEnemyDBEntry>();
#region Singleton
public static EnemyDB instance; //call instance to get the single active Enem... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightingBook.Tests.Api.Product.Dto.CarSelection.Request
{
public class Car
{
public Supplier Supplier { get; set; }
public Vehicle Vehicle { get; set; }
public string RateCode ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Hacker : MonoBehaviour {
const string menuHint = "Type 'menu' to return.";
// Game config
string[] level1Passwords = { "books", "aisle", "shelf", "password", "font", "borrow" };
string[] level2Pa... |
using System.Data.Entity;
namespace LINQ101MVC.Models
{
public partial class ApplicationDbContext : DbContext
{
public static ApplicationDbContext Create() => new ApplicationDbContext();
public ApplicationDbContext() : base("name=DefaultConnection") { }
public virtual DbSet<Department... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using PlatformStatusTracker.Core.Enum;
using System.ComponentModel;
namespace PlatformStatusTracker.Core.Data
{
public class PlatformStat... |
using System;
using Gtk;
public partial class MainWindow: Gtk.Window
{
public MainWindow (): base (Gtk.WindowType.Toplevel)
{
Build ();
}
protected void OnDeleteEvent (object sender, DeleteEventArgs a)
{
Application.Quit ();
a.RetVal = true;
}
protected void OnBtnfactClicked (object sender, EventArgs ... |
namespace Fedex
{
// External Proprietary Service Class
// Non Editable for consuming client
public class FedexService
{
public void CreateShipment(string address, string shipmentName)
{
System.Console.WriteLine($"Your shipment for {shipmentName} created in Fedex and will be ... |
using DLMotion;
//*************************************************************************
//@header MachineState
//@abstract Do something when create state.
//@discussion Depend on PlayerState.
//@author Felix Zhang
//@copyright Copyright (c) 2017 FFTAI Co.,Ltd.All rights reserved.
//@version ... |
using System;
using Compent.CommandBus;
namespace Uintra.Features.Likes.CommandBus.Commands
{
public abstract class LikeCommand : ICommand
{
public Guid Author { get; }
public Guid EntityId { get; }
public Enum EntityType { get; }
protected LikeCommand(Guid entityId, Enum enti... |
using System;
using System.Linq;
namespace Triple_sum
{
class Program
{
static void Main(string[] args)
{
long[] arr = Console.ReadLine()
.Split(' ')
.Select(long.Parse)
.ToArray();
bool flag = true;
for (lon... |
using DigitalFormsSteamLeak.Business;
using DigitalFormsSteamLeak.Entity.IModels;
using DigitalFormsSteamLeak.Entity.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DigitalFormsSt... |
namespace CourseVoiliers.Classes
{
public class Voilier
{
}
} |
using System;
using System.IO;
namespace number_28131
{
class Program
{
/* Задача: На вход программы поступает последовательность из n целых положительных чисел.
Рассматриваются все пары элементов последовательности a[i] и a[j], такие что i < j и a[i] > a[j]
(первый элемент пары... |
using System.ComponentModel.DataAnnotations.Schema;
namespace InheritCars.Models
{
public class Car
{
//[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int Id { get; set; }
public string Model { get; set; }
public decimal Price { get; set; }
}
} |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace MainWebApplication.Migrations
{
public partial class fixes : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_BleCharacteris... |
using ApiTemplate.Core.Entities.Users;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace ApiTemplate.Data.Configurations.Users
{
public class AppRoleConfiguration :IEntityTypeConfiguration<AppRole>
{
public void Configure(EntityTypeBuilder<AppRole>... |
using MVVMExample.Models;
using MVVMExample.ViewModels;
namespace MVVMExample.Views
{
public partial class Area2View
{
#region Constructors
public Area2View(BusinessLogicService businessLogicService)
{
InitializeComponent();
CalculatedValue = businessLogicServi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using OfficeOpenXml;
using System.IO;
using Stolons.Models;
using System.Threading;
using Microsoft.Data.Entity;
using System.Globalization;
using OfficeOpenXml.Style;
using Stolons.Helpers;
using Stolons.Services;
using Sy... |
/***********************************************
*
* This class should only contain instructions for using weapons
* and such by the player
*
* The class is functions is meant to be called by another class,
* This class will act of the assumption that there is no restriction
* on WHEN the player can attack
*... |
using InoDrive.Domain.Entities;
using InoDrive.Domain.Models;
using InoDrive.Domain.Models.InputModels;
using InoDrive.Domain.Models.OutputModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace InoDrive.Api.App_Start
{
public static class AutoMapperConfig
{
... |
namespace ElementsInRange
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Wintellect.PowerCollections;
class MainProgram
{
static void Main()
{
StringBuilder allProductsToString = new S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// Author: M. Fathir Irhas | OpenKattis | 02/06/2017
namespace Unbearablezoo
{
class Program
{
static List<List<string>> ListOfAnimals(List<List<string>> list){
List<List<string>> e = new Lis... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity.ModelConfiguration.Conventions;
using Repository.Entities;
namespace Repository.Context
{
public class AuthContext : DbContext
{
public... |
using Microsoft.AspNetCore.Mvc;
namespace IntegrationAdaptersPharmacySystemService.Controllers
{
[Route("[controller]")]
[ApiController]
public class PingController : ControllerBase
{
public IActionResult Ping()
{
return Ok("Service-1");
}
}
}
|
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Pobs.Domain.Entities;
using Pobs.Tests.Integration.Helpers;
using Pobs.Web.Models.Watching;
using Xunit;
namespace Pobs.Tests.Integration.Watching
{
public class PostWatchAnswerTests : IDisposa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
namespace Task1
{
class MultiCom
{
static string ConvertGagStringToNumber(string digit)
{
string result = "NO";
switch (digit)
{
ca... |
namespace Indexer
{
class Program
{
static void Main(string[] args)
{
#region Creating custom collection class
Demo1.Run();
#endregion
#region Creating custom collection class
Demo2.Run();
#endregion
#region I... |
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using Profiling2.Domain.Prf.Events;
using Profiling2.Domain.Prf.Responsibility;
namespace Profiling2.Infrastructure.NHibernateMaps.Overrides
{
public class ViolationMappingOverride : IAutoMappingOverride<Violation>
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CompanyRoster
{
public class Company_Roster
{
public static void Main()
{
var company = new List<Employee>();
var n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using BugunNeYesem.Data.Entity;
namespace BugunNeYesem.Data.Repository
{
public interface IRepository
{
bool SaveChanges();
}
public interface IRe... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace MAS_Końcowy.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTabl... |
using Newtonsoft.Json;
using ProjectGrace.Logic.Business;
using ProjectGrace.Logic.Business.Business_Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Ta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YoloCampersTwoPointO.Lib;
namespace YoloCampersTwoPointO.Web.Areas.Admin.ViewModels
{
public class CampersIndexVm
{
public IEnumerable<Camper> Campers { get; set; }
}
}
|
using InoDrive.Domain.Models;
using InoDrive.Domain.Models.InputModels;
using InoDrive.Domain.Models.OutputModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InoDrive.Domain.Repositories.Abstract
{
public interface ITripsRepository... |
using System.Collections.Generic;
using ServiceDeskSVC.DataAccess.Models;
namespace ServiceDeskSVC.DataAccess
{
public interface IHelpDeskTicketDocumentRepository
{
List<HelpDesk_TicketDocuments> GetAllDocumentsForTicket(int ticketId);
HelpDesk_TicketDocuments GetSingleDocument(int documentId... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.