text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using aairvid.Adapter;
namespace aairvid.Fragments
{
public class FolderFragment4SmallS... |
namespace csharpcore
{
public class AgedBrie : Item
{
public AgedBrie() : base("Aged Brie")
{
}
public override void UpdateQuality()
{
if (CanIncreaseQuality())
{
Quality+= NormalQualityAdjustment;
}
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// Author: Corwin Belser
/// Attach this script to the same object as the player's
/// animator to call Respawn() message to PlayerController.cs
///
/// This script is a poor replacement of AnimationNotifier.cs, as
/// the nest... |
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Collections;
/**
* @author Chris Foulston
*/
namespace Malee.Hive.Data.State {
public abstract class State<T> {
private Dictionary<State<T>, StateTransition<T>> transitions = new Dictionary<State<T>, StateTransition<T>>();
//
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum EnemyAIState
{
Idle,
Run,
Attack1,
Attack2,
DeathState
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using ICE_API.models;
using Microsoft.AspNetCore.Authorization;
namespace ICE_API.Controllers
{
[Route("api/[contro... |
using System;
namespace WitsmlExplorer.Api.Models
{
public class LogObject
{
public string Uid { get; set; }
public string Name { get; set; }
public string IndexType { get; set; }
public string WellUid { get; set; }
public string WellName { get; set; }
public str... |
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage.Blob;
namespace ExactlyOnce.AzureFunctions.Sample
{
public class ShootingRange
{
IOnceExecutor execute;
public ShootingRange(IOnceExecutor execute)
{
... |
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Script to handle GUI code for displaying appropriate
/// contents in the shader configuration panel.
/// </summary>
public class ShaderConfigurationPanel : MonoBehaviour
{
/// <summary>
/// The example game object that gets updated with new shader
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OnGameOver : MonoBehaviour
{
[SerializeField]
Canvas cv;
void Start()
{
//DontDestroyOnLoad(cv);
cv.enabled = false;
}
void OnEnable()
{
EnemyMovementBehaviour.TriggerMen... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Pgh.Auth.Model.Migrations
{
public partial class V0910201902 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "Applications",
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Drawing;
using System.IO;
using System.Linq;
using log4net;
using Tesseract;
namespace Profiling2.Ocr
{
public class TesseractImageToText
{
protected static readonly ILog Log = LogManager.GetLogger(typeof(Tesserac... |
using UnityEngine;
using System.Collections.Generic;
public class ParticleList : MonoBehaviour {
[SerializeField]
private World world = null;
public List<Particle> list { get; private set; }
private WorldRenderer worldRenderer;
private void Awake() {
this.list = new List<Particle>();
... |
using CollectionHierarchy.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace CollectionHierarchy
{
public class AddCollection : List<Type>, IAddCollection
{
public List<string> BaseList { get; set; } = new List<string>();
public int Add(string item)
... |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wpf.Dao;
using Wpf.Model;
namespace Wpf.ViewModel
{
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace SteamApiTest.Models
{
public class iCheckContext : DbContext
{
public iCheckContext(): base("ICheckDB")
{
}
public DbSet<Game> Games { get; se... |
using System;
using System.Numerics;
using System.Text;
class DecimalToBinary
{
static void Main()
{
BigInteger number = BigInteger.Parse(Console.ReadLine());
StringBuilder sb = new StringBuilder();
do
{
BigInteger remaining = number % 2;
sb.Append(remai... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
using UnityEngine;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Color`. Inherits from `AtomEventEditor<Color, ColorEvent>`. Only availble in `UNITY_2019_1_OR_NEW... |
namespace FubuMVC.CodeSnippets
{
public class RubySnippetScanner : SimpleCommentSnippetScanner
{
public RubySnippetScanner() : base("rb", "# ")
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cracking
{
class PartitionLinkedList
{
public static Node partition(Node node, int x) {
Node head = node;
Node tail = node;
while (node ... |
using System;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Linq.Expressions;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using VipcoSageX3.Helper;
using ... |
using System;
namespace CharacterMultiplier
{
class Program
{
static void Main(string[] args)
{
var strings = Console.ReadLine().Split();
var input1 = strings[0];
var input2 = strings[1];
var sum = GetSumOfChars(input1, input2);
Conso... |
using gView.Web.Framework.Web.Authorization;
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace gView.Win.Dialogs.Framework.UI.Controls.Wizard
{
public partial class WebAuthorizationControl : UserControl
{
public WebAuthorizationControl()
{
InitializeC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Focuswin.SP.Base.Utility;
using Microsoft.SharePoint;
using YFVIC.DMS.Model.Models.Settings;
using YFVIC.DMS.Model.Models.WorkFlow;
using YFVIC.DMS.Model.Models.Common;
using YFVIC.DMS.Model.Models... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mojang.Minecraft.Protocol.Providers;
namespace Mojang.Minecraft
{
public class Statistic : IPackageField
{
public string Name { get; private set; }
public int Value { get;... |
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using JhinBot.Enums;
using JhinBot.Services;
using JhinBot.Utils;
using System;
using System.Threading.Tasks;
namespace JhinBot.Preconditions
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class RequireC... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using static CryptoReaper.Functions;
using static System.Math;
namespace CryptoReaper
{
public class Crypt
{
public const int CryptFeaturesDimPerSection = 20;
public const int CryptFeaturesMidPoin... |
using MLAPI;
using MLAPI.SceneManagement;
using MLAPI.Spawning;
using MLAPI.Transports.PhotonRealtime;
using MLAPI.Transports.UNET;
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ConexaoController : NetworkBehaviour
{
public static ConexaoController Instance { 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.Data.SqlClient;
namespace Login
{
public partial class Createrecipe : Form
{
... |
using SignalRChatApplication.Models;
using SQLite;
namespace TDC_Union.Model
{
public class ActiRegis
{
public ActiRegis(ActivitiesEvenArgs acti)
{
ID = acti.ID;
ImgUrl = acti.ImgUrl;
ActTitle = acti.ActTitle;
NotifyID = acti.NotifyID;
... |
using System;
namespace DynamicClassBuilder.Models
{
public class SimplePropertyInfo : ISimplePropertyInfo
{
public string Name { get; set; }
public Type Type { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RedCarpet : MonoBehaviour
{
public int carpetLength;
public Material carpetMat;
public GameObject carpetPiece;
public float openDuration;
private GameObject[] carpetSegments;
[Range(15, 45)]
public ... |
using Leaf.xNet;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Auth.GGpanel.Helper
{
class HWID
{
public string HWIDinformation(strin... |
using System;
using System.Collections.Generic;
using System.Text;
using Hayaa.DataAccess;
using Hayaa.BaseModel;
using Hayaa.Security.Service.Dao;
using Hayaa.Security.Service.Config;
/// <summary>
///代码效率工具生成,此文件不要修改
/// </summary>
namespace Hayaa.Security.Service
{
public partial class LoginPwdServer : LoginPwd... |
using System;
using System.Collections.Generic;
using System.Text;
namespace My_News
{
class CaSo: IComparable
{
public Category Category { get; set; }
public Source Source { get; set; }
public CaSo(Category cat = null, Source sou = null)
{
Category = cat;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MasterLIO
{
class Exercise
{
public int id { get; set; }
public String name { get; set; }
public int length { get; set; }
public int maxErrors { get; se... |
// 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 agr... |
using UnityEngine;
using System.Collections.Generic;
public enum EngineResponse {
OK,
UNAVAILABLE_TURN,
CHECK,
CHECK_MATE
}
public class GameEngine
{
private Color activePlayer = Color.WHITE;
public Color ActivePlayer {
get { return activePlayer; }
}
private Board[] boards;
private List<Trigger> activeTri... |
using UnityEngine;
public class EyeBallScript : MonoBehaviour
{
// base components
[HideInInspector] public Transform myTransform;
[HideInInspector] public GameObject myGameObject;
// eyelids
public Transform[] eyelidTransforms;
Quaternion[] eyelidRotOriginal;
// blink
int blinkInde... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO.Ports;
using System.Threading;
using System;
using UnityEngine.Networking;
using Unity.Jobs.LowLevel.Unsafe;
public class SerialHandler : MonoBehaviour
{
[SerializeField]
string comPortName;
SerialPort comPort;
... |
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 StackProgram
{
public partial class StackProgram : Form
{
StackClass PE = new ... |
using EmberKernel.Services.EventBus;
using EmberKernel.Services.Statistic.DataSource.Variables;
using System;
namespace CurrentPlayerInformation.Models
{
public class PlayerInformationEvent : Event<PlayerInformationEvent>
{
[DataSourceVariable]
public string AvatarUrl { get; set; }
[D... |
// -----------------------------------------------------------------------
// <copyright company="Fireasy"
// email="faib920@126.com"
// qq="55570729">
// (c) Copyright Fireasy. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using Fireasy.Com... |
using System;
namespace DesignPatterns.Decorator.CarRentalExample
{
public class Model
{
public float fuelCapacity;
public float price;
public String name;
public Model(float fuelCapacity, float price, String name)
{
this.fuelCapacity = fuelCapacity;
... |
// Copyright (c) 2019 Jennifer Messerly
// This code is licensed under MIT license (see LICENSE for details)
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.Classes;
using Kingmaker.Blueprints.Classes.Selection;
using Kingmaker.Blueprints.Classes.Spells;
using Kingmaker.Blueprints.Facts;
using Kingmaker.Bluepri... |
using Magic.Schools;
using StardewValley;
namespace Magic.Spells
{
public class BlinkSpell : Spell
{
public BlinkSpell() : base(SchoolId.Toil, "blink")
{
}
public override int getManaCost(Farmer player, int level)
{
return 5;
}
public overr... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
namespace CourseWork_CSaN
{
class FtpClient
{
const int bufferSize = 1024;
private FtpWebRequest ftpRequest;
private FtpWebResponse ftpResponse;
private string scheme;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RESISTANCE
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Donnez les valeurs des résistances R1,R2,R3 et R4");
Console.W... |
using System;
using Inventory.Models.Enums;
using Windows.UI;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
namespace Inventory.Converters
{
public class OrderStatusColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using Common.SauceLabs;
using FluentAssertions;
using OpenQA.Selenium.Remote;
using Selenium3.Nunit.Scripts.SpecFlow.Pages;
using TechTalk.SpecFlow;
namespace Selenium3.Nunit.Scripts.SpecFlow.Steps
{
[Binding]
public class DataDrivenS... |
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 Labor13
{
public partial class Form1 : Form
{
public Form1()
... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
namespace DFC.ServiceTaxonomy.Slack.Filters
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class UnhandledExceptionFilterAttribute : ExceptionFilterAttribute
... |
namespace SubC.Attachments {
using UnityEngine;
using System.Collections.Generic;
using ClingyPhysics;
[CreateAssetMenu(fileName = "New Physics Many-to-One Strategy",
menuName = "Clingy/Attach Strategies/Physics Many-to-One Strategy")]
public class PhysicsManyToOneStrategy : ManyToOneAttachStr... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ASM_1
{
public class SinhVien
{
public string maSV { get; set; }
public string hoTen { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
using ExamOnline.BaseClass;
namespace ExamOnline.Admin
{
public partial class TeacherDetailinfo : System.Web.UI.Page
... |
// -----------------------------------------------------------------------
// <copyright file="TypeExtensionsUnitTest.cs" company="AnoriSoft">
// Copyright (c) AnoriSoft. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Anori.Extensions.UnitTests... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace TrainEngine
{
public class TimeTable
{
public int TrainId { get; set; }
public int StationID { get; set; }
public string DepartureTime { get; set; }
//Omvandla till int senare (split ... |
using System;
using System.ComponentModel.DataAnnotations;
namespace InventoryControl.Models
{
public class Sale
{
public int Id { get; set; }
public int Quantity { get; set; }
public int Price { get; set; }
[DataType(DataType.Date)]
public DateTime ReleaseDate { get; s... |
using System.IO;
using System;
using System.Text;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Linq;
namespace WindowsFileManager {
class TextEditorController {
private string _path;
private string _name;
private string _curTextBox = "";
public void L... |
// Each type of robber will have a special skill that will come in handy while knocking over banks. Start by creating an interface called IRobber. The interface should include:
// A string property for Name
// An integer property for SkillLevel
// An integer property for PercentageCut
// A method called PerformSkill t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace XH.APIs.WebAPI.Models.Shared
{
[DataContract]
public class SEOMetaDataRequestModel
{
[DataMember]
public string Title { get; set; }
[DataMember]
... |
using System;
using UnityEngine.Events;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// None generic Unity Event of type `Collision`. Inherits from `UnityEvent<Collision>`.
/// </summary>
[Serializable]
public sealed class CollisionUnityEvent : UnityEvent<Collision> { }
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using WalletWasabi.Gui.Converters;
using WalletWasabi.Gui.ViewModels.Validation;
using WalletWasabi.Models;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class Valida... |
using Windows.Foundation;
using Windows.UI;
using Windows.UI.Xaml.Markup;
using Windows.UI.Xaml.Media;
namespace XamlMarkupExtensionsDemo.MarkupExtensions {
/// <summary>
/// <Grid Background="{helpers:GradientBrush Start=Red, Stop=Green}">
/// </summary>
[MarkupExtensionReturnType(ReturnType = typ... |
namespace VnStyle.Services.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddedArtistShowOnHomepage : DbMigration
{
public override void Up()
{
AddColumn("dbo.Artists", "ShowOnHompage", c => c.Boolean(nullable: false));
}
... |
using System.ComponentModel;
using System.Diagnostics;
using Igorious.StardewValley.ShowcaseMod.Constants;
using Newtonsoft.Json;
namespace Igorious.StardewValley.ShowcaseMod.Data
{
[DebuggerDisplay("[{Kind}] {Index}")]
public sealed class SpriteInfo
{
public SpriteInfo() { }
public Sprit... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System.Text;
using System.Collections.Generic;
public static class Static
{
public static readonly string horizontalAxis = "Horizontal", verticalAxis = "Vertical";
public static void SetAlpha(this MaskableGraphic graphics, float a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Animal.GameStrategy.GameLiAdv
{
public class BaseGameLiAdv
{
}
public class WoodSword : IAttackStrategy
{
public void AttackTarget(Monster monster)
{
monster.Notif... |
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
namespace ProductsAPI.Repository
{
public class ProductRepository : DbContext
{
public List<Product> Get()
{
List<Product> productsList = new L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Interop.Word;
using System.Runtime.InteropServices;
namespace DocGen.OOXML
{
/// <summary>
/// Responsible for creating table of contents given a path to a docx file.
/// </summary>
... |
//
// Copyright (c) 2014 Fabio Biselli - fabio.biselli.80@gmail.com
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for a... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace DrasCommon.Classes
{
public interface ISecurity
{
List<Dictionary<String,String>> GetSecurityTokens(string ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace eTicaretProjesi.ENT.Model
{
[Table("AltKategori")]
public class KategoriAlt
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Project.Forms.Layouts;
using Project.Helpers;
using Project.Models;
using Project.Services;
namespace Project.Forms {
public class ReservationCreate : BaseLayout {
// Frontend
private Panel panel... |
using surfnsail.Code;
using Xamarin.Forms;
namespace surfnsail.Views
{
public class SportCell : ViewCell
{
public SportCell()
{
var image = new Image();
var text = new Label()
{
FontSize = 40,
FontFamily = "System",
... |
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.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using BugunNeYesem.Data;
using BugunNeYesem.Data.Entity;
using BugunNeYesem.Logic;
using BugunNeYesem.Logic.Recommenders;
using BugunNeYesem.Logic.Utils;
using Bugun... |
using LoowooTech.Stock.ArcGISTool;
using LoowooTech.Stock.Models;
using LoowooTech.Stock.Tool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Rules
{
public class ValueRule2:IRule
{
public string RuleName { get { return "值符合性"; } }
... |
using BootstrapIntroduction.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BootstrapIntroduction.Behaviors
{
public class QueryOptionsCalculator
{
public static int ClaculateStart(QueryOptions queryOptions)
{
r... |
// Copyright (c) Bruno Brant. All rights reserved.
using System;
using AutoFixture.Xunit2;
using RestLittle.UI.Plumbing;
using Xunit;
namespace RestLittle.UI.Tests
{
public class StringExtensionsTests
{
[Theory]
[AutoData]
public void Truncate_LengthIsNegative_Throws(string input)
{
Assert.ThrowsAny<Argu... |
using System;
using DotnetSpider.Data.Storage;
using Microsoft.Extensions.Configuration;
namespace DotnetSpider.Core
{
public interface ISpiderOptions
{
string ConnectionString { get; }
string Storage { get; }
StorageType StorageType { get; }
string MySqlFileType { get; }
... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
using KSF_Surf.Models;
using KSF_Surf.ViewModels;
namespace KSF_Surf.Views
{
[DesignTimeVisible(false)]
public partial class RecordsPage : ContentPage
{
// variables fo... |
using System;
using NAudio.Wave;
namespace WaveShaper.Core.Samples
{
public class WaveSample
{
public WaveSample(float[] samples, WaveFormat waveFormat)
{
WaveFormat = waveFormat;
Samples = samples;
}
public float[] Samples { get; }
public Wave... |
using System;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Windows.Threading;
using Simple.Wpf.Composition.Infrastructure;
using Simple.Wpf.Composition.Workspaces.Weather.Services;
namespace Simple.Wpf.Composition.Workspaces.Weather
{
public sealed class WeatherControll... |
using Autofac;
using XH.Events.Tenants;
using XH.Infrastructure.Dependency;
using XH.Infrastructure.Event;
namespace XH.Event.Handlers
{
public class EventHandlersModule : IDependencyRegistrar
{
public int Priority
{
get
{
return 10;
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using PROnline.Models.Users;
using System.Security.Cryptography;
using PROnline.Src;
using PROnline.Models;
using PROnline.Models.Resources;
using PROnline.Models.Notices;
using System.Data;
nam... |
using System.Collections.Generic;
using Train.TicketServices.Entities;
namespace Train.TicketServices.Interfaces.Services
{
public interface ITicketService
{
Ticket GetStations(string input);
IEnumerable<string> GetStations();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Admin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e... |
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Pobs.Domain.Utils
{
public static class StringToSlugExtension
{
/*
* We will strip invalid characters and delimit words with underscores.
* We don't remove stop... |
using System.Windows.Forms;
using SharpMap.UI.Forms;
using log4net;
namespace SharpMap.UI.Tools.Zooming
{
public class FixedZoomInTool : ZoomTool
{
public FixedZoomInTool(MapControl mapControl)
: base(mapControl)
{
Name = "FixedZoomIn";
}
public overri... |
using System.Collections.Generic;
using SimpleRESTChat.Entities;
using SimpleRESTChat.Services.Enumerations;
namespace SimpleRESTChat.Services.BusinessObjects
{
public class ChatBo
{
public ChatBo()
{
Messages = new List<Message>();
ChatAction = ChatAction.Unknown;
... |
using System;
using ApartmentApps.Api.BindingModels;
namespace ApartmentApps.Api.Modules
{
public class FeedComponent : PortalComponent<FeedItemsListModel>
{
private readonly IFeedSerivce _feedService;
public Func<FeedItemBindingModel, string> ItemUrlSelector { get; }
public FeedCompon... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using HexapiBackground.Hardware;
namespace HexapiBackground.Gps.Ntrip
{
internal class NtripClient
{
private static readonly Encoding Encoding = new ASCIIEncodin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovingObstacle : Challenge {
public GameObject obstacle;
public float distance;
public float speed;
private List<GameObject> obstacles;
private GameManager.GameInfo info;
private float start;
private float end;
priva... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChildTrigger : MonoBehaviour {
private string tagName;
GameObject thisObject;
private void OnTriggerEnter(Collider other)
{
tagName = this.tag.ToString();
thisObject = this.gameObject;
... |
using System;
using System.Collections.Generic;
namespace Uintra.Core.Updater
{
public interface IMigration
{
Version Version { get; }
IEnumerable<IMigrationStep> Steps { get; }
}
}
|
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using ProjectBueno.Game.Entities;
using System.Collections.Generic;
using System;
using ProjectBueno.Engine.World;
using System.Diagnostics;
using ProjectBueno.Game.Spells;
using ProjectBueno.Utility;
using Newt... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class bullet : MonoBehaviour
{
public AudioSource myAudio;
public AudioClip repelBullet;
public AudioClip manHit;
public float moveSpeed;
Rigidbody2D rb;
GameObject target;
Player playerData;
Vecto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace WebApplicationLINQTutoralsTeacher.Pages
{
//Delegates before & out of Classes!!
p... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using NSubstitute;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.TestTools;
namespace Tests
{
public class PlayTestCamera
{
MoveController moveController;
CameraController camera;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.