text stringlengths 13 6.01M |
|---|
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using Microsoft.Azure.WebJobs.Extensions.Kafka;
namespace KafkaTest
{
public class ConsumeKafkaTopic
{
[FunctionName(nameof(ConsumeKafkaTopic))]
public void Run([KafkaTrigger(
"LocalBroker",
"tibiaTopic",... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Timers;
using Whale.DAL;
using Whale.DAL.Models;
using Whale.DAL.Models.Poll;
using Whale.Shared.Exceptions;
using Whale.Shared.Models.Meeting;
namespace Whale.Shared.Services
{
public class MeetingCleanerService
{
priv... |
//
// 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.Installer.Dependencies
{
/// -----------------------------------------------------------------------------
/// <summ... |
using System;
namespace SingletonExample
{
internal class Configuration : IDisposable
{
private Configuration()
{ }
private static Configuration instance;
public static Configuration Instance => instance ?? (instance = new Configuration());
public void Load() { /* Lad... |
using UnityEngine;
using System;
namespace CoreEngine.Math
{
[Serializable]
public sealed class DoubleVector3 : BaseVector3<DoubleVector3,double>
{
static DoubleVector3()
{
OperatorAdd = (a,b)=>a+b;
OperatorSubstract = (a,b)=>a-b;
OperatorMultiply = (a,b)=>a*b;
OperatorDivision = (a,b)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class pauseGame : MonoBehaviour {
//public Rigidbody rb;
//public GameManager gameManager;
public Text myText;
public bool paused;
void start() {
paused = false;
}
public void Pause() {
paused = !... |
using System;
namespace RO
{
public enum DataType
{
Float,
Int,
Bool
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BruteforceAttackCaesarCipher
{
class Program
{
/// <summary>
///
/// </summary>
/// <param name="args"></param>
static void Main(string[] args)... |
using Microsoft.Azure;
using Microsoft.Azure.Management.Resources;
using Microsoft.DataStudio.Diagnostics;
using Microsoft.DataStudio.Services.MachineLearning;
using Microsoft.DataStudio.SolutionDeploymentWorker.MachineLearning;
using Microsoft.DataStudio.Solutions.Model;
using Microsoft.DataStudio.Solutions.Queues.En... |
using Models.Custom;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Web.Models
{
public class InventoryListView
{
public List<CarView> carViewList { get; set; }
public SearchGridView searchGridView { get; set; }
}
} |
/*
* 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 appli... |
namespace Bindable.Linq.Tests.Unit.Adapters
{
internal class BindableCollectionAdapterTests {}
} |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using HotChocolate;
using HotChocolate.AspNetCore.Authorization;
using HotChocolate.Types;
using ServiceDesk.Api.Samples;
using ServiceDesk.Api.Samples.Models;
using ServiceDesk.Api.Systems.RequestSystem.Dtos.Request;
using ServiceDesk.Api.... |
// Copyright 2021 Google LLC. All Rights Reserved.
//
// 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... |
using NekoUchi.DAL;
using System;
using System.Collections.Generic;
using System.Text;
namespace NekoUchi.BLL
{
public class Lesson
{
#region Properties
public Model.Lesson ModelLesson { get; set; }
#endregion
#region Static methods
public static bool Add... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SlowRequestAlertActionFilterAttribute.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ----------------------------------------------------------... |
using AutoMapper;
using Umbraco.Core.Models;
using Umbraco.Web.Models.ContentEditing;
using Stylesheet = Umbraco.Core.Models.Stylesheet;
namespace Umbraco.Web.Models.Mapping
{
public class CodeFileMapperProfile : Profile
{
public CodeFileMapperProfile()
{
CreateMap<IPartialView, Co... |
using NReco.VideoConverter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace EasyVideoEdition.Model
{
class MainVideo : ObjectBase
{
#region Attributes
private static MainVideo singleton = new M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ENTITY;
using OpenMiracle.DAL;
using System.Data;
using System.Windows.Forms;
namespace OpenMiracle.BLL
{
public class PurchaseOrderBll
{
public PurchaseOrderMasterInfo PurchaseOrderMasterView(decimal purchaseOr... |
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using Npgsql;
using NpgsqlTypes;
using CGCN.Framework;
using CGCN.DataAccess;
namespace QTHT.DataAccess
{
/// <summary>
/// Mô tả thông tin cho bảng PhongBan
/// Cung cấp các hàm xử lý, thao tác với bảng PhongBan
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour
{
public string EnemyLayer;
private void OnCollisionEnter(Collision other)
{
if (other.collider.gameObject.layer == LayerMask.NameToLayer(EnemyLayer))
{
Destroy(o... |
using System;
class Program
{
public static void Main()
{
string hours = Console.ReadLine();
string minutes = Console.ReadLine();
string time = hours + ":" + minutes;
Console.WriteLine(time);
DateTime datey = DateTime.ParseExact(time, "h:mm", null);
datey = date... |
using One.Pages;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;
namespace One.Model
{
/// <summary>
/// 侧边栏按钮管理类
/// </summ... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
using SimpleBlog.Models;
namespace SimpleBlog.ViewModels
{
public class WritePostViewModel
{
public Post Post { get; set; }
public List<SelectListItem> Categories { get; } = new List<SelectListItem>();
}
}
|
using System.Collections;
using System.Collections.Generic;
using System.Net.Sockets;
using UnityEngine;
public class ConnsPool
{
public static readonly int MAX_CONN_SIZE = 10;
private Conn[] conns = new Conn[MAX_CONN_SIZE];
private Queue<int> freeIndexs = new Queue<int>();
public ConnsP... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SPDataRepository.Domain.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace SPDataRepository.Api.Controllers
{
[Route("api/[contro... |
namespace E04_Re_factorAndImproveTheCode
{
public class MinesweeperEntryPoint
{
public static void Main(string[] аргументи)
{
Minesweeper gameMinesweeper = new Minesweeper();
gameMinesweeper.Start();
}
}
}
|
using UnityEngine;
using UnityEngine.Events;
using System.Collections;
namespace TBeeD
{
public class GameController : MonoBehaviour
{
public int TotalSplotches { get; set; }
public int SplotchesCovered { get; set; }
public bool GameEnded { get; set; }
[SerializeField] private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Net;
using System.Net.Mail;
namespace Project._00_System {
public partial class Login_Firsttime : System.Web.UI.Page {
protec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Controller : MonoBehaviour
{
public Environment env;
//public Robot robot;
public List<Robot> robots = new List<Robot>();
public Camera cam;
public Camera textCam;
public Slider sp... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TeaseAI_CE.UI
{
public partial class Header : UserControl
{
public Header()
{
InitializeComponent();
}
private... |
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Firefox;
namespace InoveTeste.Comandos
{
class Comandos
{
#region Navegador
public static IWebDriver Navegador(IWebDriver driver, string navegador)
{
switch (navegador)
... |
using heitech.MediatorMessenger.Implementation.Messenger;
using heitech.MediatorMessenger.Interface;
using System;
using System.Linq;
namespace heitech.Mediator.Example.MessengerExample
{
internal class Messenger_A : MessengerBase<string>
{
public override string MessengerIdentifier => "A";
in... |
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 ABC_EMS
{
public partial class ManagerDashboard : Form
{
public ManagerDashboa... |
using Checkout.Payment.Gateway.Seedwork.Models;
namespace Checkout.Payment.Gateway.Seedwork.Interfaces
{
public interface IDomainNotificationEvent
{
string Message { get; set; }
DomainNotificationType Type { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NuGet.DependencyResolver;
namespace NuGet.Commands
{
public class DowngradeResult
{
public GraphNode<RemoteResolveResult> DowngradedFrom { get; set; }
public GraphNode<RemoteResolveResult> Do... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using ControlLocalizer;
using BUS;
using System.Windows.Forms;
namespace GUI
{
public partial class r_dm_sanpham : DevExpress.XtraReports.UI.XtraReport
{
public r_dm_sanpham()
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/* This class is attached to a GameObject named "IcosphereGenerator" in the hierarchy.
*
* It can create and destroy objects through the IcosphereObjectPool.
*/
[RequireComponent (typeof(BoxCollider))]
public class IcosphereGenerator ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1.file_handling
{
class StringReaderClass1
{
static void Main(string[] args)
{
StringWriter str = new StringWriter();
str.WriteLine("Hel... |
using UnityEngine;
[CreateAssetMenu(fileName = "Pokemon", menuName = "ScriptableObjects/Pokemon", order = 0)]
public class Pokemon : ScriptableObject
{
public new string name;
public Sprite pokemonImage;
public Type[] types;
public Sprite typeSprite;
public Color typeColor;
public int level;
... |
using System;
namespace YZOpenSDK
{
public class Sign : Auth
{
private string appId;
private string appSecret;
public Sign(string appId, string appSecret)
{
this.appId = appId;
this.appSecret = appSecret;
}
public string getAppId()
{
return this.appId;
}
public string getAppSecret()
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using CodeMonkey.Utils;
public class aStar : MonoBehaviour {
public int width, height;
public float size;
[HideInInspector]
private Grid<CustomGridObject> grid;
public TextMesh[,] debugText;
... |
using System.Collections.Generic;
using iQuest.VendingMachine.PresentationLayer.Views.Interfaces;
using iQuest.VendingMachine.PresentationLayer.DisplayConfiguration;
namespace iQuest.VendingMachine.PresentationLayer.Views
{
internal class MainView : DisplayBase, IMainView
{
public void DisplayApplicat... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
namespace OSCGui_Forms.Controls
{
public class Knob : yGui.Knob, OscTree.IOscObject
{
private OscTree.Object oscObject;
public OscTree.Object OscObject => oscObject;
public Knob(JObject obj)
{
OscJsonObject js... |
using UnityEngine;
using System.Net.Sockets;
using System.Collections;
using System.Net;
using System.Threading;
public class SendRenderTexture : MonoBehaviour {
public RenderTexture renderTexture;
public Color difColor;
public bool IsInvert;
//通信
public string IPAdress;
public int portNumber... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AsyncAwait
{
public pa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum RotAxis
{
X,
Y,
Z
}
public enum RotPosition
{
Center,
Right,
Left
}
public enum RotDirection
{
Forward,
Back
}
public class RubiksMove : MonoBehaviour
{
public Ga... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace P.Domain.Entities
{
public class Garage
{
[Key]
public String IdGarage { get; set; }
public String NameGarage { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RockPaperScissorsWebApp.Models
{
public class PlayerGame : Game
{
public PlayerGame()
{
randomRPSChoice = new RandomRPSChoice();
player1 = new Player();
player2 = ... |
using System;
using static yocto.Preconditions;
namespace yocto
{
internal class PooledLifetimeFactory : ILifetimeFactory
{
public IInstanceFactory GetInstanceFactory(IContainer container, Type interfaceType, Type implementationType, Func<object> factory, params object[] values)
{
... |
using JqD.Common.Entities;
using JqD.Common.IRepository;
using JqD.Data;
using JqD.Data.Repository;
namespace JqD.Common.Repository
{
public class OperationLogsRepository : RepositoryBase<OperationLogs>, IOperationLogsRepository
{
public static SqlStrings OperationLogsSql = new SqlStrings
{
... |
using Torshify.Radio.Framework;
namespace Torshify.Radio.EightTracks
{
public class EightTracksMixTrackStreamData : TrackStreamData
{
public int MixId
{
get;
set;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PalmBusinessLayer
{
class Target
{
private String id;
private String name;
private String description;
private String status;
private String pro... |
using System;
namespace VavilichevGD.GameServices.Time {
public struct DownloadedTimeArgs {
public DateTime downloadedTime { get; }
public bool error { get; }
public string errorText { get; }
public bool loadedFromServer { get; }
public DownloadedTimeArgs(DateTime dowloadedTime, bool error, string errorTe... |
using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
using System.Collections.Generic;
public class canvasScript : MonoBehaviour {
public static bool start=false;
public GameObject MenuCanvas;
public GameObject HelpCanvas;
public GameObject AboutCanvas;
public GameObject scoreCanvas;
pu... |
using System;
using VavilichevGD.Utils;
namespace VavilichevGD.GameServices.Time {
[Serializable]
public sealed class GameSessionTimeData {
public DateTimeSerialized sessionStartSerializedFromServer;
public DateTimeSerialized sessionStartSerializedFromDevice;
public long timeValueActiveDeviceAtStart;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Net;
using System.Net.Http;
using System.Reflection;
namespace RemoteTestFramework
{
/// <summary>
///
/// </s... |
using System;
namespace PodPlayer.Logic.Serializer
{
public class PodcastSerializer
{
public PodcastSerializer()
{
}
}
}
|
using LinkedListsTraining;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinkedListTraining_tests
{
// Not as many tests as I hoped to make because I got stuck on this a lot longer t... |
//
// 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;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using DotNetNuke.Web.Api;
using Dnn.PersonaBar.Library;
u... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HensParametersManager : MonoBehaviour {
//--------------------------------------------------------PARAMETERS FOR THE FLOCKING BEHAVIOUR--------------------------------------------
public static float HenFOV = 1.5f;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerFX : MonoBehaviour
{
public Transform LeftFoot;
public Transform RightFoot;
public Transform Feet;
public GameObject FootTouchGroundWhileRunningParticleEffect;
public GameOb... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CQRS_Write_Domain.Pessoa
{
[Flags]
public enum TipoPessoa
{
Comum,
Admin
}
}
|
using KnapsackProblem.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace KnapsackProblem.Helpers
{
public static class InputReader
{
public static IList<KnapsackInstance> ReadKnapsackInstances(string location)
{
var instances = new... |
using System;
using System.Threading.Tasks;
using Microsoft.Graph;
namespace MicrosoftGraphApplicationAuth
{
public class ExampleUsingGraph
{
private readonly IGraphServiceClientFactory _factory;
public ExampleUsingGraph(IGraphServiceClientFactory factory)
{
_factory = fa... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace VAT.Business.Model
{
public class DistributionCenter : Location
{
private readonly IList<Branch> branches;
public DistributionCenter()
{
this.branches = new List<Branch>();
}
... |
using CustomerManagement.Domain.Entities;
using CustomerManagement.Domain.Interfaces;
using CustomerManagement.Infrastructure.Data.Context;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
namespace CustomerManagement.Infrastructure.Data.Repositories
{
public class ClienteRepository : Generic... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Jieshai.Core
{
public class IncomeCalculateArgs
{
public IncomeCalculateArgs()
{
this.InvestorName = "";
}
public DateTimeRange IncomeDateRange { set; get; }
public string Investo... |
// Write a recursive program for generating and printing all the combinations without duplicates of k elements from n-element set
namespace Task03_CombinationsWithoutDuplicates
{
using System;
public class Program
{
public static void Main()
{
Console.WriteLine("n = ");
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace HelmesExercice.Models
{
public class User
{
public int UserID { get; set; }
public string Name { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Infrastructure;
using Model;
namespace ContactlistManage.UserManage
{
public partial class UserInfoOperate ... |
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 OOP4
{
public class MyMessageBox
{
//static object locObject;
//delega... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using RequirementOne.Core.Helpers;
using RequirementOne.Core.Json;
using RequirementOne.SoapApiWrapper.RequirementOneApi;
using umbraco.NodeFactory;
using System.Collections.Specialized;
namespace Requir... |
using System;
using TicketShopProject.Data.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TicketShopProject.ViewModels
{
public class TicketListViewModel
{
public IEnumerable<Ticket> Tickets { get; set; }
public string CurrentCategory { ge... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MenuCard : MonoBehaviour {
//VOLUMEN
float efectos;
void Start ()
{
efectos = PlayerPrefs.GetFloat("efects");
}
void Update()
{
if(GetComponent<Animator>().GetCurrentAnimatorStateInfo(0).Is... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.EntityFrameworkCore.Metadata;
// ReSharper disable once CheckNamespace
namespace Microsoft.EntityFrameworkCore
{
/// ... |
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class CrouchingState : PlayerState
{
public override string GiveName()
{
return "Crouching";
}
public override void RunState(Player self, Rigidbody body, PlayerActions actions, ArmourCheck armour, InputState input, Calculating calcul... |
using DFe.Classes.Flags;
using DFe.Utils;
using NFe.Classes.Informacoes.Emitente;
using NFe.Classes.Informacoes.Identificacao.Tipos;
using NFe.Danfe.Base.NFe;
using NFe.Utils;
using PDV.CONTROLER.Funcoes;
using PDV.CONTROLLER.FISCAL.Util;
using PDV.DAO.Custom;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades;
using Sys... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GameLogic.Models;
namespace GameLogic
{
public class GamePlay
{
public int WonOrTie(int playersTurn, string marker1, string marker2)
{
bool wonAcross = WonAcros... |
using System;
using TemporaryEmploymentCorp.DataAccess;
using TemporaryEmploymentCorp.Models.Candidate;
using TemporaryEmploymentCorp.Models.CanQual;
using TemporaryEmploymentCorp.Models.Editable;
using TemporaryEmploymentCorp.Models.Opening;
namespace TemporaryEmploymentCorp.Models.Placement
{
public class NewPl... |
using System;
using System.Collections.Generic;
using SolrDemo.Models;
using SolrNet.Attributes;
namespace SolrDemo
{
public enum PostType
{
Question = 1,
Answer,
OrphanedTagWiki,
TagWikiExcerpt,
TagWiki,
ModeratorNomination,
WikiPlaceholder,
Priv... |
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 Incubator
{
public partial class FormMain : Form
{
CWorld world;
publi... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using liteCMS.Logic;
using liteCMS.Web.Controller;
using S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Chpoi.SuitUp.SSL;
using Chpoi.SuitUp.Source;
using Chpoi.SuitUp.Service;
using Chpoi.SuitUp.Entity;
using Chpoi.SuitUp.Util;
namespace Chpoi.Suit... |
//
// Copyright 2016 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/licenses/LICENSE-2.0
//
// Unless r... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Shunxi.Infrastructure.Common.Extension
{
public static class TaskExtension
{
public static async Task<T> WithCancellation<T>(this Task<T> task, CancellationToken cancellationToken)
{
var cancellationCompl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Player : MonoBehaviour
{
public float stamina = 100;
public int attack = 50;
public float maxSpeed = 50;
public float cooldownTime;
float currentCooldown;
bool _isCooldown;
p... |
using System;
namespace MetricsManager
{
public class WeatherForecastDto
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LAP_PowerMining.Models.ViewModels.Account
{
public class VMUpload
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Peppy.Dependency
{
/// <summary>
/// This interface is used to directly perform dependency injection tasks.
/// </summary>
public interface IIocManager : IIocRegistrar
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class NetworkingConstants
{
// Server Messages
//public const string
public const string ASK_NAME = "ASKNAME";
public const string CONNECTION = "CONN";
// Client Messages
public const string NAME_IS... |
using Newtonsoft.Json;
using One.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace One.Model
{
public static class MusicListManager
{
}
//以下是每月音乐的相关类
public class Music_GettingStarted
{
[Js... |
using System;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using Relocation.Data;
using System.Data.Objects;
using Relocation.Com.Tools;
using Relocation.Com;
using System.Threading;
using System.Collections.Generic;
using Relocation.UI.Interface;
using Relocation.Base;
using Reloca... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Main.SimUDuck
{
class ModelDuck : Duck
{
public ModelDuck()
{
iFlyBehavior = new FlyNoWay();
iQuackBehavior = new Squeak();
}
public override void display()
... |
using Domain.Enums;
using Repository;
namespace Domain.MerchantTypeRules
{
public class BigMerchantValidation
{
public bool ItIsBigMerchant(MerchantInformation merchantInformation)
{
return ByDefaultMerchantStatus(merchantInformation);
}
private bool ByDefaultMerch... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Obsolete
{
class Program
{
static void Main(string[] args)
{
ObsoletedClass1 test1 = new ObsoletedClass1(); //compiler warning
ObsoletedClass2 test2 = new ObsoletedClass2();... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CadastroDePessoas
{
public class Cadastro
{
// metodo construtor
Conexao conexao = new Conexao();
SqlCommand cmd = new SqlCommand()... |
using EasySaveClient.DAL;
using EasySaveClient.DTO;
using EasySaveClient.Networking;
using EasySaveClient.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace EasySaveClient
{
/// <summary>
/// Interaction logic for MainWindow.xaml
... |
using System;
using OpenCookly.Common.Modules;
using Gtk;
namespace OpenCookly.Modules.Core.Activities
{
public class EditRecipeActivity : IActivity
{
public EditRecipeActivity()
{
}
#region IActivity implementation
public string Name
{
get
... |
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 ehERP
{
public partial class ehHome : Form
{
public ehHome()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.