text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using gView.Framework.IO;
using gView.Framework.system;
namespace gView.Framework.Symbology
{
public sealed class SymbolCollectionItem : ISymbolCollectionItem, IPersistable
{
private bool _visible;
private ISymbol _symbol;
public SymbolCollectionItem(ISymbol symbol, bool visible)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Field of View of the enemies
/// </summary>
public class FieldOfView : MonoBehaviour {
public float viewRadius;
[Range(0,360)] public float viewAngle;
public LayerMask targetMask;
public LayerMask Obst... |
namespace Ach.Fulfillment.Data.Specifications
{
using System;
using System.Linq.Expressions;
using Ach.Fulfillment.Data.Common;
public class AchFileRejected : SpecificationBase<AchFileEntity>
{
public override Expression<Func<AchFileEntity, bool>> IsSatisfiedBy()
{
retu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FoodSupplementsSystem.Data.Repositories;
using FoodSupplementsSystem.Data.Contracts;
namespace FoodSupplementsSystem.Data
{
public class UnitOfWork : IUnitOfWork, IDisposable
{
pr... |
using Compent.LinkPreview.HttpClient;
using System;
using System.Configuration;
namespace Uintra.Features.LinkPreview.Configurations
{
public class LinkPreviewConfiguration : ILinkPreviewConfiguration
{
private const string SectionName = "linkPreviewServiceUri";
public Uri ServiceUri => new U... |
using System;
namespace ReactData.Models
{
public class User
{
public int ID { get; set; }
public DateTime DateRegistration { get; set; }
public DateTime DateLastActivity { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Anywhere2Go.Business.Master;
using Anywhere2Go.DataAccess.Entity;
using Claimdi.Web.TH.Filters;
using Anywhere2Go.DataAccess.Object;
using System.IO;
using System.Drawing;
using Claimdi.Web.TH.Helper;
using... |
namespace WinAppDriver
{
using System.Collections.Generic;
using System.IO;
using System.Text;
using WinAppDriver.UAC;
internal abstract class AppInstaller<T> : IPackageInstaller where T : IApplication
{
private static ILogger logger = Logger.GetLogger("WinAppDriver");
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Synchronizer
{
private static Synchronizer m_instance;
public event Action OnAllEnemiesDiedEvent;
public event Action OnPlayerDiedEvent;
private bool m_started = false;
public static Synchr... |
namespace UnityAtoms.FSM
{
/// <summary>
/// Action of type `FSMTransitionData`. Inherits from `AtomAction<FSMTransitionData>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class FSMTransitionDataAction : AtomAction<FSMTransitionData> { }
}
|
using System;
using System.Collections.Generic;
using System.Text;
using Breeze.AssetTypes;
using Breeze.Screens;
using Microsoft.Xna.Framework;
namespace Breeze.AssetTypes.StaticTemplates
{
public class CloseButton : StaticTemplate
{
public new ButtonVisualDescriptor Normal => new ButtonVisualDescript... |
using System;
using System.Linq;
namespace SpaceHosting.Index
{
public sealed class SparseVector : IVector
{
public SparseVector(int dimension, int[] columnIndices, double[] coordinates)
{
if (coordinates.Length != columnIndices.Length)
throw new ArgumentException("C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MIDIDotNet
{
public delegate void NoteOnDelegate(byte note, byte velocity);
public delegate void NoteOffDelegate(byte note, byte velocity);
public class GMInDevice : IInDevice, IDisposable
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Profile;
using System.Web.Security;
namespace ZC_IT_TimeTracking.Services
{
public class UserProfile : ProfileBase
{
[SettingsAllowAnonymous(false)]
public strin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace QLBSX_DAL_WS.Memento
{
public class MemoryKTB
{
private MementoKTB _memento;
public MementoKTB Memento
{
get { return _memento; }
set { _memento = value... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommandDesignPattern
{
public class Close : IExecuter
{
public void Execute()
{
Console.WriteLine("Close");
}
}
}
|
using System;
using System.IO;
using MyWebServer.Enums;
using MyWebServer.Models;
namespace MyWebServer
{
public static class HttpResponseBuilder
{
public static HttpResponse InternalServerError()
{
var page500 = File.ReadAllText("500.html");
var header = new Header(Hea... |
using UnityEngine;
using System.Collections;
public class DebugGuiManager : MonoBehaviour {
public Font FontReplaceSmall = null;
public Font FontReplaceLarge = null;
private int StereoSpreadX = -40;
// Spacing for scenes menu
private int StartX = 240;
private int StartY = 300;
private int... |
using System;
using System.Collections.Generic;
namespace Sfa.Poc.ResultsAndCertification.CsvHelper.Domain.Models
{
public partial class TqRegistrationProfile : BaseEntity
{
public TqRegistrationProfile()
{
TqRegistrationPathways = new HashSet<TqRegistrationPathway>();
}
... |
namespace GitHubExplorer.Entities
{
public class Settings
{
public string GitHubBaseUrl { get; set; }
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ReversingIntegers
{
[TestClass]
public class TestReversingIntegers
{
[TestMethod]
public void TestMethod1()
{
Assert.AreEqual(12345, ReverseTheInteger.Reverse(54321));
}
[TestMethod]
pu... |
using NHibernate.Cfg;
using NHibernate.DataAnnotations.Tests.Model;
using NHibernate.Session;
using NHibernate.Tool.hbm2ddl;
using NUnit.Framework;
namespace NHibernate.DataAnnotations.Tests
{
[TestFixture]
public class When_using_session_auditor
{
private readonly Marshaler _currentScope;
... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace WebApplication1.DataAccess
{
public interface IRepository<T>
{
T Add(T model);
T Update(T model);
Task<T> FindAsync<TInput>(TInput id);
Task DeleteAsync<TInput>(TInput id);
Task<IList<T>> AllAsync... |
using System;
using System.Drawing;
using System.Collections.Generic;
using PopulationWars.Map;
using PopulationWars.Utilities;
using static PopulationWars.Utilities.Constants;
namespace PopulationWars.Mechanics
{
public class Game
{
public List<Player> Players { get; set; }
public World Map {... |
namespace BoardGame.CardModelFromDatabase
{
public partial class PropertyCard
{
public override string ToString()
{
return "Lelet: " + PropertyName + ", Ár: " + PropertyValue + ", Jövedelem: " + PropertyFinishedValue;
}
}
}
|
//
// ProviderRepository.cs
//
// Author:
// nofanto ibrahim <nofanto.ibrahim@gmail.com>
//
// Copyright (c) 2011 sejalan
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Founda... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using NinjaStore.Common.Models;
namespace NinjaStore.Common.Repositories
{
public class ProductRepository
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ExpressionSerialization;
using Northwind;
using System.Reflection;
using System.Linq.Expressions;
using System.Xml.Linq;
using System.ServiceModel;
namespace NorthwindClient
{
class Program
{
static Uri base... |
using BAL;
using log4net;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace UILayer
{
public partial class DeleteEm... |
namespace MinesweeperLibrary.FillInBoard
{
public interface IFillInAWholeBoard
{
void FillInABoard(int grid, char[,] board);
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SecurityPlusUI.Model
{
public sealed class FifoObservableCollection<T> : IEnumerable<T>
{
private readonly int c... |
using Infrostructure.Exeption;
namespace DomainModel.Entity.ProductParts
{
/// <summary>
/// ولتاژ
/// </summary>
public class Voltage
{
private const decimal MinValue = 0m;
public decimal Value { get; private set; }
public Voltage(decimal value)
{
Vali... |
using RRExpress.Api.V1.Methods;
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
namespace RRExpress.ViewModels {
[Regist(InstanceMode.Singleton)]
public class MessageViewModel : BaseVM {
public override string Title {
get {
return "消息";
}
... |
using System;
using System.Diagnostics.CodeAnalysis;
namespace EnsureThat
{
public static class EnsureThatTypeExtensions
{
public static TypeParam IsInt(this in TypeParam param)
{
Ensure.Type.IsInt(param.Type, param.Name);
return param;
}
public static... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SingleTonDesignPattern
{
public sealed class SingletonDoubleCheck
{
private static SingletonDoubleCheck _instance = null;
private static readonly object _lock = new ob... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Ecommerce.Data;
using Ecommerce.Models;
using Microsoft.AspNetCore.Mvc;
namespace Ecommerce.Controllers
{
public class ProductsController : Controller
{
ApplicationDbContext db;
public int Pa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode
{
/// <summary>
/// 面试金典练习
/// </summary>
class OtherTrain
{
//static void Main(string[] args)
//{
// //Console.Write(checkStr01("a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _11.Checks_the_3rd_bit_of_a_number
{
class BitwiseCheck
{
static void Main()
{
int number = int.Parse(Console.ReadLine());
string result;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TP.Entities.ValueObjects.JobViewModels
{
public class JobAdvRegisterViewModel
{
[DisplayNa... |
using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
public class PointerClicker : MonoBehaviour {
GameObject cam;
Camera camera;
AreaHudManager AHudM;
//GameObject MainSpaceStationCenter;
Transform MainSpaceSCTrans;
Vector3 MSSCOrigPos;
public Vector3 CursorToWorld, CursorToDistance;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Author: Nathan Hales
/// This is scritp gets placed on each credit object and acts as its brain. Adds self culling and movement fuctionality.
/// when the objecte rises to the threshold(Y axis point) it destorys its self.
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlatformMove : MonoBehaviour
{
int iterationTime = 200;
int currIterTime = 0;
Vector3 v = new Vector3(-3, 0, 0);
// Start is called before the first frame update
void Start()
{
... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Caserraria.Items;
namespace Caserraria.Items.Weapons
{
public class BoomSaw : ModItem
{
public override void SetStaticDefaults()
... |
using System.ComponentModel;
namespace IconCreator.Core.Domain.Enums
{
public enum Opties
{
Niets = 0,
Workicons = 1,
[Description("Artikel Iconen")]
ArtIcon = 2,
[Description("Pagina Iconen")]
PagIcon = 4,
[Description("Directies")]
Directies =... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace FacebookClone.Models.Data
{
[Table("Messages")]
public class MessageDto
{
[Key]
public int Id { ge... |
using System;
using System.Threading.Tasks;
namespace ChatServer.HAuthentication
{
// TODO: Rework authentication to be more universal
class HAuthenticator
{
private AuthenticatorBackend _backend;
public HAuthenticator(AuthenticatorBackend backend)
{
_backend = backend... |
using System.Collections.Generic;
namespace ostranauts_modding
{
public class Homeworld
{
public IList<string> aCondsCitizen { get; set; }
public IList<string> aCondsIllegal { get; set; }
public IList<string> aCondsResident { get; set; }
public int nFoundingYear { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data
{
[Serializable()]
public class Order
{
public DateTime Date { get; private set; }
public int OrderNumber { get; private set; }
public IList<ShoppingIt... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using BrickBreaker.Screens;
//multiplayer lose screen by Daniel C
namespace BrickBreaker
{
public par... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace signalcompiler
{
class SyntaxAnalyzer
{
private List<Lexem> CodedTokensList;
private LexTable TokensTable;
private List<Error> Errors;
private Tree.Node CurrentNode;
private... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.SceneManagement;
/// <summary>
/// 场景切换模块
/// 知识点
/// 1.场景异步加载
/// 2.协程
/// 3.委托
/// </summary>
public class ScenesMgr : BaseManager<ScenesMgr>
{
/// <summary>
/// 切换场景 同步... |
using System.ComponentModel.DataAnnotations;
namespace Discount.Core.Contracts.v1.Coupons
{
public class CreateCouponDto
{
[Required]
[MaxLength(24), MinLength(24)]
public string ProductId { get; set; }
[Required]
public string Description { get; set; }
[Require... |
using AutoFixture;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Controllers;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice;
using SFA.DAS.ProviderCommitments.Web.M... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Coldairarrow.Entity.CB
{
/// <summary>
/// Frame_Department
/// </summary>
[Table("Frame_Department")]
public class Frame_Department
{
/// <summary>
/// Depa... |
using mec.Model.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mec.Model.Packs
{
public class PackNoticeViewModel
{
public decimal Id { get; set; }
public ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Entities.Models
{
/// <summary>
/// 博客首页访问记录表
/// </summary>
public class VisitLog
{
public int Id { get; set; }
public string Ip { get; set; }
public string Position { get; set; }
public D... |
using Alabo.App.Share.HuDong.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.App.Share.HuDong.Domain.Repositories
{
public class HudongRepository : RepositoryMongo<Hudong, ObjectId>, IHudongRepository
{
public HudongRepository(IUnitO... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AreaCalc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AreaCalc.Tests
{
[TestClass()]
public class AreaCalcTests
{
[TestMethod()]
public void CalcArea_... |
using Allyn.Domain.Models.Front;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Allyn.Infrastructure.EfRepositories.ModelConfigurations
{
... |
using Autofac;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using Autofac.Integration.WebApi;
using System.Reflection;
using System.Web.Mvc;
using Autofac.Integration.Mvc;
namespace WebApplication4
{
public class WebApp
{
public static vo... |
using gView.Framework.Carto;
using gView.Framework.Data;
using gView.Framework.Geometry;
using gView.Framework.IO;
using gView.Framework.Symbology;
using gView.Framework.Sys.UI.Extensions;
using gView.Framework.system;
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ZombieVomit : ZombieBase
{
[Header("Vomit Zombie Config")]
[SerializeField]
private Transform _fxParent;
[SerializeField]
private Transform _vomitSpawnPosition;
[SerializeField]
private GameObjec... |
using System.Diagnostics;
namespace ApplicationCore.Interfaces
{
public interface IObjectMapFactory
{
TMap GetMapping<TMap, TSource>(TSource source);
}
} |
using StardewValley;
using System.IO;
namespace StardewValleyMP.Packets
{
// Server <-> Client
// Update the amount of lost books found.
public class LostBooksPacket : Packet
{
public int bookCount;
public LostBooksPacket()
: base(ID.LostBooks)
{
bookCo... |
using UnityEngine;
using UnityEngine.UI;
using SimpleJSON;
using System.Collections;
public class Summonmanual: MonoBehaviour
{
public Text Gold;
//public Text SoulStone;
public ParticleSystem p;
public GameObject soundBG, model,mycamera,FirstTimerSummon;
public firstimersummon firstTimerSummonScript;
//
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2017 {
public class Problem20 : AdventOfCodeBase {
private List<Particle> _particles;
public override string ProblemName {
get { return "Advent of Code 2017: 20"; }
... |
using System.Collections.Generic;
namespace Codility
{
public class Permutation
{
public static int Check(int[] A)
{
long expectedSum = 0;
long actualSum = 0;
var distinctMap = new HashSet<long>();
for (var i = 0; i < A.Length; i++)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebAPIHelloWorld.Models
{
public class HelloWorldPeople
{
//creating data model class as example -- this could come from entity framework model
public int WorldId { get; set; }
public string ... |
using System;
using Machine.Specifications;
using SimpleConfigSections;
namespace Tests.SimpleConfigSections
{
public class when_declaring_configuration_section_that_has_complex_property
{
private Because b =
() => value = Configuration.Get<ISectionWithComplexProperty>();
... |
namespace CPlanner.Client.Models
{
public class LocationViewModel
{
public string Street { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Zipcode { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using ImagoCore.Enums;
using ImagoCore.Models.Strategies;
namespace ImagoCore.Models
{
public class BeprobbareFertigkeit : BeprobbareFertigkeitBase, INwBerechenbar
{
public BeprobbareFertigkeit(ImagoEntitaet identifier, INatuerlicherWe... |
using System;
using System.IO;
public class GStream2 : Stream
{
protected GClass19 gclass19_0;
protected GClass10 gclass10_0;
protected Stream stream_0;
private bool bool_0;
private bool bool_1 = true;
public override bool CanRead
{
get
{
return this.stream_0.CanRead;
}
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Student
{
private string SName;
private string Scourse;
private int Happines;
private string ClassIwant;
private string Gender;
private string Hobbie;
private string ClassIgot;
public string... |
namespace NStandard
{
public interface IContravariance<in T>
{
}
}
|
namespace InstrumentationSample
{
public sealed class AuthorizationService : IAuthorizationService
{
public void Authorise(AuthorizationRequest request)
{
//Do some auth. Potentially complex logic happens here
}
}
} |
using Cs_IssPrefeitura.Aplicacao.Interfaces;
using Cs_IssPrefeitura.Dominio.Entities;
using Cs_IssPrefeitura.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_IssPrefeitura.Aplicacao.ServicosApp
{
public cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using System.Globalization;
using System.Windows;
namespace Common.Converter
{
[ValueConversion(typeof(DateTimeOffset), typeof(String))]
public class DateConverter : IValueConverter
{
p... |
/* low pass filter to smooth sensor data
* Author:Xiufeng Xie
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace xxf_Server
{
class lowPass
{
//linear Low Pass Filter
public static void lowPassFilter(ref double[] last_Output, ref... |
//Copyright © 2013 Dagorn Julien (julien.dagorn@gmail.com)
//This work is free. You can redistribute it and/or modify it under the
//terms of the Do What The Fuck You Want To Public License, Version 2,
//as published by Sam Hocevar. See the COPYING file for more details.
using System;
using System.Collections.Generic... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.SceneManagement;
public class InputUIController : MonoBehaviour {
private PrologueController prologueController;
public SceneData sceneData;
private GameObject player;
void Start()... |
using PhobiaX.Game.GameObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PhobiaX.Physics
{
public class PathFinder
{
public IGameObject FindClosestTarget(IGameObject objectSearchingPath, IList<IGameObject> targets)
{
var closestDista... |
using PopulationFitness.Models;
using PopulationFitness.Models.Genes;
using PopulationFitness.Models.Genes.BitSet;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using NUnit.Framework;
namespace TestPopulationFitness.UnitTests
{
[TestFixture]
public class GenesDistributionTest
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class DeathMenuController : MonoBehaviour {
public Text scoreText;
public Image background;
private bool isShowActive;
private float transition;
// Use thi... |
using System;
using Xunit;
namespace Terminal.Gui.TypeTests {
public class RectTests {
[Fact]
public void Rect_New ()
{
var rect = new Rect ();
Assert.True (rect.IsEmpty);
rect = new Rect (new Point (), new Size ());
Assert.True (rect.IsEmpty);
rect = new Rect (1, 2, 3, 4);
Assert.False (re... |
namespace BartlettGenesisLogFileParser
{
internal class BartlettReportLine
{
public string FiringName { get; set; }
public string FiringDate { get; set; }
public string FiringCost { get; set; }
public string FirmwareVersion { get; set; }
public string CircuitBoar... |
using CG.MovieAppEntity.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace CG.MovieApp.Business.Interfaces
{
public interface ICategoryService : IGenericService<Category>
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Transition : MonoBehaviour
{
public static Transition Instance { get; private set; }
[SerializeField] private Animation animation = null;
private void Awake()
{
if (Instance == null)
... |
namespace BettingSystem.Startup.Betting.Specs
{
using System.Linq;
using Application.Betting.Bets.Queries.Search;
using Domain.Betting.Models.Bets;
using FluentAssertions;
using MyTested.AspNetCore.Mvc;
using Web.Betting.Features;
using Xunit;
public class BetsControllerSpecs
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Register.Repository
{
public class DatabaseConnection
{
public string Name { get; set; }
public string DatabaseServerAddr { get; set; }
public string DatabaseNa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using UnityEngine.UI;
/* Grabs the JSON file from a specified twitch channel
/* Converts the JSON to a string of raw code */
public class ParseJSON : MonoBehaviour {
public string channelName;
public Text jsonCon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//--------------------------------
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
//--------------------------------
namespace Ejercicio_15
{
... |
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 CYT.Entities;
using CYT.Web.DataContext;
using System.Threadi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace ERPApplication.Models.DomainModels
{
public class Company
{
public int Id { get; set; }
public string CompanyName { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Collections;
using System.Reflection;
using IRAP.Global;
using IRAP.Server.Global;
using IRAP.Entities.MES;
using IRAP.Entities.MES.Tables;
using IRAPORM;
using IRAPShared;
using IRAPSha... |
namespace Data.Common.QueryBuilder
{
public class Sorting
{
public string FieldName { get; set; }
public SortDirection SortDirection { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
/*
* Test showing the Pimp system in action
* */
[ExecuteInEditMode()]
public class PimpedTest : PimpedMonoBehaviour {
[SerializeField]
[Tooltip("Expose a private secret about the hero")]
private string privateSecret = "The gold is in the basement under the rug";
... |
using UnityEngine;
using System.Collections;
public class isoShakeCamera : MonoBehaviour
{
public float updownDecaytime_0 = 1.0f;
public float leftrightDecaytime_0 = 1.0f;
public float updownDecaytime = 0.0f;
public float leftrightDecaytime = 0.0f;
public Vector3 offset = new Vector3(0, 0, 0);
pub... |
using System;
using Microsoft.Silverlight.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ExpressionSerialization;
using System.Linq.Expressions;
using System.Xml.Linq;
using System.Diagnostics;
using System.Collections.Generic;
using Northwind;
using System.Linq;
using System.Reflection;
... |
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.Banners.Models;
using DFC.ServiceTaxonomy.Banners.ViewModels;
using Microsoft.Extensions.Localization;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.ContentManagement.Display.Models;
using OrchardCore.ContentManagement.Metadata.Mod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.