text stringlengths 13 6.01M |
|---|
using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using UnitTesting.WorkUnit._2;
namespace UnitTestingExample.WorkUnit._2.Tests
{
[TestClass]
public class WorkUnitTests
{
[TestMethod]
public void MockedFibonacciTest()
{
... |
using System;
using UnityAtoms.BaseAtoms;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Reference of type `CollisionGameObject`. Inherits from `EquatableAtomReference<CollisionGameObject, CollisionGameObjectPair, CollisionGameObjectConstant, CollisionGameObjectVariable, Coll... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Challan.Models
{
public class Address
{
public Address()
{
Districts = new List<District>();
}
public Guid Id { get; set; }
public string StreetName { get; ... |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FichaTecnica.Infraestrutura.Servicos.Test
{
[TestClass]
public class ServicoCriptografiaTeste
{
[TestMethod]
public void CriptografaSenha()
{
... |
using System.Collections.Generic;
using RimWorld;
using RimWorld.Planet;
using Verse;
using Verse.Grammar;
namespace Kyrun.Reunion
{
static class Util
{
public const string DELIMITER = ", ";
public static void Msg(object o)
{
Log.Message("[Reunion] " + o);
}
public static void Warn(object o)
{
L... |
using UnityEngine;
public class PlayerWorks : MonoBehaviour
{
public bool IsAlive() { return true; }
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerDeath : MonoBehaviour {
public Health HP;
public void Death()
{
HUDManager.OnHPChange.Invoke();
//remove if time allows
Debug.Log("quit game");
Application.Quit();
//pl... |
using AlgorithmProblems.Arrays.ArraysHelper;
using AlgorithmProblems.Heaps.HeapHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Heaps
{
/// <summary>
/// This is only a test class. The min heap implementatio... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Net;
using System.Net.Mime;
using System.Text;
using System.Text.Json;
using System.Text.RegularExpressions;
using Atc.Rest.Options;
using Microsoft.ApplicationInsights;
using Microsoft.AspNetCore.Http;
// ReSharper disable InvertIf
// ReSharper d... |
using DevanshAssociate_API.Models;
using DevanshAssociate_API.Models.ENUM;
using MagathApi.DAL;
using MySql.Data.MySqlClient;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace DevanshAssociate_API.DAL
{
public class... |
using SuperMario.Collision;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using static SuperMario.Entities.Mario.MarioStateEnum;
namespace SuperMario.Entities.Mario.MarioCondition
{
public abstract class MarioConditionState : IMarioCondition
{
protected virtual Entity Standing... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FiiiCoin.Wallet.Win.Common.Detects
{
... |
namespace TY.SPIMS.Client.Helper.CodeGenerator
{
public interface IGenerator
{
string GenerateCode();
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Interfaces;
using WalletWasabi.Logging;
namespace WalletWasabi.Hwi.Pro... |
namespace Shiftgram.AccountServer.Models
{
public class AccountViewModel
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Bio { get; set; }
public string PhotoUrl { get; set; }
public string GenderName { get; set; }
public string Pho... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BenefitDeduction.EmployeesSalary.Employees
{
public class SalaryEmployeeExempt: SalaryBase, ISalaryEmployeeExempt
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ZC_IT_TimeTracking.BusinessEntities.Model;
namespace ZC_IT_TimeTracking.BusinessEntities
{
public class AssignGoal
{
public AssignGoal()
{
this.GoalMaster = new List<GoalMaster>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IdomOffice.PlugIn.BackOffice
{
public class BackOfficePlugInConfig
{
//// Test DB
public static string MongoUrl { get { return ""; } }
public static stri... |
using System;
class Parallelepiped
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
int height = 4 * n + 4;
int width = 3 * n + 1;
string curly = new string('~', n-2);
Console.WriteLine("+{0}+{1}", curly, new string('.', 2 * n + 1));
int dotsBef... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Documents;
using Windows.UI.Xaml.Media;
namespace BibleBrowserUWP
{
public enum BibleBook { Gn, Ex, Lv, Nb, Dt, Jos, Jg, Rt, iS, iiS, iK, iiK, iCh, iiCh, Esr, ... |
using System;
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Base;
namespace Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General
{
/// <summary>
/// Datos generales de la unidad operativa nivel
/// </summary>
/// <remarks>
/// Creación: GMD 20161129 <br />
/// Modificación:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
namespace Kingdee.CAPP.Solidworks.RoutingPlugIn
{
[Table(Name = "PP_Routing")]
public class Routing
{
[Column(IsPrimaryKey = true)]
public string RoutingId
{
... |
using System.Collections.Generic;
namespace SFA.DAS.ProviderCommitments.Web.Models
{
public class BulkUploadAddAndApproveDraftApprenticeshipsViewModel
{
public List<BulkUploadDraftApprenticeshipViewModel> BulkUploadDraftApprenticeshipsViewModel { get; set; }
public long ProviderId { get; set; ... |
using System;
namespace _45многомерные_массивы
{
class Program
{
static void Main(string[] args)
{
int[,,] myArray = new int[4, 3, 5];
Random random = new Random();
for (int i = 0; i < myArray.GetLength(0); i++)
{
for (int j = 0... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class OrderPanel : MonoBehaviour
{
public int orderType; //Customize
public int orderCount = 0;
public float orderTime;
public Slider slider;
// Start is called before the first frame updat... |
using System;
namespace DiagonalDifference
{
public class Startup
{
public static void Main(string[] args)
{
Console.WriteLine(Execute());
}
private static int Execute()
{
var leftToRight = 0;
var rightToLeft = 0;
var n =... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
namespace EQ2LuaEditor
{
public partial class ColorSettings : Form
{
public ColorSettings()
{
Initia... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameStatus : MonoBehaviour
{
/**
* Number of sheep inside the pen.
*/
public int sheep_in;
/**
* Number of sheep inside of the pen.
*/
public int sheep_out { get; private 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;
using System.IO;
namespace Route_Search
{
public partial class Form1 : Form
{
... |
using System.Collections.Generic;
using System.Linq;
using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor;
using Sirenix.Utilities.Editor;
using UnityEditor;
using UnityEngine;
using XNode;
using XNode.Odin;
namespace XNodeEditor.Odin
{
public class NodeGraphPropertyProcessor<TNodeGraph> : OdinPropertyPro... |
//using System;
//using System.Threading.Tasks;
//using CardFlightSdk;
//using MonoTouch.Foundation;
//
//namespace iPadPos
//{
// public static class CFTCardExtension
// {
// public static Task<Tuple<CFTCharge,string>> ChargeAsync(this CFTCard card, Invoice invoice)
// {
// var dict = NSDictionary.FromObjectsAndK... |
using Accounting.Dialog;
using Accounting.Util;
using MaterialDesignThemes.Wpf;
using Microsoft.Win32;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.Web;
using System.Web;
namespace V50_IDOMBackOffice.AspxArea.Helper
{
public class GridValidation
{
public static void ValidateInt(string fieldname,object sender, DevExp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApp2
{
public class Business
{
public string address { get; set; }
public double distance { get; set; }
public double stars { get; set; }
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using System;
using GameVariables;
using CodeStage.AntiCheat.ObscuredTypes;
public class SettingMenuScreen : MenuScreen {
public static SettingMenuScreen instance;
public List<Image> settingSelectionHighlights = n... |
using System;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Base;
namespace Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual
{
/// <summary>
/// Representa el objeto Logic de Flujo Aprobacion
/// </summary>
/// <remarks>
/// Creación : GMD 20150515 <br />
/// Modificación : <... |
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CQRS.MediatR.Event;
using CQRS.MediatR.Query;
using CsvHelper;
using Scheduler.FileService.Events;
namespace Scheduler.FileService.Que... |
using Vintagestory.API.Common;
using Vintagestory.API.Common.Entities;
using Vintagestory.API.MathTools;
namespace OreCrystals
{
class ItemCrystalHeart: Item
{
public override void OnLoaded(ICoreAPI api)
{
base.OnLoaded(api);
}
public override void OnHeldInteractSta... |
using System;
namespace MethodOverloading
{
class Program
{
public int add (int x, int y)
{
return x + y;
}
public double add (double x, double y)
{
return x + y;
}
public string add (int x, int y, bool isDollars)
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 键值对集合
{
class Program
{
static void Main(string[] args)
{
Hashtable h = new Hashtable();
h.Add(1, "2");
h.Add("2", 4);
h["ok"] = "321";
foreach (... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using POSServices.PosMsgModels;
using POSServices.WebAPIModel;
namespace POSServices.WebAPIPOSMsgController
... |
using System.Runtime.InteropServices;
using FILETIME = System.Runtime.InteropServices.ComTypes.FILETIME;
namespace Vanara.PInvoke
{
public static partial class Kernel32
{
/// <summary>Converts MS-DOS date and time values to a file time.</summary>
/// <param name="wFatDate">
/// <para>The MS-DOS date. The date... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using Alps.Domain.ProductMgr;
using Alps.Web.Models;
using Alps.Dom... |
// Copyright (c) 2020, mParticle, Inc
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using Xamarin.Forms;
using MobileOulu.Models;
using MobileOulu.Views;
namespace MobileOulu.ViewModels
{
public class Quote
{
public string Text { get; set; }
public DateTime Stamp { get; set; }
}
} |
using System;
namespace Zadanie_1
{
class Program
{
static float Pomnóż(uint n, float x)
{
float wynik = 0;
//NIEZMIENNIK
// n > 0 i wynik = (n' - 1) * x
while (n > 0)
{
wynik += x;
n--;
/... |
namespace Fragenkatalog.Model
{
class Dozent : Benutzer
{
public Dozent(uint benutzer_nr, string login_name, string email_adresse, string passwort) : base(benutzer_nr, login_name, email_adresse, passwort, 2)
{
// TODO : eventuell anpassen
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JDWinService.Model
{
public class Supplier
{
public MyData Data;
public class MyData
{
public F_102 F_102 { get; set; }
public object FA... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ApartmentApps.Api
{
public interface IBackgroundScheduler
{
void QueueBackgroundItem(Action<CancellationToken> backgroundAction);
void QueueBackgroundItem(Func<CancellationToken,Task> backgroundAction);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Media;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lesson6
{
class Program
{
static void Main(string[] args)
{
//Manager myManager = new Manager("1","Bob");
//Emploee myEmploee = myManager; //Раб... |
using System;
using System.Collections.Generic;
namespace FamilyDictionary
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, Dictionary<string, string>>
myFamily = new Dictionary<string, Dictionary<string, string>>();
myFamily.Add("bro... |
using UnityEngine;
using System.Collections;
using IsoTools;
public class SpreadFrame : MonoBehaviour {
private float spreadTime;
private GameObject player;
void Start () {
player = GameObject.Find("Player");
spreadTime = 5f;
StartCoroutine(MultiplyFrameInLine());
}
pu... |
using System;
using NBitcoin;
using Stratis.Bitcoin.IntegrationTests.Common;
using Stratis.Bitcoin.IntegrationTests.Common.EnvironmentMockUpHelpers;
using Stratis.Bitcoin.Networks;
using Xunit;
namespace Stratis.Bitcoin.IntegrationTests
{
public class ConsensusManagerTests
{
private readonly Network n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class MapCheckSkill : MonoBehaviour
{
private Rigidbody2D rb;
private bool isPaused;
private GameObject player;
public EnemyControl tracingEnemy;
private Gauge gauge;
private bool ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RenderManager : MonoBehaviour {
[SerializeField]
private float m_range;
private SpriteRenderer m_renderer;
private SpriteRenderer[] m_foundObjects;
private void FixedUpdate()
{
//var camPosX =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CheckIt.Tests.Data
{
class FirstOfTwoClassInFile
{
}
class SecondOfTwoClassInFile
{
}
}
|
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.ACC
{
[Serializable]
public partial class Role : EntityBase, IAuditable
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
[Display(Name = "Role_Code", ResourceType = typeof(Resources.... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
namespace UnityAtoms.FSM.Editor
{
/// <summary>
/// Event property drawer of type `FSMTransitionData`. Inherits from `AtomEventEditor<FSMTransitionData, FSMTransitionDataEvent>`. Only availble in `UNITY_20... |
namespace FBS.Domain.Booking
{
public enum BookingState : byte
{
Requested = 0,
Approved = 1,
Rejected = 2
}
} |
using FluentAssertions;
using ModaTime;
using NUnit.Framework;
using System;
using System.Collections;
namespace ModaTime.Test
{
class GetWeekOfMonthTests
{
[SetUp]
public void Setup()
{
}
[Test, TestCaseSource("TestCases")]
public void Get_MonthNameOfMonth(Da... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AlienEventHandler : TimeEventHandler
{
public AlienController alienController;
public override void ApplyEvent(TimeEvent timeEvent, bool reverse)
{
AlienEvent newEvent = (AlienEvent)timeEvent;
alie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using IrsMonkeyApi.Models.DB;
namespace IrsMonkeyApi.Models.DAL
{
public class UploadFileDb : IUploadFileDb
{
private readonly IRSMonkeyContext _context;
public UploadFileDb(... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.Collections;
using System;
/// <summary>
/// 2D : Visual Novel: Hide : Sequencer Command
// Tweens/Hides a target in the style of a visual novel ( TODO: ALPHA FADE thing ? another command ?)
// hide who? (pick a target)
// goint to ( targe... |
using Backend.Model.PerformingExamination;
using Backend.Repository.ExaminationRepository;
namespace Backend.Service.ExaminationAndPatientCard
{
public class ScheduleAppointmentService : IScheduleAppointmenService
{
private readonly IExaminationRepository _examinationRepository;
public Schedul... |
using System;
using ApartmentApps.Api.Modules;
using ApartmentApps.Data;
namespace ApartmentApps.Api.Services
{
public class LookupMapper<TModel> : BaseMapper<TModel, LookupBindingModel> where TModel : new()
{
public Func<TModel, string> ValueSelector { get; set; }
public Func<TModel, string> ... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace jaytwo.Common.Parse
{
public static partial class ParseUtility
{
public static double ParseDouble(string value)
{
var styles = GetStyles(value);
var formatProvider = GetFormatProvider(styles);
retur... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playerController : MonoBehaviour {
public GameObject leftArm, rightArm, leftArmPivot, rightArmPivot, leftPaw, rightPaw, item;
public int pawSpeed;
public float rotateSpeed;
public bool kneadLock;
public in... |
using Microsoft.AspNetCore.Mvc;
namespace MeetMuch.Web.Alerts
{
public static class AlertExtensions
{
public static IActionResult WithError(this IActionResult result, string message, string debugInfo = null)
{
return Alert(result, "danger", message, debugInfo);
}
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing;
using CoreFoundation;
using CupcakePCL.BL;
using UIKit;
using Foundation;
namespace Cupcake.iOS.Screens
{
[Register("IdeaListViewController")]
public partial class IdeaListView... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InstantiateStart : MonoBehaviour
{
public GameObject hub;
public GameObject player;
public GameObject startingRoom;
public GameObject roomTemplate;
public void EnterDungeon()
{
Destroy(hub);
... |
using Datos;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Negocio
{
public class TipoTarjeta
{
public int idTipoTarjeta {get;set;}
public string descTipoTarjeta { get; set; }
public Data... |
namespace MeriMudra.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
[Table("CcInfoSectionMaster")]
public partial class CcInfoSectionMaster
{
//[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNot... |
namespace Tutorial.Tests.ParallelLinq
{
using Tutorial.ParallelLinq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public partial class QueryMethodsTests
{
[TestMethod]
public void QueryTest()
{
QueryMethods.Generation();
QueryMeth... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BPMInterfaceBLL;
using System.Data;
namespace BPMReports
{
public partial class Demo : System.Web.UI.Page
{
protected void Page_Load(object sender, ... |
using jaytwo.Common.Extensions;
using jaytwo.Common.Parse;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace jaytwo.Common.Test.Parse
{
[TestFixture]
public partial class ParseUtilityTests
{
private static IEnumerable<TestCaseData> Par... |
using System;
namespace Vlc.DotNet.Core
{
public sealed class VlcMediaPlayerTitleChangedEventArgs : EventArgs
{
public VlcMediaPlayerTitleChangedEventArgs(int newTitle)
{
NewTitle = newTitle;
}
public int NewTitle { get; private set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
class Program
{
static void Main()
{
string text = Console.ReadLine();
StringBuilder result = new StringBuilder();
var uniqueSymbols = new List<ch... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MovePanel : MonoBehaviour
{
public PlayerObject playerObject;
public Slider movementSlider;
private void OnDisable()
{
GameManager.Instance.startAction -= EnableSlider;
G... |
using System;
using System.Drawing;
using System.Globalization;
using System.Net;
using System.Threading;
using System.Windows.Forms;
using HiLoSocket.Builder.Client;
using HiLoSocket.CommandFormatter;
using HiLoSocket.Compressor;
using HiLoSocket.Model;
using HiLoSocket.SocketApp;
using MetroFramework.Forms;
namespa... |
namespace Properties.Infrastructure.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AutoAdvertiseFix : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.Errors", "AutoAdvertiseResult_AutoAdvertiseResultId", "dbo.AutoA... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace MyMovies.Domain.Entities
{
public class Comment : Entity
{
public Guid MovieId { get; set; }
[ForeignKey("MovieId")]
public Movie Movie { get; set; }
public string Text { get; set; }
public Date... |
using System.Runtime.Serialization;
namespace EpisodeRenaming {
[DataContract]
public class TraktTvEpisodeIDs {
[DataMember( Name = "trakt" )]
public int? Trakt { get; set; }
[DataMember( Name = "tvdb" )]
public int? Tvdb { get; set; }
[DataMember( Name = "imdb" )]
... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GKS_Lab8.Logic
{
public class Error
{
public static double LengthBetweenLineAndPoint(Line line, Point point)
{
//h = |(x2 - x1)*(y0 - ... |
using System;
namespace KartObjects.Entities.Documents
{
[Serializable]
public class SoftReceiptSpecRecord:ReceiptSpecRecord
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
{
get
{
return "Специфи... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;
[assembly: InternalsVisibleTo("HTFramework.AI.Editor")]
namespace HT.Framework.AI
{
/// <summary>
/// A*网格
/// </summary>
[DisallowMultipleComponent]
[AddComponentMenu("HTFramework/★ AI/A* Gr... |
namespace CountRealNumbers
{
using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
public static void Main()
{
var numbers = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
... |
using System;
using System.Collections.Generic;
namespace AMS.Models
{
public partial class FeesTypes
{
public FeesTypes()
{
Fees = new HashSet<Fees>();
}
public long Id { get; set; }
public string Name { get; set; }
public int Term { get; set; }
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using SQLite;
using feedback.Models;
namespace feedback.Data
{
public class feedbackDataBase
{
readonly SQLiteAsyncConnection _database;
public feedbackDataBase(string dbPath)
{
_database = new SQLiteAsyncCon... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.CompilerServices;
namespace DanialProject.Models.Database
{
public class ImageList
{
public List<B64Image> B64Images
{
get;
set;
}
public int BuildingId
{
get;
set;
}
[MaxLeng... |
// Bar POS, class TableScreen
// Versiones:
// V0.01 14-May-2018 Moisés: Basic skeleton
// V0.02 15-May-2018 Moisés: Added POSScreen, drawTable, deleted posScreenList,
// tableClick added
// V0.03 16-May-2018 Moisés: Minor changes, method checklogin
// V0.04 21-May-2018 Moisés: LoadTables method
using System;
us... |
using Project.Interface;
using Project.Model;
using Project.Object;
using Project.View;
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Presenter
{
class... |
// The MIT License (MIT)
// Copyright (c) 2015 Intis Telecom
// 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 UnityEngine;
using System.Collections;
public class ballController : MonoBehaviour {
public int time;
private Rigidbody rb;
private Vector3 initialImpulse;
private GameController gc;
private bool gameOver;
public float initForce;
private AudioSource aSource;
public bool draw; // for hiddenNux
// U... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Xlns.BusBook.Core.Model;
using System.ComponentModel.DataAnnotations;
namespace Xlns.BusBook.Core.Model
{
public class ViaggioSearch
{
public String SearchString { get; set; }
public DateTime? DataPart... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;
public class BookScript : MonoBehaviour
{
public InputField titleField;
public InputField authorField;
public InputField isbnField;
public InputField descriptionField;
... |
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.Users.Factories.Interfaces;
using Fingo.Auth.Domain.Users.Implementation;
using Fingo.Auth.Domain.Users.Interfaces;
namespace Fingo.Auth.Domain.Users.Factories.Implementation
{
public class GetAllNotAssignedUsersToProjectFactory : IGetAllNot... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Domaci8_9_10
{
public partial class frmIzvestaj : Form
{
public frmIzvestaj()
{
Initiali... |
namespace TripDestination.Services.Web.Helpers
{
using Contracts;
using Data.Contracts;
using System;
using System.Collections.Generic;
public class TripHelper : ITripHelper
{
public TripHelper(ITripServices tripServices)
{
this.TripServices = tripServices;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.