text stringlengths 13 6.01M |
|---|
using System;
using System.Runtime.Serialization;
namespace EasyBot.Imaging
{
class ImagingException : Exception
{
public ImagingException()
{
}
public ImagingException(string message) : base(message)
{
}
public ImagingException(string message, Excepti... |
using System;
using System.Collections.Generic;
using Ecommerce.Api.Controllers;
using Ecommerce.Api.Models;
using Ecommerce.Dto;
using Ecommerce.Service;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Moq;
using Xunit;
namespace Ecommerce.Api.Tests
{
public class ProductsControllerTests
{
... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Yandex.Dialogs.Models.Cards
{
[JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class ItemsListCard : ICard
{
public CardType Type => CardType.ItemsList;
public Header Header { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Protogame;
using Protogame.Platformer;
using Protogame.Particles;
using Microsoft.Xna.Framework;
namespace Protogame.SHMUP
{
public abstract class Player : Entity
{
public virtual float PlayerMovementSpeed { ge... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace EmployeeCRUD.ViewModel
{
public class EmployeeViewModel
{
public class EmpModel
{
[Display(Name = "Id")]
public int Empid { get; s... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FLaunch
{
public class FLData
{
private static string myFileName = null;
public static string FileName
{
get
{
myFileName ??= Path.Combine... |
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[Serializable]
public class PrefabReplacement : MonoBehaviour
{
[Header("OBJECTS REPLACED MUST BE CHILD AND CONTAIN FOLLOWING STRING IN NAME")]
public string objectsName;
[Header("THE PREFAB USED FOR REPLACEMENT")]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Dawnfall.HelperEditor
{
public static class HelperEditorOnGUI
{
public static bool IsUsedEvent
{
get { return Event.current.type == EventType.Used; }
set { if (value == true) Event.... |
using System.Linq;
using Amazon.Runtime;
using Amazon.SimpleNotificationService.Model;
using Epsagon.Dotnet.Core;
using OpenTracing;
namespace Epsagon.Dotnet.Instrumentation.Handlers.SNS.Operations {
public class PublishRequestHandler : IOperationHandler {
public void HandleOperationAfter(IExecutionCont... |
namespace Task05
{
using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
// Write a program that removes from given sequence all negative numbers.
var numbersList = new List<int>();
do
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemyController : MonoBehaviour
{
//Following
NavMeshAgent nav;
GameObject target;
public GameObject theSoldier;
//Attack
public string hitTag;
public bool lookingAtPlayer = f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Seguridad
{
public interface IEmpresaDao : IGenericDao<Empresa>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JoveZhao.Framework.Cache
{
public class CacheConfigurationElement : ConfigurationElement
{
[ConfigurationProperty("cacheGroups")]
public Cac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace exam1
{
class Program
{
static void Main(string[] args)
{
//Console.WriteLine("exam 1 result: " + number1(new [] { 1, 2, 0, 3, 5, 10}));
//Cons... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Dentist.Enums;
namespace Dentist.Models.Patient
{
public class Patient : Person
{
public Patient() : base()
{
PersonRole = Per... |
using Swiddler.Security;
using Swiddler.ViewModels;
using Swiddler.Views;
using System;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Windows;
using System.Windows.Input;
namespace Swiddler.Commands
{
public static class CertificateCommands
{
public static Routed... |
using UnityEngine;
using System.Collections;
public class Enemy2Script : MonoBehaviour
{
public GameObject laserEnemy;
public GameObject particleOnHit;
public int energy;
public Vector3 velocity;
public float verticalMovement;
float time;
public int timeToShoot;
// Use this for initializa... |
using System;
using System.Diagnostics;
using System.Windows;
using ShearCell_Interaction.View;
namespace ShearCell_Interaction.Helper
{
public class CoordinateConverter
{
private static int OffsetX = (int)(ViewModel.WindowWidth * 0.25);
private static int OffsetY = (int)(-ViewModel.WindowHeig... |
using CourseProject.ViewModel;
using System;
using System.Windows;
using System.Windows.Media;
using CourseProject.Model;
using CourseProject.Repositories;
using System.Linq;
namespace CourseProject.View
{
/// <summary>
/// Логика взаимодействия для Window1.xaml
/// </summary>
public partial class Cha... |
using System;
using System.Collections.ObjectModel;
using System.Linq;
using RealmTemplateApp.Models;
using Realms;
using Xamarin.Forms;
using System.ComponentModel;
using Realms.Sync;
using System.Collections.Generic;
namespace RealmTemplateApp
{
public partial class TaskPage : ContentPage
{
private ... |
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace ServiceWatcher.Backend
{
/// <summary>
/// Represents a server and its services and process that should be monitored
/// </summary>
public class Server : INotifyPropertyChanged
{
privat... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace BlockchainAppAPI.Models.Search
{
[Table("SearchObject", Schema="Search")]
public class... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Pitstop
{
public class ScannableObjectBehaviour : MonoBehaviour
{
public Sprite associatedIcon;
public bool isScannable = true;
public bool isFired = false;
public bool isArrived... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemScr : MonoBehaviour
{
public GameObject Item;
string targetTag = "Player";
// Start is called before the first frame update
void Start()
{
}
// Update is called once per f... |
using System;
namespace Lab1
{
class Program {
static void Main(string[] args) {
DateTime dateTime = new DateTime(2020, 10, 20, 12, 43, 10);
Grid grid = new Grid(0, 1.1f, 3);
V1DataOnGrid v1DataOnGrid = new V1DataOnGrid("first", dateTime, grid);
v1DataOnGrid... |
/*
* Author: Konstantin Ivanov
*
* Official site: http://konstantini.data.bg/sharpbelot
*
* */
namespace Belot
{
/// <summary>
/// Evaluates points for a card in a specific game .
/// </summary>
public class CardPointEvaluator
{
/// <summary>
/// Evaluates points for a card in a game
/// </summary>
... |
using UnityEngine;
using System.Collections;
public class AudioManager : MonoBehaviour {
public AudioClip music_gameplay;
public AudioClip music_menu;
public AudioClip sound_click;
public AudioClip sound_jump;
float timer = 2f;
AudioSource a1;
AudioSource a2;
void Start ()
{
GameObject.DontDestroyOnL... |
using System;
using System.Collections.Generic;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using server.Utilities;
namespace server.Models
{
public class ImageFile
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
private st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StatsMain1
{
interface StatisticsMC
{
void DumpOneResult(double result);
double[,] GetResultsSoFar();
StatisticsMC Close();
}
class StatisticsMean : StatisticsMC
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Windows.Forms;
using FacebookWrapper.ObjectModel;
using FacebookWrapper;
namespace BasicFacebookFeatures.UI
{
public class PostNotifier
{
public event A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TxHumor.Memcache
{
public static class DistCache
{
}
}
|
using UnityEngine;
using System.Collections.Generic;
using System;
using YoukiaUnity.View;
using Object = UnityEngine.Object;
public class EffectManager : MonoBehaviour
{
private readonly Dictionary<string, Queue<GameObject>> _cachedEffects = new Dictionary<string, Queue<GameObject>>();
private readonly Dicti... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Customer : MonoBehaviour {
public static ServingDish dish;
public static Text commentText;
// Use this for initialization
void Start () {
// ServingDishとどちらが先にStartするかわからないので、シーンにCustomerを配置しないこと
... |
using JuniorSlataTestTask.Data.Models;
using System;
using System.Collections.Generic;
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 Sys... |
// Copyright 2019 Google Inc. All Rights Reserved.
//
// 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 applica... |
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text.RegularExpressions;
using Dapper;
using FastSQL.Core;
using FastSQL.Sync.Core.Mapper;
using FastSQL.Sync.Core.Models;
using FastSQL.Sync.Core.Repositories;
using Newtonsoft.Json.Linq;
namespace F... |
namespace GameLib.Input
{
public enum KeyEventType
{
Pressed,
Released,
Down,
Up,
}
}
|
using System;
using System.Diagnostics;
using System.Windows.Forms;
using Microsoft.VisualBasic.ApplicationServices;
using Microsoft.VisualBasic.CompilerServices;
using Microsoft.VisualBasic.Devices;
// This file was created by the VB to C# converter (SharpDevelop 4.4.2.9749).
// It contains classes for supporting the... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
/*namespace Tetris_Preempt
{
class TetrisGame : Game1
{
public Tile[,] Bo... |
using System;
using System.IO;
namespace Nabbix.Items
{
public class NabbixDiskSpace
{
private readonly string _drive;
public NabbixDiskSpace(string drive)
{
if (string.IsNullOrWhiteSpace(drive))
throw new ArgumentException("Argument is null or whitespace",... |
using UnityEngine;
using System.Collections;
public class SteeringSeek : ISteeringAlgorithm
{
public GameObject t;
public Transform target;
public float radius;
void Start () {
t=GameObject.FindGameObjectWithTag("coche");
target = t.transform;
//target = GameObject.Find("coche")as Transform;
}
/// <sum... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
#region Fields
private bool haveTrigged = false;
public float timeElapsed;
[SerializeField]
private GameObject menuWin;
[SerializeField]
private GameObject playerWin;
[Seriali... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
[Attribute38("Tutorial_05")]
public class Tutorial_05 : TutorialEntity
{
public Tutorial_05(IntPtr address) : this(address, "Tutorial_05")
{
}
public Tut... |
using System;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity;
namespace WebApplicationBasic.Models.Entities
{
public class ApplicationUser : IdentityUser<Guid>
{
}
}
|
using Caliburn.Light;
using System;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Demo.SimpleMDI
{
public class ShellViewModel : Conductor<TabViewModel>.Collection.OneActive
{
private readonly Func<TabViewModel> _createTabViewModel;
private int _count;
public She... |
#region License
/*
Copyright (c) 2009 - 2013 Fatjon Sakiqi
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Runtime.InteropServices;
using DysnomiaWebSocketClient;
public class wsClient : MonoBehaviour
{
[DllImport("__Internal")]
private static extern void wsConnect(string ip);
[DllImport("__Internal")]
private stat... |
using System.Web.Mvc;
using OhSoSecure.Core.Security;
namespace OhSoSecure.Web.Controllers
{
public class OhSoSecureController: Controller
{
public new IOhSoSecurePrincipal User
{
get
{
if (HttpContext != null)
return HttpContext.User as OhSoSecurePrincipal ??... |
using eForm.Test.Dtos;
using eForm.Test;
using eForm.EFlight.Dtos;
using eForm.EFlight;
using Abp.Application.Editions;
using Abp.Application.Features;
using Abp.Auditing;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.EntityHistory;
using Abp.Localization;
using Abp.Notifications;
using Abp.Organiz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace console
{
public class _032_CaculateTree
{
/// <summary>
///
/// </summary>
/// <param name="root"></param>
/// <returns></returns>
public double CalcuateTree(StrTre... |
/*--------------------------------------------------------------------------
Reactor.Web
The MIT License (MIT)
Copyright (c) 2015 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (t... |
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 ABPPriject
{
public partial class LoadForm1 : Form
{
public Load... |
using MD.PersianDateTime.Core;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace VinarishApi
{
static public class Utilities
{
public static string A... |
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using SIM.Instances;
using SIM.Pipelines.Install.Modules;
using SIM.Products;
namespace SIM.Tests.Pipelines
{
[TestClass]
public class CreateSolrCoreTests
... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Linq;
using prjQLNK.QLNK;
namespace prjQLNK
{
public partial class BcHoKhau : DevExpress.XtraReports.UI.XtraReport
{
public string NguoiLap_ = "........................ |
// Accord Math 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 publish... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using AutoMapper;
using MadBugAPI.Controllers.Dtos;
using MadBugAPI.Data;
using MadBugAPI.Data.Entities;
using MadBugAPI.Data.Repositories;
using MadBugAPI.Infrastructure.ManagedResponses;
using Microsoft.AspNetCore.Author... |
using System;
namespace Renting.Domain.Apartments
{
public class NotSupportedRoomTypeException : Exception
{
public NotSupportedRoomTypeException(string roomType) : base($"{roomType} is not supported")
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sandbox
{
public class Hund: IComparable<Hund>
{
public string Navn { get; private set; }
public int Vægt { get; private set; }
public Hund(string navn, int v... |
using DotNetNuke.Common;
using DotNetNuke.Entities.Users;
using DotNetNuke.Security.Permissions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Linq.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebContro... |
using System;
using Core.Dto;
namespace Core.Demo.Dto
{
/// <summary>
/// Dto-класс.Для отпражения списка точек выхода ДОР в сеть.
/// </summary>
public class TransExitNodeActionListDto : EntityDto
{
/// <summary>
/// Имя хоста.
/// </summary>
public string HostNa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
[RequireComponent(typeof(Animator))]
public class Player : MonoBehaviour {
//Floats
[Header("Player Speed")]
public float speed;
//Vectors
Vector2 direction;
//Components
Rigidbody2D rb2d;... |
using System;
using System.Linq;
using EPiServer.Events;
using EPiServer.Events.Providers;
using EPiServer.Events.ServiceModel;
using EPiServer.ServiceLocation;
using HansKindberg.EPiServer.Events.Providers;
namespace HansKindberg.EPiServer.Events.Remote
{
public class EventReplication : IEventReplication
{
#regi... |
using Microsoft.Xna.Framework.Input;
//JaJuan Webster
//Professor Cascioli
//Asteroids!
//ABOVE AND BEYOND: Background Music & Game States
namespace Webster_HW_Project2_Asteroids
{
enum GameState
{
START = Keys.F2,
GAME = Keys.F3,
GAMEOVER
}
class GameManager
{
pu... |
using System.Web.Http;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Data;
using Proyecto1.DataRequest;
using System;
namespace Proyecto1.Controllers
{
/// <summary>
/// customer controller class for testing security token
/// </summary>
[AllowAnonymous]
//[Authorize]
... |
using UnityEngine;
[System.Serializable]
public class SoundData
{
public string soundID;
public AudioClip audioClip;
}
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace NuGet.Frameworks
{
public interface IPortableFrameworkMappings
{
/// <summary>
///... |
// Copyright 2020 Google Inc. All Rights Reserved.
//
// 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 applica... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BDProj
{
public partial class AddUser : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using Prism.Modularity;
using Prism.Regions;
using Prism.Unity;
using Shunxi.App.CellMachine.Common.Behaviors;
using Shunxi.App.CellMachine.Views;
namespace Shunxi.App.C... |
using NUnit.Framework;
using System;
namespace Calculator.Tests
{
[TestFixture ()]
public class Test
{
Calculator calc = new Calculator ();
[TestFixtureSetUp ()]
public void Setup ()
{
Core.IO.Logging.Enable ();
}
[Test ()]
public void TestNumeric ()
{
Assert.AreEqual (5, (calc.Eval (exprSt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HuguosMilkshakesBar.Viewmodels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace HuguosMilkshakesBar.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ... |
using System;
//Array - Selection sort
class Program
{
static void Main()
{
Console.Write("Enter the length of the array: ");
int arrayLength = int.Parse(Console.ReadLine());
int[] arr = new int[arrayLength];
Console.WriteLine("Enter the ... |
namespace cartalk.api.models
{
public class Follow
{
public int Id { get; set; }
public int FollowingId { get; set; }
// user that is following
public int FollowerId { get; set; }
// user that is being followed
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2 {
class Day9 {
internal static void part1() {
FileInfo input = new FileInfo(Program.dir + "day9.txt");
StringBuilder sb = new StringBuilder();
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
namespace Dnn.PersonaBar.Pages.Components.Exceptions
{
public class PageValidationException : Exception
{
public string Fie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace Psychokinesis
{
public class box:entity
{
public Texture2D image;
public Boolean pointerO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringMatching
{
class Program
{
//source https://stackoverflow.com/questions/10338379/rabin-karp-string-matching-algorithm
static void Main(string[] args)
{
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UsersIndex.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------------------... |
namespace ControleDeGastos.Languages
{
public class Resources
{
public Resources()
{
}
private static ApplicationStrings appStrings = new ApplicationStrings();
public ApplicationStrings AppStrings { get { return appStrings; } }
// Change string to upper case t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class _Data {
public static string _Skin = "小蓝";
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml.Schema;
namespace FileIndexer {
public class Indexer {
private static readonly string _baseDir = AppDomain.CurrentDomain.BaseDirectory;
private const string _filename = "test.txt";
private ... |
using System;
namespace Aula90TimeSpan
{
class Program
{
static void Main(string[] args)
{
//TimeSpan represent a Duration
TimeSpan tS1 = new TimeSpan(); // 00:00:00
TimeSpan tS2 = new TimeSpan(900000000L); // 00:01:30 - 900.000.000 ticks
Tim... |
using System;
using System.Collections.Generic;
using System.Security;
namespace TrainingPrep.collections
{
public class MovieLibrary
{
IList<Movie> movies;
public MovieLibrary(IList<Movie> list_of_movies)
{
this.movies = list_of_movies;
}
public IEnumerabl... |
using Alea_Belli.Core.Network;
using Alea_Belli.Core.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Alea_Belli.Core.Persistence
{
public class ReferenceDataPersistence : BasePersistence
{
public static ... |
using System.Windows.Forms;
namespace Trizbort
{
public partial class AppSettingsDialog : Form
{
public AppSettingsDialog()
{
InitializeComponent();
}
public bool SaveAt100
{
get { return chkSaveAtZoom.Checked; }
set { chkSaveAtZoom.Checked = value; }
}
pu... |
using KPI.Model.EF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KPI.Model.DAO
{
public class ErrorMessageDAO
{
KPIDbContext _dbContext = null;
public ErrorMessageDAO()
{
this._dbContext = new K... |
namespace FacultyV3.Web.ViewModels
{
public class ConfirgurationViewModel
{
public string Id { get; set; }
public string Meta_Name { get; set; }
public string Meta_Value { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Web.Models
{
public class AnswersReturn
{
public int TotalAnswers { get; set; }
public string[,] ArrAnswers { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AdjustScript : MonoBehaviour {
private void OnGUI()
{
if(GUI.Button(new Rect(320, 590, 125, 50), "Karma up"))
{
GameControl.control.karma += 1;
}
if(GUI.Button(ne... |
namespace StockPrediction
{
using System;
using System.Linq;
using Stock;
public class Predictor : Server.StockData.StockPrediction
{
public void Predict(StockGroup stockGroup)
{
StockDataPoint[] dataPoints = stockGroup.DataPoints.ToArray();
Stock... |
namespace IWSA.Models
{
public class AgeGroup
{
public int Id { get; set; }
public string Name { get; set; }
public int AgeMin { get; set; }
public int AgeMax { get; set; }
public bool IsFemale { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace REQFINFO.Website.Models
{
public class FunctionVM
{
public string IDFunction { get; set; }
public string IDLevelXFunction { get; set; }
public string Name { get; set; }
public Nullab... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace BasesDatos
{
/// <summary>
/// Formulario para ingresar registros a una tabla
/// </summary>
public partial class RegistrosFm : Form
{
/// <summary>
/// B... |
using Enrollment.Common.Configuration.ExpansionDescriptors;
namespace Enrollment.KendoGrid.Bsl.Business.Requests
{
public class KendoGridDataRequest
{
public string DataType { get; set; }
public string ModelType { get; set; }
public KendoGridDataSourceRequestOptions Options { get; set;... |
using System;
using System.Threading.Tasks;
using Windows.UI.Popups;
using Common;
namespace WindowsApp
{
internal class UwpMessageService : IMessageService
{
public async Task<int> ShowMessage(string message)
{
await new MessageDialog(message).ShowAsync();
return 0;
... |
using System;
using System.Collections.Generic;
using Serilog.Events;
namespace Unity.Interception.Serilog.Tests.Support
{
public class LogEntry
{
public string Message { get; set; }
public IReadOnlyDictionary<string, object> Properties { get; set; }
public Exception Exception { get; se... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace JTracker.Migrations
{
public partial class LogTableUpdates : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<byte>(
name: "LogLevel",
t... |
using Bomberman.Api;
using Bomberman.Logic.Extensions;
using System.Collections.Generic;
using System.Linq;
namespace Bomberman.Logic.Handlers
{
internal class FreeDirectionsHandler : AbstractHandler<FreeDirectionsHandler>
{
private Dictionary<Move, bool> _isFreeDirection;
internal IReadOnlyD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NHibernate.Mapping.ByCode.Conformist;
using TestInheritance.DomainModels;
namespace TestInheritance.DomainModelMappings
{
public class VendorMapping : JoinedSubclassMapping<Vendor>
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.