text stringlengths 13 6.01M |
|---|
// Copyright © 2020 Void-Intelligence All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nomad.Core;
using Vortex.Network;
using Vortex.Activation.Kernels;
using Vortex.Cost.Kerne... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SwordandScale
{
class Square
{
public Square last; //last square in path
public int x;
public int y; //current point
public int fs; //distance from start to current
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using DAL.Models;
using DAL.Models.DTO;
namespace ApiDashboard
{
public class MappingProfiles : Profile
{
public MappingProfiles()
{
CreateMap<Product, ProductDTO>();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Thunder : MonoBehaviour {
public AudioSource thunder;
// starting in 60 seconds a sound will be played every 60 seconds
void Start () {
InvokeRepeating("playAudio", 3.0f,60.0f);
}
void playAudio () {
thunder.... |
using System.Collections.Generic;
using RimWorld;
using UnityEngine;
using Verse;
using RimlightArchive.Defs;
namespace RimlightArchive.Apparel
{
/// <summary>
/// Adds the ability for apparel to hold Stormlight.
/// </summary>
[StaticConstructorOnStartup]
public class InfusedApparel : RimWorld.... |
using System;
using System.Data;
using NUnit.Framework;
namespace CS.Sandbox.Db
{
[TestFixture]
public class SQLiteFileTest
{
[Test]
public void RunTests()
{
var connectionString = "URI=file:DatabaseTest.db";
using (var connection = new SQLiteConnection(connectionString))
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Desideals.Models;
namespace Desideals.Pages
{
public class ReportPage
{
public List<Report> Reports { get; set; }
public Newsletter Newsletter { get; set; }
}
public class ReportDetailPage
{... |
using System;
using System.Text.RegularExpressions;
namespace Password
{
class Program
{
static void Main(string[] args)
{
var regex = @"^(.+)>([\d]{3})\|([a-z]{3})\|([A-Z]{3})\|([^<>]{3})<\1$";
var numberOfInputs = int.Parse(Console.ReadLine());
for (int i ... |
//using eMAM.Service.Contracts;
//using Google.Apis.Auth.OAuth2;
//using Google.Apis.Auth.OAuth2.Flows;
//using Google.Apis.Auth.OAuth2.Responses;
//using Google.Apis.Gmail.v1;
//using Google.Apis.Services;
//using Microsoft.Extensions.DependencyInjection;
//namespace eMAM.UI.Utills
//{
// public static class ISer... |
using System;
using System.Linq;
namespace Codility
{
public class EquivalenceIndex
{
public static int Find(int[] numbers)
{
if (numbers.Length == 0)
return -1;
var asLong = numbers.Select(Convert.ToInt64).ToArray();
long sumBefore = 0;
... |
using Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Me... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Users.Mapeamentos;
using Welic.Dominio.Patterns.Pattern.Ef6;
namespace Welic.Dominio.Models.Uploads.Maps
{
public class UploadsMap : Entity
{
public Guid Uploa... |
using System;
namespace Atc.Math.Geometry
{
/// <summary>
/// The TriangleHelper module contains procedures used to preform math operations on a triangle.
/// </summary>
public static class TriangleHelper
{
/// <summary>
/// Determines whether [is sum of the angles A triangle] [the ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using PieShop.Models;
using PieShop.ViewModels;
namespace PieShop.Controllers
{
public class PieController : Controller
{
private readonly IPieRepository _pieRepository;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BinaryTree
{
class Node
{
public int label;
public Node left;
public Node right;
public Node(int data)
{
label = data;
left = null;
right = ... |
namespace Sentry;
public readonly partial struct MeasurementUnit
{
/// <summary>
/// An information size unit
/// </summary>
/// <seealso href="https://getsentry.github.io/relay/relay_metrics/enum.InformationUnit.html"/>
public enum Information
{
/// <summary>
/// Bit unit (1/8 ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NGeoNames;
using NGeoNames.Parsers;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NGeoNamesTests
{
internal class FileUtil
{
// Compares two data files using a GenericEntity to easil... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace iTrellis.TripCalculator.Models.Enums
{
public enum TransactionType
{
CREDIT = 0,
DEBIT = 1
}
} |
using System;
namespace AspNetCoreGettingStarted.Model
{
public class Tenant
{
public Guid TenantId { get; set; }
public string Name { get; set; }
}
}
|
using System.Collections.Generic;
using System.ComponentModel;
using TopJSRepos.Models;
using TopJSRepos.Services;
namespace TopJSRepos.ViewModels
{
public class RepositoriesViewModel : BaseViewModel
{
private readonly IRepositoryService repositoryService;
public RepositoriesViewModel(IReposi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Stolons.Models
{
public abstract class User
{
[Key]
[Display(Name = "Identifiant")]
... |
using Alabo.Domains.Entities;
using System.Collections.Generic;
namespace Alabo.UI.Design.AutoPreviews {
/// <summary>
/// 自动预览对应zk-priview组件
/// </summary>
public class AutoPreview {
/// <summary>
/// 命名空间
/// </summary>
public string Key { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace SSDAssignmentBOX.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
//... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using Unity.Profiling;
using UnityEngine.TestTools;
using UnityAtoms.BaseAtoms;
using UnityAtoms.Tags;
using UnityEngine;
using UnityEngine.TestTools.Constraints;
using Is = Unity... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace WcfAukcija
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" ... |
using Testing.Views;
using Xamarin.Forms;
namespace Testing
{
public partial class TestingPage : MasterDetailPage
{
//Andri Fannar
public TestingPage()
{
InitializeComponent();
Detail = new NavigationPage(new Page1());
IsPresented = false;
... |
namespace Thingy.GraphicsPlus.SmdConverter
{
internal class SmdVertex
{
public float NormX { get; internal set; }
public float NormY { get; internal set; }
public float NormZ { get; internal set; }
public int ParentBone { get; internal set; }
public float PosX { ... |
using Microsoft.Extensions.DependencyInjection;
using SimplySqlSchema.SQLite;
using SimplySqlSchema.SqlServer;
namespace SimplySqlSchema
{
public static class SqlServerExtensions
{
public static IServiceCollection AddSqlServerSupport(this IServiceCollection services)
{
return servi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour {
private static GameManager _instance;
public RectTransform pauseScreen;
public RectTransform mainMenu;
public static GameManager Instance
{
get {
//create logic ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Transactions;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using DotNetOpenAuth.AspNet;
using Microsoft.Web.WebPages.OAuth;
using WebMatrix.WebData;
using Happiness.Filters;
using Happiness.Models;
using System.Data.E... |
using Microsoft.Extensions.Hosting;
using System;
using System.Threading;
using System.Threading.Tasks;
using Union.Gateway.Abstractions;
namespace Union.Gateway.Traffic
{
public class UnionTrafficServiceHostedService : IHostedService
{
private readonly IUnionMsgConsumer jT808MsgConsumer;
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BenefitDeductionAPI.Models.FamilyMembers
{
public class FamilyMemberDto
{
public int EmployeeId { get; set; }
public int FamilyMemberId { get; set; }
public string FirstName { g... |
using System;
using System.Collections.Generic;
using Pe.Stracon.SGC.Infraestructura.Core.Base;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Repository.Query.Contractual;
using Pe.Stracon.SGC.Infraestruc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DigitalFormsSteamLeak.Entity.IModels;
namespace DigitalFormsSteamLeak.Entity.Models
{
[Table("T... |
using System;
using System.Drawing;
using System.Windows.Forms;
namespace ProjektTEM
{
public partial class Form1 : Form
{
SaveFileDialog saveFileDialog = new SaveFileDialog();
public Form1()
{
InitializeComponent();
morphologyTypeDropdownList.Items.AddRange(Enu... |
using System;
using Uintra.Features.Links.Models;
namespace Uintra.Features.Mention.Models
{
public class MentionUserModel
{
public Guid Id { get; set; }
public string Value { get; set; }
public UintraLinkModel Url { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Web.Http;
namespace Demonstracao.Controllers
{
public class EspeciariaController : ApiController
{
// GET api/especiaria
public IEnumerable<Especiaria> Get()
{
return new List<Especiaria>()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using MyWebAPI.Models;
namespace MyWebAPI.Controllers
{
public class ProductController : ApiController
{
private ProductRepository pr = new ProductRepository();
p... |
using AkvelonTaskMilosBelic.Interfaces;
using AkvelonTaskMilosBelic.Models.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
namespace AkvelonTaskMilosBelic.Controllers
{
public class Proje... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace SQMS.Services.ReferenceServices
{
/// <summary>
/// 在实现FetchData的时候,在SQL中必须要有两个列,分别命名为value和text,大小写无关
/// </summary>
public interface IReferenceService
{
DataTab... |
#region using
using System;
#endregion
namespace iSukces.Code.Interfaces
{
public partial class Auto
{
#region Nested
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ReactivePropertyAttribute : PropertyAttributeBase
{
#region Construct... |
using Tomelt.Environment.Extensions;
using Tomelt.Layouts.Framework.Elements;
using Tomelt.Layouts.Helpers;
namespace Tomelt.Widgets.Layouts.Elements {
[TomeltFeature("Tomelt.Widgets.Elements")]
public class Widget : Element {
public override string Category {
get { return "Widgets"; }
... |
using UnityEngine;
using System.Collections;
using System.Security.Permissions;
using UnityEngine.UI;
public class SendShipsPanel : MonoBehaviour
{
public Text ShipsCount;
public Text TargetPlanetName;
public Text TravelTimeText;
public Slider Slider;
public Text SliderValueText;
public Text... |
namespace Ach.Fulfillment.Data.Specifications
{
using System;
using System.Linq.Expressions;
using Ach.Fulfillment.Data.Common;
public class RoleByName : SpecificationBase<RoleEntity>
{
private readonly string name;
public RoleByName(string name)
{
... |
using KeepTeamAutotests.Model;
using KeepTeamAutotests.Pages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeepTeamAutotests.AppLogic
{
public class KPIHelper
{
private AppManager app;
private PageManager pages;
... |
using FluentAssertions;
using ModaTime;
using NUnit.Framework;
using System;
using System.Collections;
using System.Globalization;
namespace ModaTime.Test
{
class MonthTextOfYearTests
{
[SetUp]
public void Setup()
{
}
[Test, TestCaseSource("TestCases_ZHTW")]
pu... |
using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Conformist;
using NodaMoney;
using System;
namespace NHibernate.NodaMoney.Tests.TestDomain
{
public class Order
{
public virtual Guid Id { get; set; }
public virtual Money OrderValue { get; set; }
public virtual Money Or... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Xlns.BusBook.Core.Model;
namespace Xlns.BusBook.UI.Web.Models
{
public class UtenteView
{
public List<DettaglioUtenteView> Utente { get; set; }
public String SearchString { get; set; }
public S... |
using FuncionariosAPIService.Models;
using System;
using System.Linq;
namespace FuncionariosAPIService.Services
{
public class FuncionariosSeguranca
{
public static bool Login(string login, string senha)
{
using (FuncionarioDBContext entities = new FuncionarioDBContext())
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace alg
{
public static class Extensions
{
public static long ElapsedMilliseconds(Action action, int loopCount = 1)
{
var watch = Stopwatch.StartNew();
for (int i = 0; i <... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// instanitiate the Card Prefab, contains all info about a card
namespace SA
{
public class CardInstance : MonoBehaviour, IClikable
{
public void OnClick()
{
}
public void ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ScriptKit
{
public class JsDataView : JsObject
{
internal JsDataView(IntPtr value)
{
this.Value = value;
}
public JsDataView(JsArrayBuffer arrayBuffer) : this... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stratego
{
class Node
{
public Tuple<int, int> Position { get; set; }
int Alpha { get; set; }
int Beta { get; set; }
private List<Node> childs;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SeparatorData : MonoBehaviour
{
void Start()
{
Text txt = GameObject.Find("SeparatorRecordTxt").GetComponent<Text>();
txt.text = "Puntaje obtenido: " + Repository.separatorMaxScore... |
using System.Windows.Controls;
namespace ServiceCenter.View.Repair
{
public partial class PageOrderWork : Page
{
public PageOrderWork()
{
InitializeComponent();
}
}
}
|
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed partial class VlcManager
{
[Obsolete("Use GetAudioOutputDeviceList instead")]
public int GetAudioOutputDeviceCount(string outputName)
{
using (var outputNameHandle = ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FocusWendigo : MonoBehaviour {
public Transform wendigo;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
this.transform.LookAt(wendigo);
}
}
|
using System;
public class Program
{
static void Main()
{
Console.WriteLine(DateTime.Now.DayOfWeek);
Console.WriteLine(DateTime.Now.TimeOfDay);
}
} |
using System;
namespace Charity_Campaign
{
class Program
{
static void Main(string[] args)
{
int numberOfDays = int.Parse(Console.ReadLine());
int numberOfBakers = int.Parse(Console.ReadLine());
int numberOfCakesPerDay = int.Parse(Console.ReadLine());
... |
namespace Sentry.Internal;
internal interface ICloneable<out T>
{
T Clone();
}
|
using System;
using System.Threading.Tasks;
namespace CC.Mobile.Services
{
public interface IAdministrationService
{
void EnsureCorrectStartup();
Task RefreshControlData();
Task LoadAppData();
void RemoveAllData();
void DropAllTables();
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Web;
using System.Web.Mvc;
namespace CateringWeb.Controllers
{
/// <summary>
/// 站点扩展接口
/// </summary>
public class WebApiController : Controller
{
/// <summ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog.Layouts;
namespace HPSM_FTS
{
public class Generator
{
private readonly NLog.ILogger Log;
public Generator(NLog.ILogger logger)
{
this.Log = logger;
}
public DataMain LoadDat... |
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
namespace seleniumLib
{
public class WebDriverFactory
{
/* Browsers constants */
public const String CHROME = "chrome";
public const String FIREFOX = "firefox";
public const String SAFARI = "safari";
public const String INTERNET_EXPLORER =... |
using MixErp.Data;
using MixErp.Fonksiyonlar;
using MixErp.Print;
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 MixErp.Urun
{
public par... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using System.Text;
using CommonServiceLocator;
using Microsoft.AppCenter;
using Welic.App.Services.ServicesViewModels;
using Welic.App.Services.ServiceViews;
using Unity;
using Unity.ServiceLocation;
using Welic.App.Se... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Challan.Models
{
public class Currency
{
//[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public Guid Id { get; set; }
public double... |
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.AuditLogs.Factories.Implementation;
using Fingo.Auth.Domain.AuditLogs.Factories.Interfaces;
using Fingo.Auth.Domain.AuditLogs.Implementation;
using Fingo.Auth.Domain.AuditLogs.Interfaces;
using Moq;
using Xunit;
namespace Fingo.Auth.Domain.Audit... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class raycastForward : MonoBehaviour {
/*
* https://www.youtube.com/watch?v=6agwCUaMNWI
*/
public GameObject CanvasObject;
public Text text;
// Use this for initialization
void ... |
using Parser.Models;
namespace Parser.Nodes
{
public class VarNode : INode
{
public VarModel Variable { get; set; }
}
} |
using ScheduleService.DTO;
using System.Collections.Generic;
using System.Linq;
namespace ScheduleService.Services.AdvancedSearchStrategy
{
public class TimeHasPriorityStrategy : IAdvancedSearchStrategy
{
private BasicSearchDTO SearchDTO { get; }
private ICollection<string> PotentiallyAvailabl... |
using UnityEngine;
/// <summary>
/// An instance of background music. Supports
/// fading-in and fading-out.
/// </summary>
public class BackgroundMusic : MonoBehaviour
{
/// <summary>
/// The actual audio to play for the background music.
/// </summary>
public AudioSource Music = null;
/// <su... |
using UnityEngine;
using System.Collections;
public class Spawner : MonoBehaviour
{
public static Spawner SpawnerScript;
Hashtable activeCachedObjects;
public ObjectCache []ObjectCaches;
void Awake()
{
// Set the global variable
SpawnerScript = this;
if (GlobalData.GetInstance().gameMode != GameMode.Sol... |
using UnityEngine;
using System.Collections;
using System;
public class Library : State<MainController>
{
public override void Configure(MainController owner)
{
base.Configure(owner);
}
public override void GlobalProcess()
{
throw new NotImplementedException();
}
public o... |
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Bounce.Controls;
using Bounce.Services;
using Plugin.Media;
using Plugin.Media.Abstractions;
using Xamarin.Forms;
namespace Bounce.Pages
{
pu... |
using System;
using System.Web.Mvc;
using DevExpress.XtraScheduler;
using DevExpress.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class SchedulerController: DemoController {
public ActionResult Reminders() {
return DemoView("Reminders", SchedulerDataHelper.EditableDataObject);
... |
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.Threading;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Drawing.Drawing2D;
usi... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace CacheSqlXmlService.SqlManager
{
[XmlRoot(ElementName ="dataCommandFiles")]
public class DataCommandFileList
{
public class DataCommandFile
{
[XmlAttribute("name")]
... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Dojodachi.Models;
namespace Dojodachi.Controllers
{
public class DojodachiController : Controller
{
private void setDachiSession(Dachi dachi = null)
{
if (dachi == ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GM : MonoBehaviour {
public CapsuleCollider m_Collider;
private float col_scale;
public static float vertVel = 0;
public static int coinTotal = 0;
public static i... |
namespace TaskMaster.Models
{
/// <summary>
/// Information about page.
/// </summary>
public class PageInfo
{
#region Public Constructors
/// <summary>
/// Creates page info object.
/// </summary>
public PageInfo() { }
/// <summary>
/// Cre... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NNSharp.DataTypes;
using NNSharp.SequentialBased.SequentialLayers;
using static NNSharp.DataTypes.Data2D;
using NNSharp.IO;
using NNSharp.Models;
namespace UnitTests
{
[TestClass]
public class TestAvgPool2D
{
[TestMethod]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShootData
{
public readonly GameObject gunObject;
public readonly EquippedGun gunScript;
public readonly bool useRecoil;
public readonly Vector2 centrePoint;
private readonly Camera fpsCamera;
public S... |
using OBS_Net.Entities.Model;
using OBS_Net.Entities.Tables;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OBS_Net.BL.LessonForStudentManager
{
public interface ILessonForStudentManager
{
IQueryable<LessonForStudent> GetAll();
LessonForStudent... |
using System.IO;
using System.Linq;
using Cradiator.Config;
using NUnit.Framework;
using Shouldly;
namespace Cradiator.Tests.Config
{
[TestFixture]
public class ViewConfigReader_Tests
{
ViewSettingsParser _parser;
const string XML = "<configuration>" +
"<vie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.OpenAccess.Metadata;
using Telerik.OpenAccess.Metadata.Fluent;
namespace Sparda.Contracts
{
public interface IFluentMetadataSource
{
List<MappingConfiguration> MappingConfi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace İntProg.ViewModel
{
public class UrunGorselModel
{
public string urunKodu { get; set; }
public string gorselData { get; set; }
public string gorselUzanti { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FinalProject_0._0
{
class Variables
{
public static bool keepAspectRatio = false;
public static bool enlargeSmallerImages = false;
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnterSceneController : Controller
{
public override void Execute(object data)
{
ScenesArgs e = data as ScenesArgs;
switch (e.M_SceneIndex)
{
case 1:
Gam... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BadBullet_Damage : Bullet // 나쁜 캐릭터들이 대상에 데미지를 주는 총알 공격 // player에 한정
{
public new string type = "bad_bullet_damage";
public override void AffectObject(GameObject target) // AffectingObject의 함수를 오버라이딩 // 대상에 영향을 주는 코드
... |
using System;
using System.Runtime.Serialization;
namespace EddiCompanionAppService.Exceptions
{
/// <summary>Exceptions thrown due to illegal service state</summary>
[Serializable]
public class EliteDangerousCompanionAppIllegalStateException : EliteDangerousCompanionAppException
{
public Elit... |
using System;
using UnityEngine;
namespace zm.Util
{
public class Timer : MonoBehaviour
{
#region MonoBehaviour Methods
private void Update()
{
if (!started) { return; }
TimeLeft -= Time.deltaTime;
if (TimeLeft <= 0)
{
// If timer reached 0, stop it and trigger onFinished
onFinished();
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
namespace Dojo_Survey
{
public class HomeController : Controller
{
[HttpGet]
[Route("")]
public IActionResult Index()
{
return View();
}
[HttpPost]
[Route("success")]
pu... |
using System.Drawing;
using System.Windows.Forms;
namespace Painter.WinForms.Tools.DrawingTools
{
public abstract class ToolsBase
{
// Tools for the drawing on the pictureBox
protected Pen Pen { get; set; }
protected Point? Point { get; set; }
/// <summary>
/// Unique ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
/// <summary>
/// Summary description for TaskManager
/// </summary>
public class TaskManager
{
SqlConnection con;
public TaskManager()
{
con = new SqlConnection(@"Data Source=MOHAMMAD\MOHAMM... |
// RayProfiler
// https://github.com/Bugfire
using UnityEngine;
using UnityEngine.Assertions;
#if UNITY_5_5_OR_NEWER
using UnityEngine.Profiling;
#endif
namespace RayStorm
{
#if UNITY_5_5_OR_NEWER
[DefaultExecutionOrder (int.MaxValue - 2)]
#endif
sealed public class RayProfilerToCanvas : MonoBehavio... |
using GraphicalEditor.DTO;
using GraphicalEditor.Models;
using GraphicalEditor.DTO;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphicalEditor.Service
{
public class DoctorService : GenericHTTPService
{
... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Project371
{
/// <summary>
/// Describe the basic look of an object
/// </summary>
class Material
{
/// <summary>
/// The texture of the object
/// </summary>
public Texture2D texture;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.