text stringlengths 13 6.01M |
|---|
using System;
public class Program
{
public static void Main()
{
var name = Console.ReadLine();
var volume = double.Parse(Console.ReadLine());
var energy = double.Parse(Console.ReadLine());
var sugar = double.Parse(Console.ReadLine());
Console.WriteLine($"{volume}ml {n... |
using System.ServiceModel;
using CAHCommon.Requests;
namespace CAHCommon.Service
{
[ServiceContract]
public interface IGameProvider
{
[OperationContract]
Game[] GetGames();
[OperationContract]
Game GetGame(long id);
[OperationContract]
Game CreateGame(Game... |
using System;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Buildalyzer;
using Buildalyzer.Workspaces;
using IronPython;
using IronPython.Compiler;
using IronPython.Hosting;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.CodeAnalysis;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using greenlife1.DAL;
namespace greenlife1.BLL
{
public class PatientQueueManager
{
private QueueGetaway queueGetaway = new QueueGetaway();
public bool AddToQueue(PatientQueue q... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Threading.SubThreading.Ids
{
public abstract class BaseIsolatedTimersTimerGuid : BaseIsolatedTimersTimerWithId<Guid>, IIsolatedThreadWithId<Guid>, IIsolatedThread, IDisposa... |
using System;
using System.Collections.Generic;
using System.Text;
using MyPersonalBlog.Entities.Concrete;
namespace MyPersonalBlog.DataAccess.Interfaces
{
public interface ICategoryBlogDal : IGenericDal<CategoryBlog>
{
void AddToCategory(CategoryBlog categoryBlog);
void RemoveFromCategory(Cat... |
using BenchmarkDotNet.Attributes;
using IoUring.Concurrent;
namespace IoUring.Benchmarks
{
public class RingBenchmark
{
private Ring _ring;
private ConcurrentRing _concurrentRing;
private const int RingSize = 4096;
[GlobalSetup]
public void Setup()
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Configuration;
namespace beakn
{
public partial class Setting... |
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 ModelCantina;
using Controller;
namespace GUICantina
{
public partial class FormCliente : Form
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Pun;
using Photon.Realtime;
public class LauncherManager : MonoBehaviourPunCallbacks
{
[SerializeField]
public GameObject GameLauncherPanel;
public GameObject LobbyPanel;
public GameObject... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Classes;
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
namespace TestNHibernate.Mapping
{
public class CMapping : IAutoMappingOverride<C>
{
pu... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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/licenses/LICENSE-2.0
*
* Unless required by appl... |
/*
This file is part of NDoctor.
NDoctor is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
NDoctor is distri... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class pickUp : MonoBehaviour {
public static int counter = 0;
void OnTriggerEnter(Collider other) {
if(other.tag == "Player"){
counter++;
Destroy(this.gameObject); // will eventually differentiate between type with tag and have adv... |
using System.Net;
namespace InterfacePlay
{
public class ConsumerAvecFactory
{
private const string request = "http://127.0.0.1/queryThat?option=this";
private IRestClient restClient;
private ParameterSet _parameterSet;
public ConsumerAvecFactory(ParameterSet parameterSet)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using ProjektiSMS.Data;
using ProjektiSMS.Models;
namespace Projekti... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Random = UnityEngine.Random;
public class SatisfactionGaugeBehaviour : MonoBehaviour
{
public float Value
{
get;
private set;
}
[SerializeField] private Image m_ga... |
using System.Windows;
using BPiaoBao.Client.SystemSetting.ViewModel;
using BPiaoBao.Client.UIExt;
namespace BPiaoBao.Client.SystemSetting.View
{
/// <summary>
/// 确认支付设置绑定与解绑ConfirmPwdWindow.xaml 的交互逻辑
/// </summary>
public partial class ConfirmPwdWindow : Window
{
public ConfirmPwdWindow(... |
using System.Collections.Generic;
namespace PDV.DAO.Entidades.MDFe.Tipos
{
public class TipoTransportador
{
public decimal IDTransportador { get; set; }
public string Descricao { get; set; }
public TipoTransportador() { }
public static List<TipoTransportador> GetTipos()
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Tabs;
namespace DotNetNuke.Entities.Portals
{
public i... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using UnityEngine.UIElements;
namespace Naninovel
{
public class GenericTextLineView : ScriptLineView
{
private readonly LineTextField valueField;
public GenericTextLineView (GenericTextScriptLine scriptLine, VisualEle... |
using UnityEngine;
using System.Collections;
public class LeftElevatorDoor2nd : MonoBehaviour {
public ElevatorButton eb;
public ElevatorButtonInside ebi;
public ElevatorStatus elevatorCurrentFloor;
public Vector3 newPosition;
public Vector3 openPosition;
public Vector3 closedPosition;
public float y;
publi... |
namespace GaleService.DomainLayer.Managers.Services.Fitbit.ResourceModels
{
public class FitbitWeightResource : FitbitResourceBase
{
public Weight[] Weight { get; set; }
}
public class Weight
{
public string Bmi { get; set; }
public string Date { get; set; }
public ... |
namespace Frontend.Core.Model.Interfaces
{
public interface IModel
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PostProcess
{
[ExecuteInEditMode, ImageEffectAllowedInSceneView, RequireComponent(typeof(Camera))]
public sealed class Fog : PostProcessBase
{
public enum FogType
{
Distance = 1,
Height = 2,
//Multi = 3,
}
s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace statistics
{
// This class provides functions to manipulate different kind of list of dices
class DiceList
{
// Create a list of dice
public DiceList(int nbDices,... |
///
/// Copyright(c) Sweet MIT.All rights reserved.
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Xamarin.Forms_Pages.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class TemplatedPageView : ContentPage
{
public TemplatedPageView()
{
Initial... |
using Executor.Console.Job;
namespace Executor.Console.Executors
{
/// <summary>
/// Policy that will tie a specific type of Job so that only one Job of that type will run at once.
/// Subequent jobs of that type will be queued until the previous job has completed
/// </summary>
public class OneAtA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MyControlCenter_1;
using static MyControlCenter_1.Data;
namespace CommandData
{
public class Command
{
public static int RX_BUFF_LENTH = 42;
... |
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using smartHome.Models;
namespace sma... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json.Linq;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Ge... |
using DG.Tweening;
using UnityEngine;
namespace Game.Graphics.UI.Screen.Window
{
public class WindowManager : MonoBehaviour
{
public static void Show(Window window)
{
if (window.IsActive)
return;
window.IsActive = true;
window.CanvasGroup.game... |
using System.Collections.Generic;
using System.Data.Entity.Validation;
using MoviesApp.Data.Models;
namespace MoviesApp.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
public sealed class Configuration : DbMigrationsConfiguration<Mo... |
using FormularioCadastroCliente.Models;
using Microsoft.EntityFrameworkCore;
namespace FormularioCadastroCliente.Data
{
public class CadastroContexo : DbContext
{
public CadastroContexo(DbContextOptions<CadastroContexo> opcao) : base(opcao)
{
Database.EnsureCreated();
... |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Vaccination.Models.DTO;
using Vaccination.Models.ViewModel;
using Vaccination.Services;
using Vaccination.Services.Exceptions;
namespace Vaccination.Controllers
{
pu... |
using System;
using System.Runtime.Serialization;
namespace CloudinaryDotNet.Actions
{
/// <summary>
/// Results of tags management
/// </summary>
[DataContract]
public class MultiResult : BaseResult
{
[DataMember(Name = "url")]
public Uri Uri { get; protected set; }
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Task1;
namespace Task1Console
{
class Tests
{
private readonly string _name;
public Tests(string name)
{
_name = name;
}
public void Re... |
using System.Web.Http;
using CloneDeploy_Entities.DTOs;
using CloneDeploy_Services;
using Newtonsoft.Json;
namespace CloneDeploy_App.Controllers
{
// The restsharp deserializer does not work when calling these methods.
// Must have something to do with when LVM is used.
// Workaround is to just return the... |
using bot_backEnd.Models.DbModels;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.Models.ModelsWithPictures
{
public class CommentWithImages
{
public Comment Comment{ get; set; }
public IFo... |
using CapstoneTravelApp.DatabaseTables;
using CapstoneTravelApp.HelperFolders;
using SQLite;
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace CapstoneTravelApp.LodgingFolder
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class EditLodging : ContentPage
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Photoshop.Model
{
public class Photo
{
public bool Checked { get; set; }
public int Id { get; set; }
public string Name { get; set; }
public string Src { get; set; }
... |
/// <summary>
/// Scribble.rs Pad namespace
/// </summary>
namespace ScribblersPad
{
/// <summary>
/// Used to signal when my player has guessed correctly
/// </summary>
public delegate void CorrectlyGuessedDelegate();
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataStructureReversedList
{
class TestReversedList
{
public static void Main(string[] arg)
{
ReversedList<int> revList = new ReversedList<int>()... |
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace ShootFile
{
// Client app is the one sending messages to a Server/listener.
// Both listener and client can send messages back and forth once a
// communication is established.
public class Client
{
... |
using System;
namespace VavilichevGD.GameServices.Purchasing {
/// <summary>
/// Fasade of Purchases Service.
/// </summary>
public static class Purchases {
#region EVENTS
public static event Action OnPurchasesServiceInitializedEvent;
#endregion
public static bool isInitialized { get; private set; }... |
using FreightRateCalculator.Calculators.Interfaces;
using FreightRateCalculator.Models;
namespace FreightRateCalculator.Calculators
{
public class AirFreight : IFreightCalculatorStrategy
{
public decimal Calculate(FreightData freightData)
{
return freightData.MaximumPayload * 0.5M;... |
namespace Test.List {
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class SkipTests
{
[TestMethod]
public void NullInput()
{
IReadOn... |
using System.Collections.Generic;
using System.Threading.Tasks;
using GraphQL.Client.Http;
using GraphQL.Common.Request;
using GraphQL.Common.Response;
using Indico.Entity;
using Indico.Exception;
using Indico.Jobs;
namespace Indico.Mutation
{
/// <summary>
/// Class to run Model Group predictions
/// </s... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Yandex.Dialogs.Models
{
[JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class RequestGeolocation
{
}
} |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using AddressBook.Annotations;
using AddressBook.Models;
using AddressBook.Pages;
using AddressBook.Services;
using Xa... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using System.Collections.Generic;
namespace EnhancedEditor {
/// <summary>
/// Inherit from this interface to receive callbacks... |
namespace HandyControlDemo.UserControl
{
public partial class NaiveComboBoxDemoCtl
{
public NaiveComboBoxDemoCtl()
{
InitializeComponent();
}
}
}
|
using Airport.Helpers;
using Airport.Interfaces;
using Airport.Models;
namespace Airport.Observers
{
public class DepartureObserver : IFlightEventListener
{
public void New(FlightEvent newEvent)
{
FlyEventWriter.WriteEvent(newEvent);
}
public void Update(FlightEven... |
using Logic_Circuit.Models.BaseNodes;
using Logic_Circuit.Models.Nodes.NodeInputTypes;
using System.Collections.Generic;
namespace Logic_Circuit.Models.Circuits
{
/// <summary>
/// Contains input, output, and internal nodes.
/// </summary>
public class Circuit : IClonable<Circuit>
{
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Services.Helpers
{
public class VideoRestExecutor : IDisposable
{
private string host;
private int port;
private List<Source... |
using System;
using System.Windows.Input;
namespace Kit
{
public static class KeyToChar
{
public static char GetChar(this Key key)
{
if (Keyboard.IsKeyDown(Key.LeftAlt) ||
Keyboard.IsKeyDown(Key.RightAlt) ||
Keyboard.IsKeyDown(Key.LeftCtrl... |
namespace GetLabourManager.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class PaymentSetupModified2 : DbMigration
{
public override void Up()
{
AddColumn("dbo.CasualPaymentSetups", "TaxOnBasic", c => c.Double());
AddColumn("d... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Oppgave1C : LevelInterface
{
public CannonState getInitialState()
{
CannonState state = new CannonState();
System.Random rnd = new System.Random();
state.levelName = "Opp... |
using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using Maticsoft.DBUtility;//Please add references
namespace HealthCloud.DBDAL
{
/// <summary>
/// 数据访问类:V_NT_EXAMIN
/// </summary>
public partial class V_NT_EXAMIN
{
public V_NT_EXAMIN()
{}
#region BasicMethod
/// <summa... |
using PDV.CONTROLER.Funcoes;
using PDV.VIEW.Forms.Util;
using System;
namespace PDV.VIEW.FRENTECAIXA.Forms.PDV.DAV
{
public partial class OSPesquisarServicos : DevExpress.XtraEditors.XtraForm
{
public decimal IDServico { get; set; }
public OSPesquisarServicos()
{
Initialize... |
using System.Collections.Generic;
namespace PDV.DAO.Entidades.MDFe.Tipos
{
public class TipoResponsavelSeguro
{
public decimal IDResponsavelSeguro { get; set; }
public string Descricao { get; set; }
public TipoResponsavelSeguro() { }
public static List<TipoResponsavelSeguro> ... |
//using System.Linq;
using System.Collections.Specialized;
namespace MyWeb
{
public class MyForm
{
public static string GetInsertSQL(string TableName, NameValueCollection FormData)
{
string text = "";
string text2 = "";
for (int i = 0; i < FormData.Count; i+... |
namespace BookShelf.Services
{
public interface IAuthorCreateModel
{
string Name { get; }
}
}
|
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class CameraSmoothRotateTo : CameraSmooth
{
public Quaternion targetRotation;
private Quaternion originalRotation;
public static CameraSmoothRotateTo Create(Quaternion targetRotation, float duration, Action<CameraController> listener = ... |
using System.Collections.Generic;
using System.Linq;
using BasketTest.Discounts.Enums;
using BasketTest.Discounts.Items;
using BasketTest.Discounts.VoucherValidation.Gift;
using FluentAssertions;
using Moq;
using NUnit.Framework;
namespace BasketTest.Discount.UnitTests.VoucherValidation.Gift
{
[TestFixture]
p... |
/*
* Copyright (C) 2014-2015 HATSUNE, Akira (Original OMRON 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.apache.org/licenses/LICENSE-2.0
*
* Unle... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LeetCodeQuestions
{
public class ZigzagConversion
{
public string Convert(string s, int numRows)
{
string[] str = new string[numRows];
for (int i = 0; i < str.Length; i++) str[i] = "";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spike : MonoBehaviour
{
private Player player;
private void Start() {
player = FindObjectOfType<Player>();
}
void OnTriggerEnter2D(Collider2D col) {
if(col.CompareTag("Player"))
{
... |
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using CGCN.Framework;
using Npgsql;
using NpgsqlTypes;
using CGCN.DataAccess;
using HoaDonDataAccess.DataAccess;
namespace HoaDonDataAccess.BusinesLogic
{
/// <summary>
/// Mô tả thông tin cho bảng tblmathangban
/// Cu... |
using Framework.Metadata;
using Framework.Remote.Mobile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace App.Server.Controllers
{
public partial class HomeController
{
/// <summary>
/// Returns skin by skin Id.
/// </summary>
/// <... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LemonadeStand
{
public class Wallet
{
public double money;
private double beginningBalance = 0;
private double weeklyBalance;
public Wallet()
{
money = 10;
... |
namespace _5.Rubik_sMatrix
{
using System;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
var input = Console.ReadLine()
.Split(new char[] {' '}, StringSplitOptions.RemoveEmptyEntries)
.Select(int.Parse)
... |
using Library.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Library.Web.Admin
{
public partial class EditCategories : System.Web.UI.Page
{
public LibraryDbContext context;
public... |
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Luis;
using Microsoft.Bot.Builder.Luis.Models;
using Microsoft.Bot.Connector;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using Syst... |
using System;
using System.Reflection;
using DbUp;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extension... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.UI.Modules;
namespace DotNetNuke.ExtensionPoints
{
public interface IToolBarButtonExtensionPoint : IExtensionPoint
{
str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Criptomoedas.Models;
namespace Criptomoedas.Controllers
{
public class MoedasController : Controller... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace CTCT.Components.EventSpot
{
/// <summary>
/// OnlineMeeting class
/// </summary>
[DataContract]
[Serializable]
public class OnlineMeeting : Component
{
... |
using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace Theater
{
class LoginStringsFilledHandler : LoginChangeHandler
{
public override void Handl... |
using System;
using System.Linq;
using InputHandlers.Keyboard;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xna.Framework.Input;
using NSubstitute;
using NSubstitute.ClearExtensions;
using KeyboardInput = InputHandlers.Keyboard.KeyboardInput;
namespace InputHandlers.Tests
{
[TestClass]
... |
using System;
using System.Collections.Generic;
using SubSonic.BaseClasses;
using SubSonic.Extensions;
using SubSonic.SqlGeneration.Schema;
namespace Pes.Core
{
[SubSonicTableNameOverride("PrivacyFlagTypes")]
public partial class PrivacyFlagType : EntityBase<PrivacyFlagType>
{
#region Prope... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireworkEmitter : MonoBehaviour
{
public float minTime = 5f;
public float maxTime = 10f;
public GameObject FireWork;
private float startTime;
private float timeBeforeNext;
private Spline.BezierSpline ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LoginPanel : BasePannel
{
// Start is called before the first frame update
void Start()
{
GetControl<Button>("StartBtn").onClick.AddListener(StartClick);
GetControl<Button>("Qu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mime;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using ZiZhuJY.Common.Extensions;
using ZiZhuJY.Common.Helpers;
using ZiZhuJY.Web.Controllers;
namespace ZiZhuJY.Web.UI.Controllers
{
public clas... |
using System;
using System.Collections.Generic;
namespace OCP
{
/**
* TODO actually this is a IUserBackend
*
* @package OCP
* @since 4.5.0
*/
public interface UserInterface
{
/**
* Check if backend implements actions
* @param int actions bitwise-or'ed ac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RemindMyPassword
{
public abstract class BaseStartClass
{
public string objectName = string.Empty;
public abstract void LoadValues();
public virtual void ReloadValues()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DiceScript : MonoBehaviour
{
public Rigidbody rb;
public Vector3 diceVelocity;
public bool canRoll = true;
// Start is called before the first frame update
void Start()
{
rb = GetComponent<Rig... |
namespace CloneDeploy_Entities.DTOs.ImageSchemaBE
{
public class Partition
{
public bool Active { get; set; }
public string CustomSize { get; set; }
public string CustomSizeUnit { get; set; }
public string EfiBootLoader { get; set; }
public long End { get; set; }
... |
using System.Reflection;
using System;
using ShCore.Reflectors;
using System.Collections.Generic;
namespace ShCore.Extensions
{
/// <summary>
/// Phương thức mở rộng cho MemberInfoExtension
/// </summary>
public static class MemberInfoExtension
{
/// <summary>
/// Lấy Attribute
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace APINet.Api
{
/// <summary>
/// Type-safe api site search.
/// </summary>
/// <typeparam name="TA">Enum containing query string argument names.</typeparam>
/// <typeparam name="TR">Enum containing resp... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SickDev.CommandSystem;
using SickDev.DevConsole;
namespace CommonCore.UI
{
public enum ModalStatusCode
{
Undefined, Aborted, Complete
}
public delegate void MessageModalCallback(ModalStatusCode... |
using FeedsProcessing.Common;
using FeedsProcessing.Common.Models;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace FeedsProcessing.Dal
{
public interface IProcessingStateDal
{
public Task<int> GetIndex(NotificationSource source);
}
public cl... |
using System;
using System.Collections.Generic;
using System.Web;
namespace Revature_Project1.Models
{
public class PersonalCheckingBL
{
public PersonalCheckingAccount Create(string accountType, string startingValue, string userID)
{
PersonalCheckingAccount newAccount = new Person... |
using System.Collections.Generic;
using System.Threading;
using GalaSoft.MvvmLight;
using HandyControlDemo.Data;
using HandyControlDemo.Service;
namespace HandyControlDemo.ViewModel
{
public class ContributorsViewModel : ViewModelBase
{
/// <summary>
/// 数据列表
/// </summary>
... |
using FluentValidation;
namespace Application.Admins.Commands.CreateAdminCommands {
public class CreateAdminCommandValidator : AbstractValidator<CreateAdminCommand> {
public CreateAdminCommandValidator () {
RuleFor (e => e.Admin.Username)
.NotEmpty ().WithMessage ("Admin Userna... |
namespace MultiCommentCollector.Views
{
/// <summary>
/// UserDataWindow.xaml の相互作用ロジック
/// </summary>
public partial class UserDataWindow : MahApps.Metro.Controls.MetroWindow
{
public UserDataWindow() => InitializeComponent();
}
}
|
using DataAccessLayer;
using Entity;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ultilities;
namespace LogicHandler
{
public class ExamHandler : DataHandler<Exam>
{
private static... |
using UnityEngine;
using GoogleMobileAds.Api;
using System;
using UnityEngine.UI;
//reward ad
public class Admob : MonoBehaviour
{
private RewardBasedVideoAd adReward;
private string idApp, idReward;
[SerializeField] Button BtnReward;
[SerializeField] Text TxtPoints;
void Start ()
{
idApp... |
using Web.Models;
namespace Web.ViewModels.Courses
{
public class CourseScoViewModel
{
public int CohortId { get; set; }
public string ScoId { get; set; }
public Sco Sco { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CommonCore.Messaging;
namespace CommonCore.Config
{
/*
* CommonCore Config Module
* Provides settings save/load/apply, as well as maintaining PersistState
*/
[CCExplicitModule]
public class ConfigModule : C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.