text stringlengths 13 6.01M |
|---|
using System;
using Domain;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace Persistence
{
public class DataContext : IdentityDbContext<AppUser>
{
public DataContext(DbContextOptions options) : base(options)
{
//
}
... |
using System;
namespace Server
{
public static partial class StartupExtensions
{
internal class InvokeOnDispose : IDisposable
{
private readonly Action _onDispose;
public InvokeOnDispose(Action onDispose)
{
_onDispose = onDispose;
... |
using System.Windows;
using System.Windows.Controls;
using Torshify.Radio.Framework;
namespace Torshify.Radio.EchoNest.Views.Favorites.Tabs
{
public class FavoritesItemTemplateSelector : DataTemplateSelector
{
#region Properties
public DataTemplate TrackFavorite
{
... |
/* Project Prolog
* Name: Spencer Carter
* CS 1400 Section 3
* Lab #9 - Coding Farmer John's Pseudo-Code
* Date: 02/26/2015
*
* I declare that the following code was written by me, assisted with
* by the lovely people in the drop in lab provided by the instructior
* for this project. I understand that copying... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("SpellGeneratedTarget")]
public class SpellGeneratedTarget : MonoBehaviour
{
public SpellGeneratedTarget(IntPtr address) : this(address, "SpellGeneratedTarget")
{
}
public SpellGeneratedTarget(I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POG.Werewolf
{
public class BadSQLiteFileVersionException : Exception
{
public Int32 FileVersion
{
get;
private set;
}
public Int32 SchemaVersion
{
... |
using System;
using System.Linq;
namespace KT.DB.CRUD
{
public class GeneratedAnswersRepository: ICrud<GeneratedAnswer>
{
public GeneratedAnswer Create(GeneratedAnswer entity)
{
using (var db = new KTEntities())
{
db.GeneratedAnswers.AddObject(entity);
db.SaveChanges();
return entity;
}
}
... |
using System;
namespace Algorithms
{
//implement circular queue
class Queue
{
const int MAX_SIZE = 4;
public string[] queue = new string[MAX_SIZE];
public int Head
{
get;
set;
}
public int Tail
{
get;
... |
using Dapper;
using EP.CrudModalDDD.Domain.ValueObjects;
using System.Data;
namespace EP.CrudModalDDD.Infra.Data.DapperHandlers
{
public class CpfTypeHandler : SqlMapper.TypeHandler<CPF>
{
public override void SetValue(IDbDataParameter parameter, CPF value)
{
parameter.Value = valu... |
using System;
using Logs.Data.Contracts;
using Logs.Data.Tests.EfGenericRepositoryTests.Fakes;
using Moq;
using NUnit.Framework;
namespace Logs.Data.Tests.EfGenericRepositoryTests
{
[TestFixture]
public class ConstructorTests
{
[Test]
public void TestConstructor_PassDbContextNull_ShouldThr... |
int Max (int arg1, int arg2, int arg3)
{
int result = arg1;
if (arg2> result) result = arg2;
if (arg3>result) result = arg3;
return result;
}
int[] array = {11,21,31,41,15,61,17,18,19};
array [0]=12;
Console.WriteLine(array [4]);
int result = Max(
Max (array [0], array [1], array [2]),
Max (... |
namespace LOD.After
{
public class Person
{
public string Name { get; private set; }
public JoB Designation { get; private set; }
public Person(string name, JoB jobDetails)
{
Name = name;
Designation = jobDetails;
}
public void... |
using cn.bmob.io;
using cn.bmob.api;
using cn.bmob.json;
using cn.bmob.tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace cn.bmob.example
{
//Game表对应的模型类
class GameObject : BmobTable
{
private String fTable;
//以下对应云端字段名称
public B... |
using PicoShelter_DesktopApp.Services.AppSettings.Enums;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace PicoShelter_DesktopApp.Converters
{
public class EnumConverter : IValueConverter
{
publ... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace CloudinaryDotNet.Actions
{
[DataContract]
public class UpdateResourceAccessModeResult : BaseResult
{
[DataMember(Name = "updated")]
public List<object> Updated { get; protected set; }
[Da... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using ReturnOfThePioneers.Common.Models;
using ReturnOfThePioneers.Common.System;
using ReturnOfThePioneers.MasterData;
using System.Collections.Generic;
namespace ReturnOfThePioneers.Controllers {
[Route("graph/master-data")]
public class Master... |
using System;
using System.Configuration;
namespace NorthwindReglasNegocio
{
public class brGeneral
{
public string CadenaConexion { get; set; }
public brGeneral()
{
CadenaConexion = ConfigurationManager.ConnectionStrings["conNW"].ConnectionString;
}
public... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum CommandEvent {
//保存事件
ChangeDir,
CamCW,//镜头顺时针旋转
CamCCW//镜头逆时针选择
}
|
using NUnit.Framework;
using UnityEngine;
/// <summary>
/// Tests for the Player class
/// </summary>
[TestFixture]
public class PlayerTest
{
#region Fields
/// <summary>
/// Character controller for the player
/// </summary>
private CharacterController pc;
/// <summary>
/// The model
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class PlayerDetectCollision : DetectObject
{
[SerializeField] private float distance_to_be_arrested = 3f;
[SerializeField] private float distance_to_owner = 6f;
private bool can_... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Net.Sockets;
using Engine;
namespace Test_Client
{
//The commands for interaction between the server and the client
enum Command
{
Login, //Log into the server
Logout, //Logo... |
using Microsoft.Extensions.Logging;
namespace OmniSharp.Extensions.JsonRpc
{
public static class Events
{
public static EventId UnhandledException { get; } = new EventId(1337_100);
public static EventId UnhandledRequest { get; } = new EventId(1337_101);
public static EventId UnhandledNo... |
namespace Problems
{
using System;
public class ProblemA
{
public static void Main()
{
var n = ulong.Parse(Console.ReadLine());
var m = ulong.Parse(Console.ReadLine());
var y = ulong.Parse(Console.ReadLine());
var targetsPoked = 0;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Globalization;
using System.Data;
using System.Data.OleDb;
using System.IO;
using Obout.Interface;
usin... |
namespace DbIntegrationTestsWithContainers
{
using System;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Polly;
using TestContainers.Core.Containers;
public sealed class SqlServerContainer : DatabaseContainer
{
private string databaseName = "master";
priva... |
using System.Text;
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System.Net.Http;
using System.Drawing;
using System.Collections.ObjectModel;
using System.Xml;
using System.ComponentModel;
using System.Reflection;
namespace LinnworksAPI
{
public class ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace serial
{
static class Menu
{
public static void mostrarMenu(Operacoes operacoes)
{
char op;
do
{
Console.Cl... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_ComputeBuffer : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
int num = LuaDLL.lua_gettop(l);
if (num == 3)
{
int num2;
LuaObjec... |
using Doozy.Engine.UI;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : SingletonBehaviour<GameManager>
{
public string TitleScene;
public string MainGame;
p... |
using System;
using System.Collections.Generic;
using System.Text;
using CSharpLearning.Sort;
namespace CSharpLearning.Sort
{
public class QuickSorter
{
//快速排序
private static void Quick_sort(int[] s, int l, int r)
{
if (l < r)
{
//Swap(s... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TechTalk.SpecFlow;
using ZiZhuJY.Helpers;
namespace ZiZhuJY.Core.Tests
{
[Binding]
public class ZodiacYearsSteps
{
private DateTime datetime;
private ZodiacYears actualZodiacGot;
[Given(@"the date is ""(.*)"""... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AvaliacaoFinalCSharp.Features.Country
{
public interface ICountryParser
{
Dictionary<string, string> Parse(string textFromSource);
}
}
|
using System;
namespace ASCOM.microlux
{
public class RingBuffer
{
private readonly byte[] buffer;
private int writeIndex = 0, readIndex = 0, size = 0;
public RingBuffer(int capacity)
{
buffer = new byte[capacity];
}
public int GetReadIndex()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
using System.Windows.Forms;
using System.Drawing;
namespace WallPaperChangerV2
{
public class ScreenFetcher : List<ScreenInfo>
{
//Size of the monitor... |
using LuizalabsWishesManager.Services;
using LuizalabsWishesManager.Shared;
using NUnit.Framework;
using RestSharp;
namespace Tests
{
public class ProductTest
{
private IProductService _service;
[SetUp]
public void Setup(IProductService service)
{
_service = service... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
... |
using System.Collections.Generic;
namespace Plus.Communication.Packets.Outgoing.Users
{
public class IgnoredUsersComposer : MessageComposer
{
public IReadOnlyCollection<string> IgnoredUsers { get; }
public IgnoredUsersComposer(IReadOnlyCollection<string> ignoredUsers)
: b... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServerKinect.Clustering
{
public class ClusterCollection
{
public ClusterCollection()
{
this.Clusters = new List<Cluster>();
}
public ClusterCollection(ILi... |
using System;
using Microsoft.Extensions.DependencyInjection;
using HacktoberfestProject.Web.Data;
using HacktoberfestProject.Web.Models.Entities;
namespace HacktoberfestProject.Tests.Data
{
public class TableContextTests
{
private readonly ITableContext _context;
private TrackerEntryEntity _entityToR... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nim
{
class GameEngine
{
private const int MAX_ROWS = 3;
private int[] _board;
private bool isTurn;
private State currentState;
private State _... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WallCommentMicroService.Models
{
public class Post
{
public Guid Id { get; set; }
public DateTime DateCreated { get; set; }
public string Text { get; set; }
public decimal Rating { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using System.IO;
namespace Task2
{
class Json
{
public static void Serialization(IGambling[] games)
{
var fn = Path.Combine(Environment.CurrentDirectory, "objects.json");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ItemEdit.Models
{
public class SysConfig
{
public string DefaultPath { get; set; }
}
}
|
using innovation4austria.dataaccess;
using log4net;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace innovation4austria.logic
{
public class AusstattungVerwaltung
{
private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBas... |
namespace OmniGui
{
public class Pen
{
public Pen(Brush brush, double thickness)
{
Brush = brush;
Thickness = thickness;
}
public Brush Brush { get; set; }
public double Thickness { get; set; }
}
} |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.Services.Sitemap
{
public enum SitemapChangeFrequency
{
Always,
Hourly,
Daily,
Weekly,
... |
using Domain.Common.Rules;
using Sample.Domain;
using Sample.Domain.Rules;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace Sample.WebApi.Rules
{
public cl... |
using Jieshai.Cache.CacheManagers;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Jieshai.Cache
{
public class CacheMapper : ObjectMapper
{
public CacheMapper(CacheContaine... |
namespace Triton.Game.Mapping
{
using System;
public enum localRenderMask
{
None,
Texture,
Edges
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ButtonResume : MonoBehaviour
{
private void Awake()
{
Button button = GetComponent<Button>();
if(button)
button.onClick.AddListener(OnClickAction);
}
/// <summary>
/// [Delegate] Resume game ... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace SkillsGardenApi.Utils
{
public static class ConfigurationExtension
{
public static T GetClassValueChecked<T>(this IConfiguration Configuration,
string Key, T Default, ... |
namespace Dotnet.Script.NuGetMetadataResolver
{
using System;
using System.Diagnostics;
using System.Text;
using Microsoft.Extensions.Logging;
/// <summary>
/// A class that is capable of running a command.
/// </summary>
public class CommandRunner : ICommandRunner
{
privat... |
namespace TutteeFrame2.Model
{
public class Account
{
private string iD;
private string teacherID;
private string password;
public string ID { get => iD; set => iD = value; }
public string TeacherID { get => teacherID; set => teacherID = value; }
public string P... |
using System.Collections.Generic;
namespace KnowledgeTester.Models
{
public class AdminPanelModel
{
public string Category_NewName { get; set; }
public string Subcategory_NewName { get; set; }
public string Subcategory_Cat { get; set; }
public IEnumerable<CategoryModel> Categories { get; set; }
}
} |
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using YCSOrderSystem.Models;
namespace YCSOrderSystem.Controllers
{
public class Supplie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebEditor
{
public class ApplicationManager
{
private static ApplicationManager _instance;
public static ApplicationManager Instance
{
get
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace WebDataDemo.Data.Migrations;
public partial class StoredProcs : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(
@"
EXEC ('CREATE PROCEDURE ListAuthors
AS
SELECT Id, Name... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeAPI
{
interface IButtonClick
{
void MessageBox(string message);
}
}
|
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
namespace Westbot
{
class AcceptState
{
public const bool Accept = false;
public const bool Error = true;
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Selected : MonoBehaviour
{
Renderer rend;
// TODO pretty sure this can be optimized a tad easier
private void Awake()
{
rend = GetComponent<Renderer>();
rend.material.color = Color.blue;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class MainMenuLogic : MonoBehaviour
{
[SerializeField] Button StartButton;
// Setting the first button to be highlighted for PS4 controller selection through UI Element... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace OCP
{
/**
* Factory class creating instances of \OCP\ITags
*
* A tag can be e.g. 'Family', 'Work', 'Chore', 'Special Occation' or
* anything else that is either parsed from a vobject or that the user chooses
* to add.
* Tag na... |
using WUIClient.Gizmos;
using WUIShared.Objects;
namespace WUIClient.Tools {
public class ScaleTool : Tool {
private ScaleGizmo gizmo;
private GameObject selected;
public ScaleTool() {
gizmo = new ScaleGizmo();
}
protected override void OnSelect() {
... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2009 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using System.Collections.ObjectModel;
namespace BaiTapTuan2
{
// Learn more about making custom code visible in the Xamarin... |
using System.ComponentModel.DataAnnotations;
namespace Psub.DataService.DTO
{
public class RelayDataDTO
{
public int Id { get; set; }
[Display(Name = "Назначение")]
public string Name { get; set; }
[Display(Name = "Вывод (pin)")]
public int PinName { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Creature : MonoBehaviour {
public GameObject foodPrefab;
public float sensoryRadius = 100f;
public float eatRadius = 1f;
public float attackRadius = 3f;
public float foodEnergy = 30f;
public float attackEnergy... |
using CarInventory.Data.Entities;
using CarInventory.Exceptions;
using CarInventory.Models;
using System;
namespace CarInventory.Data.Repositories
{
/// <summary>
/// The user repository.
/// </summary>
public interface IUserRepository : IGenericRepository<RefUser, UserSearchCriteria>
{
//... |
using System.Threading;
using System.Threading.Tasks;
using MediatR;
namespace DemoDotNet.Taxas.Core
{
/// <summary>
/// Executor da requisição de taxas de juros com valor fixo
/// </summary>
public class TaxaJurosValorFixoHandler : IRequestHandler<TaxaJurosConsulta, decimal>
{
// Como o r... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_BoneWeight : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
BoneWeight boneWeight = default(BoneWeight);
LuaObject.pushValue(l, true);
Lu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OldLadyTrigger : MonoBehaviour
{
[SerializeField] private Animator oldLady;
[SerializeField] private Animator boxKey;
void OnTriggerEnter2D(Collider2D col) {
if(col.CompareTag("Key")){
oldLady.... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace LearningEnglishMobile.Core.Models.User
{
public class UserInfo
{
[JsonProperty("sub")]
public string UserId { get; set; }
[JsonProperty("preferred_username")]
public string Pref... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Dentist.Enums;
using Dentist.Models.Tags;
namespace Dentist.Models
{
public class Person : IValidatableObject, IModelWithIsDelete
{
... |
using UnityEngine;
public class ButtonPause : MonoBehaviour {
[SerializeField]
GameObject panelPause;
[SerializeField]
GameObject panelOptions;
public bool isActive { get; private set;}
public void SetPause()
{
isActive = !isActive;
panelPause.SetActi... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using greenlife1.BLL;
namespace greenlife1
{
public class Patient
{
public int ID { get; set; }
public string PatientId { set; get; ... |
//
// - AddChildCommand.cs -
//
// Copyright 2014 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// 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/licens... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace XGhms.Web.Admin.CollegeControls
{
public partial class CollegeManage : Common.AdmPageBase
{
protected void Page_Load(object sender, Ev... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.Web.CodeGeneration.Contracts.Messaging;
namespace Bai14.Models
{
public class MyDbContext:Db... |
using OpenMetaverse;
using System;
namespace OpenSim.Addons.Store.Data
{
public interface IStoreData
{
bool CheckTranExists(UUID tranid);
bool CheckSessionExists(UUID session);
void UpdateTranDeclined(UUID tranid);
void UpdateTranAccepted(UUID tranid);
void UpdateTranPaid(UUID tranid);
void UpdateTranOffe... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using UnityEngine;
using UnityEngine.UIElements;
namespace Naninovel
{
public class LineTextField : TextField
{
public LineTextField (string label = default, string value = default)
{
if (label != null)
... |
#region License
// Copyright (C) 2017 AlienGames
//
// 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 Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
/... |
using Autofac;
using NServiceBus;
namespace Common.Infrastructure.Autofac
{
public class NServiceBusModule : Module
{
protected override void Load(ContainerBuilder builder)
{
base.Load(builder);
builder.Register(c =>
NServiceBus.Configure.Wi... |
using System.Text.RegularExpressions;
namespace HaloSharp.Validation.Common
{
public static class GamertagValidator
{
public static bool IsValidGamertag(this string gamertag)
{
var regex = new Regex(@"^[a-zA-Z0-9 ]{1,16}$");
return !string.IsNullOrWhiteSpace(gamertag) ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CollidableScript : MonoBehaviour
{
Mesh mesh;
public AudioSource audioSource;
public float GetSize()
{
return mesh.bounds.size.magnitude * transform.localScale.magnitude;
}
private void Start(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Options : MonoBehaviour {
private GameObject optionsPanel;
private GameObject videoPanel;
private GameObject audioPanel;
private GameObject controlsPanel;
private GameObject gameplayPanel;
private Game... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Music_Game.Resources;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using System.IO;
using Sys... |
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 coffeeSalesManag_CompApp.Models;
namespace coffeeSalesManag_CompApp
{
public partial class man... |
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Practices.Prism;
using Microsoft.Practices.Prism.Events;
using Microsoft.Practices.Prism.Logging;
using Microsoft.... |
using System;
using Minesweeper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MinesweeperTests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
MainForm test = new MainForm();
}
}
}
|
using System.Drawing;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace ITechnologyNET.FindUnusedFiles
{
public partial class PictureBox : Form
{
public PictureBox(int width, int height)
{
InitializeComponent();
// deactivated because treeview... |
namespace NDDDSample.Interfaces.HandlingService.WebService
{
#region Usings
using System.Runtime.Serialization;
#endregion
[DataContract]
public class HandlingReportException
{
private string Msg;
public HandlingReportException(string msg)
{
Msg = msg;
... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("Cheats")]
public class Cheats : MonoClass
{
public Cheats(IntPtr address) : this(address, "Cheats")
{
... |
namespace SuicideWeb.Models
{
public class BlackGroup
{
public int Id { get; set; }
public long GroupId { get; set; }
}
} |
namespace OmniSharp.Extensions.JsonRpc
{
internal class RequestContext : IRequestContext
{
public IHandlerDescriptor Descriptor { get; set; } = null!;
}
}
|
// Copyright (c) 2008 Josh Cooley
// 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, modify, merge, publish... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Script_MenuPrincipal : MonoBehaviour
{
public InputField inputDia;
public InputField inputMes;
public InputField inputAño;
void Start()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Common;
using Microsoft.Practices.EnterpriseLibrary.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using Operation.Contra... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
namespace coffeeSalesManag_CompApp.Models.CoffeeManagement
{
public class Coffee
{
public int ID { get;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FiletCollider : MonoBehaviour
{
private GameObject curFly;
private List<GameObject> flyCatchs;
private void Start()
{
flyCatchs = new List<GameObject>();
}
private void OnTriggerEnter(Collider ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.