text stringlengths 13 6.01M |
|---|
//
// commercio.sdk - Sdk for Commercio Network
//
// Riccardo Costacurta
// Dec. 30, 2019
// BlockIt s.r.l.
//
/// Allows to easily create a Did Document and perform common related operations
//
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using commercio.sacco.lib;
namespa... |
//
// 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.FileSystem.Internal
{
public interface IUserSecurityController
{
/// <summary>
/// Checks if the Cur... |
using alipay.Lib.Core;
using Aop.Api;
using Aop.Api.Request;
using Aop.Api.Response;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace alipay.WebPage
{
public partial class TestPage : System.Web.UI.Page
{
log4net.ILog log = log4net.LogManager.GetLogger("Log.Logging");
... |
// -----------------------------------------------------------------------
// <copyright file="Native.Windows.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </copyrig... |
// Use Instructions: All obstacles should be generated through
// the use of the DD_GenObstacle class
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DD_Obstacle : MonoBehaviour
{
private const int MAX_LEVEL = 3;
private static int mTotalNumObstacles = 0;
private stati... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace BPiaoBao.Common.Enums
{
public enum EnumPnrImportType
{
/// <summary>
/// 白屏预定
/// </summary>
[Description("白屏预定")]
WhiteScreenDestine = 0,
... |
using UnityEditor;
public static class ClearEditorProgressBar
{
[MenuItem("SNN/ClearEditorProgressBar")]
public static void Clear()
{
EditorUtility.ClearProgressBar();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Lance : Piece
{
[SerializeField] public bool promoted;
private Vector3 piecePosition;
public void Awake()
{
this.piecePosition = transform.position;
this.currentX = (int)piecePosition.x;
... |
using System;
namespace WorldHardestGame.Core.Entities
{
public class Coin : BaseEntityIA
{
private static Map _map;
private static int _count;
public Coin(Position position, IA.BaseIA? ia, Rectangle boundingBox, Map map)
: base(position, ia, boundingBox, map)
{
... |
using System;
using System.Collections.Generic;
namespace ConsoleApp2_1_
{
class List
{
private static void Add()
{
var theMyLists = new List<MyList>
{
new MyList() { Element = "element 3", Index = 11123},
new MyList() { Element = "e... |
using System;
using MonoTouch.ObjCRuntime;
[assembly: LinkWith ("libGreystripeSDK.a", LinkTarget.ArmV7 | LinkTarget.ArmV6 | LinkTarget.Simulator, ForceLoad = true, Frameworks = "AudioToolbox AVFoundation CoreGraphics MediaPlayer OpenAL QuartzCore SystemConfiguration", LinkerFlags = "-lz -lsqlite3")]
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GoodItem : MonoBehaviour
{
public enum Item { Cherry=0,Gem=1 }
public Item item;
// Start is called before the first frame update
void Start()
{
GetComponent<Animator>().SetInteger("Type", (int)item... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MovieCruiserUserStories.DAO;
using MovieCruiserUserStories.Models;
namespace MovieCruiserUserStori... |
using UnityEngine;
using System.Collections;
public class leafset1Lightup : MonoBehaviour {
public Material litmaterial;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(GoalTracker.goal4){
renderer.material = litmaterial;
}
}
}
|
using System.Xml;
using System.Xml.Serialization;
namespace TestTask.DataClasses
{
public class categoryId
{
[XmlAttribute]
public string type { get; set; }
[XmlText]
public string Value { get; set; }
}
}
|
using System;
using Zillow.Core.ViewModel;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Identity;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using Zillow.Core.Constant;
using Zillow.Core.Dto.CreateDto;
us... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure.Interception;
using System.IO;
using System.Linq;
using Voronov.Nsudotnet.BuildingCompanyIS.DBClasses;
using Voronov.Nsudotnet.BuildingCompanyIS.Interfaces;
namespace Voronov.Nsudotnet.BuildingCompanyIS.I... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using TestApplicationDomain.Entities;
using TestApplicationInterface.Repository;
namespace TestApplicationDB.Repository
{
public c... |
using System.Collections.Generic;
namespace Grapfs.CriticalNodes
{
public class DictionaryNode
{
string _word;
Dictionary<char, DictionaryNode> _dict; // Slow.
public DictionaryNode Add(char value)
{
// Add individual node as child.
// ... Handle null f... |
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Meziantou.Analyzer.Rules;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed class ParameterAttributeForRazorComponentAnalyzer : DiagnosticAnalyzer
{
private static readonly D... |
using UnityEngine;
using System;
public class AttackController : MonoBehaviour
{
[SerializeField] AimController m_AimControl;
const float ATTACK_MOVEDIR_SQR = 0.4f * 0.4f;
const float AIM_MOVEDIR_SQR = 0.4f * 0.4f;
public struct Args
{
public bool IsAttack;
public bool ClickAttac... |
using GameTimeClient.Tracking.Utility;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace GameTime.IO
{
/// <summary>
/// Class handling all state and communication between client and
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ScoreController : MonoBehaviour {
public Text scoreText;
private long score;
public void AddScore (long scoreToAdd) {
score += scoreToAdd;
UpdateScore ();
}
public void UpdateScore () {
scoreText.text = "SCORE: " + score;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Platformer.Mechanics
{
public class PlayerAggro : MonoBehaviour
{
public float aggroRange;
public LayerMask enemyLayerMask = 8;
public LayerMask hittableLayerMask;
PlayerController playerCo... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Abogado
{
public partial class Generador_de_Reporte : Form
{
public Generador_de_Reporte()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StopLightStrategy.Enum;
using StopLightStrategy.Interfaces;
namespace StopLightStrategy.Classes
{
public class YellowLight : ILight
{
public bool CanBuild(int signalId)
{
return signalId ... |
using UnityEngine;
using System;
using System.Collections.Generic;
/// <summary>
/// The Phylogenetic tree composed of Genotypes.
/// </summary>
[Serializable]
public class Phylogeny
{
/// The time when the simulation ended for this population sample.
private readonly int _cutoffTime;
// The Genotypes ... |
using AcessarCep.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AcessarCep.Interfaces
{
public interface ICepService
{
public Task<Address> GetAddress(string cep);
}
}
|
using Domain;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace EFDataAccess.Configurations
{
public class TagConfiguration : IEntityTypeConfiguration<Tag>
{
public void Configure(Ent... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Ast.Models;
using Ast.IBll;
using Ast.Common;
using System.Configuration;
namespace Ast.UI.Controllers
{
public class LoginController : Controller
{
private IOTAUsersService userservice { g... |
using System;
using System.Collections.Generic;
namespace RMAT3.Models
{
public class EventType
{
public EventType()
{
AuditTypes = new List<AuditType>();
EventTaskTypes = new List<EventTaskType>();
}
public int EventTypeId { get; set; }
... |
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class RoleRender_Alpha
{
private float timeElapsed;
public float from
{
get;
private set;
}
public float to
{
get;
private set;
}
public float current
{
get;
private set;
}
public float duration
{
... |
// Copyright (c) Microsoft. All rights reserved.
//
using ppatierno.AzureSBLite;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Windows.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuickGraph;
using Microsoft.Pex.Framework;
using Microsoft.Pex.Framework.Settings;
using Microsoft.Pex.Framework.Exceptions;
using Microsoft.Pex.Framework.Validation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using P... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.Extensions.Logging;
using TQVaultAE.Domain.Contracts.Services;
using TQVaultAE.Domain.Exceptions;
using TQVaultAE.Domain.Results;
using TQVaultAE.Present... |
using System;
namespace QAToolKit.Auth.Exceptions
{
/// <summary>
/// Keycloak access denied exception
/// </summary>
[Serializable]
public class AccessDeniedException : Exception
{
/// <summary>
/// Keycloak access denied exception
/// </summary>
/// <param nam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace Common.Wpf.ViewModel
{
[ComVisible(true)]
[Serializable]
public partial class WebPageViewModel : SingleContentUIViewModel
{
/// <summary>
/// Gets / set... |
using System;
using System.Diagnostics;
using System.Text;
using UnityEngine;
namespace EditorTool
{
public class CommandHelper
{
public static void ExcutePython(string argument)
{
Debug.Log("excute python:" + argument);
if (Application.get_platform() == 7)
{
CommandHelper.ExcuteExternalCommandNoLog... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CherryController : MonoBehaviour
{
private int sideSelect;
private float timeElapsed;
public GameObject Cherry;
private GameObject newCherry;
private Camera mainCamera;
private Vector3 newPosition;
p... |
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 TRUTH
{
public partial class Magnifier : Form
{
Graphics g;
public Mag... |
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 TaxiDriverSystem
{
public partial class drivermainpanel : Form
{
SQLWebService... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PowerUpSpawn : MonoBehaviour
{
public GameObject powerUp;
public float respawnTime;
GameObject lastSpawnedObject;
// Start is called before the first frame update
void Start()
{
InvokeRepeating... |
using System;
using System.Collections.Generic;
namespace RMAT3.Models
{
public class PreferenceType
{
public PreferenceType()
{
UserPreferences = new List<UserPreference>();
}
public int PreferenceTypeId { get; set; }
public string AddedByUserI... |
using System.Web.Http;
using calculatorRestAPI.Models.DTOs;
using calculatorRestAPI.Services;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace calculatorRestAPI.Controllers
{
public class CalculatorProfileController : ApiController
{
/// <summary>
/// Get calculator data for given ... |
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;
using Excel = Microsoft.Office.Interop.Excel;
namespace Combina... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PCSamensteller;
using PCSamensteller.Controllers;
using System.Web.Mvc;
namespace PCSamenstellerTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
HomeController co... |
using UnityEngine;
using TMPro;
public class MoneyUI : MonoBehaviour
{
public static int Money;
public TextMeshPro moneyText;
void Start()
{
Money = PlayerPrefs.GetInt("moni");
moneyText = GetComponent<TextMeshPro>();
}
void Update()
{
mo... |
using Manager.BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Manager.UI.Controllers
{
public class JobMonitorController : Controller
{
public ActionResult Index()
{
ViewBag.jobs = new Job().GetJobs("1", "10"... |
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 _509IT_Ccode
{
public partial class Form2 : Form
{
ContactDBconn mysqlConn;
... |
using System;
using Microsoft.Extensions.Logging;
// ReSharper disable once CheckNamespace
namespace NSubstitute
{
public class TraceWriter : FluentAssertions.Equivalency.Tracing.ITraceWriter
{
private readonly ILogger _logger;
public TraceWriter(ILogger logger) => _logger = logger;
p... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CRM.Model
{
public enum UserType
{
[Display(Name = "Yönetici")]
Admin = 1,
[Display(Name = "Personel")]
Pe... |
//
// 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.Globalization;
using System.Web.Helpers;
using System.Web.UI;
using DotNetNuke.Common;
using DotNetNuke.Entities.Portals;
using... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Whale.DAL.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Achivements",
... |
using Logging.Core.DataAccess;
using Logging.DataAccess.Abstract;
using Logging.DataAccess.Concrete.Context;
using Logging.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Logging.DataAccess.Concrete
{
public class ExamQuestionDal : EntityRepositoryBase<ExamQuestion, OnlineEx... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "AIData", menuName = "ScriptableObjects/AIScriptableObject", order = 1)]
public class AgentProperties : ScriptableObject
{
#region HealthStatus
[Range (0,100)]
public int MaxHealth = 75;
[Range(... |
using System;
using System.Reflection.Metadata.Ecma335;
namespace RockPaperScissors.sln
{
class Program
{
static void Main(string[] args)
{
while(true)
{
string[] gameChoice = new string[] { "Rock", "Paper", "Scissors" };
Random rnd ... |
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
using Serilog.Ui.Core;
using System;
using System.Collections.Generic;
using System.Dynamic;
namespace Serilog.Ui.MongoDbProvider
{
[BsonIgnoreExtraElements]
public class MongoDbLogModel
{
[BsonIgnore]
public int Id { get;... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CyberPunkRPG
{
class BarbedWire : GameObject
{
Rectangle position;
public Rectangle hitBox;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BooksDestination.Data;
using BooksDestination.Model;
namespace BooksDestination.Services
{
public class SqlBookData : IBookData
{
private BooksDestinationDbContext _context;
public SqlBookDa... |
using Microsoft.Office.Tools.Ribbon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FHLVoiceSearch
{
public partial class Ribbon1
{
private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
{
}
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SelfAction : MonoBehaviour {
private GameObject camera1, mainCamera;
public GameObject storyThing,magic02;
public AudioClip ac;
public IUnityEvent reward;
private bool isAction;
private bool isGot=fals... |
using PNPUCore.Database;
using PNPUCore.Process;
using PNPUTools;
using System;
using System.Collections.Generic;
namespace PNPUCore
{
/// <summary>
/// Cette classe permet de gérer le lancement des process.
/// </summary>
public class Launcher
{
void LaunchProcess(IP... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
namespace _3.GroupNumbers
{
using System;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
var numbers = Console.ReadLine()
.Split(new string[] {", "}, StringSplitOptions.RemoveEmptyEntries)
.Select(int.Parse... |
using System;
namespace api.Models.Request
{
public class FuncionarioRequest
{
public string funcionario { get; set; }
public string cargo { get; set; }
public DateTime nascimento { get; set; }
public string cpf { get; set; }
public string endereco { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace prjSellor.Models
{
public class DefaultSchedule
{
[Key]
public string day { get; set; }
public int timeSlace { get; set; }
public DateTime... |
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using WebApplication.Data.DataModels.Laptops;
using WebApplication.Data.Repositories.Laptops;
using WebApplication.Services.DtoModels;
namespace WebApplication.Services.Services.ShoppingBasket
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using liteCMS.Web.Controller;
using liteCMS.Logic;
using liteCMS.Entity.Ventas;
using System.Data;
using System.IO;
using System.Data.OleDb;
namespace liteCMS.Web.Admin.Ventas
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace Core.Domain
{
public class Campaign
{
[Key]
public string Code { get; set; }
public string Name { get; set; }
public string Description { get; s... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class WeightedAIPlayer : AIPlayer
{
/// <summary>
/// Weighting values.
/// Larger spread will make the AI more difficult in general.
/// </summary>
private int ... |
using UnityEngine;
using UnityEngine.UI;
namespace UI.StorageModal
{
class DataRow : MonoBehaviour
{
public Text Name = null;
public Text Value = null;
public void Set(string name, string value)
{
Name.text = name;
Value.text = value;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Net;
using System.Web;
using URISUtil.DataAccess;
using URISUtil.Logging;
using URISUtil.Response;
using WallCommentMicroService.Models;
namespace WallCommentMicroService.DataAccess
{
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class turret_c : MonoBehaviour {
public float step = 10f;
void Update () {
if (Input.GetKeyDown("left"))
{
transform.Rotate(new Vector3(0f, 0f, step));
}
if (Input.Ge... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Consul;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.... |
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 nhom
/// Cung cấp các hàm xử lý, thao tác với bảng nhom
/// Ngườ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using EWF.Application.Web.Controllers;
using EWF.Entity;
using EWF.IServices;
using EWF.Util;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace EWF.Application.Web.Area... |
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 LaReglaDeTres
{
public partial class Ingreso : Form
{
public Ingreso()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Imaging;
namespace waimai.BingdingClass
{
public class SpecificNRest
{
public List<string> itemName { set; get; }//eg 热销榜
... |
using UnityEngine;
using System.Collections;
public class SpawnTile : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void Upgrade()
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.EventSystems;
public class CharacterMover2 : MonoBehaviour
{
// Use this for initialization
NavMeshAgent agent;
NavMeshHit there;
public GameObject selectedTarget;
public bool gotTarget = fals... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Labrat
{
class televisio
{
public bool Päällä { get; set; }
public int Kanava { get; set; }
public int Volume { get; set; }
public televisio()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Pudge;
using Pudge.Player;
using System.Timers;
namespace PudgeClient
{
public class GraphUpdater
{
private Graph graph;
public GraphUpdater(Graph graph)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace transGraph
{
public partial class ConstantD : Form
{
dbFacade db = new dbFacade();
string id;
string t;
... |
using MarsQA_1.Helpers;
using MarsQA_1.Pages;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TechTalk.SpecFlow;
namespace MarsQA_1.Feature
{
[Binding]
class LoginSD
{
private SignIn LoginObj;
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using restauranter.Models;
using System.Linq;
namespace restauranter.Controllers
{
public class HomeController : Controller
{
... |
using FluentValidation;
namespace Indexer
{
public class IndexingArgsValidator : AbstractValidator<ProgramArgs>
{
public IndexingArgsValidator()
{
RuleFor(c => c.ParsedDirectories).SetCollectionValidator(new DirectoryValidator()).WithName("Directory");
RuleFor(c => c.Ex... |
/*--------------------------------------------------------------------------
Reactor.Web
The MIT License (MIT)
Copyright (c) 2015 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (t... |
using System;
namespace RO.Config
{
public static class PropID
{
public const int Hp = 1;
public const int Mp = 2;
public const int PhyAtk = 3;
public const int MagAtk = 4;
public const int PhyDef = 5;
public const int MagDef = 6;
public const int MoveSpeed = 7;
public const int AtkRange = 33;... |
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 PaymentVoucherBll
{
PaymentDetailsInfo InfoPaymentDetails = new PaymentDetailsInfo();
... |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2010 Maurits Rijk
//
// Pixel.cs
//
// 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 of the Lic... |
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Security.Cryptography.X509Certificates;
using System.Security.Principal;
using System.Text;
using System.Threading;
using BukkitServiceAPI;
using BukkitServiceAPI.Authentication;
using ConnorsNetworkingSuite;
using System.Linq;
na... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System.Threading.Tasks;
namespace WebApi
{
public class Program
{
public static Task Main(string[] args)
{
var host = Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webHostBuilde... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ip2LocationApp
{
public class Utils
{
public static IP2Location.Component IP2Location = new IP2Location.Component
{
IPLicensePath = @"C:\Users\Administrator\Desktop\Ip2locAp\I... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Sun : MonoBehaviour
{
public GameObject explosion;
Rigidbody2D rb;
Vector3 initialScale;
Vector3 newScale;
private float initialColliderRadius;
PointEffector2D pe;
// Start is called before the firs... |
using Entities.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace BertoniProyectoRUWeb
{
public partial class AlbumWeb : System.Web.UI.Page
{
... |
using CallCenter.Common.Entities;
using NHibernate;
namespace CallCenter.Client.SqlStorage.Controllers
{
public class CampaignController : EntityControllerBase<ICampaign>
{
public CampaignController(ISessionFactory sessionFactory) : base(sessionFactory)
{
}
protecte... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.CodeAnalysis.Sarif
{
public interface IAnalysisContext : IDisposable
{
Uri TargetUri { get; set; }
string M... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditorInternal;
using UnityEngine;
public class WithinFortyDist : Task
{
public WithinFortyDist(Blackboard bb) : base(bb){}
public override bool execute()
{
GameObject aObj = this.bb.GetGameObject("Agent");
... |
using System;
namespace WeatherWeb.Models
{
public class AppSettings
{
public string EventHubConnectionString { get; set; }
}
} |
using System;
using System.IO;
namespace file_handling
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Let's see file handling:");
FileStream fs = new FileStream("C:\\Users\\vaishnavi.vinjam\\source\\repos\\file_handling\\file.txt",Fil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.