text stringlengths 13 6.01M |
|---|
using System.IO;
namespace otus_architecture_lab_8
{
class Program
{
static void Main(string[] args)
{
CmdParser cmdParser = new CmdParser().Init(args);
string inPath = cmdParser.GetValue("-ip");
string outPath = cmdParser.GetValue("-op");
Simpl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
namespace IDal
{
public interface IUserRepository
{
IQueryable<User> GetList(Entities db);
int Create(User entity);
int Edit(User entity);
int Delete(Func<User, bool> predic... |
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Cors;
using System.Web.Http.Cors;
namespace WebApi
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
public class CorsPolicyAttribute : Attribute, ICorsPoli... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace MainClassLibrary
{
public class MasterClass
{
/// <summary>
/// Collection of type Employees for further query processing
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.PostProcessing;
public class scrDamageSaturation : MonoBehaviour {
[Header("PostProcessFX")]
private float Saturation = 1;
public PostProcessingProfile PPstack;
public PostProcessingProfile PPstackB;
... |
using bot_backEnd.Models.DbModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.UI.Interfaces
{
public interface IPostLikeUI
{
int AddPostLike(PostLike like);
int DeletePostLike(int PostID, int userID);
}
}
|
using DataLayer.AreasData;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLayer.Areas
{
public class Areas: BusinessBase
{
#region Atributos
#endregion
#region Propiedades
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using UnityEngine;
public class SaveController : MonoBehaviour {
public static SaveController
saveController;
[System.Serializable]
public class Farm {
public GameObject[]
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IPokerHandsChecker.cs" company="">
//
// </copyright>
// <summary>
// Interface for checking poker hands as defined in http://en.wikipedia.org/wiki/List_of_poker_hands.
// </... |
using System;
namespace CRUDXamarin_Ent
{
public class Class1
{
}
}
|
using System;
namespace OSGeo.GDAL
{
public enum RATFieldUsage
{
GFU_Generic,
GFU_PixelCount,
GFU_Name,
GFU_Min,
GFU_Max,
GFU_MinMax,
GFU_Red,
GFU_Green,
GFU_Blue,
GFU_Alpha,
GFU_RedMin,
GFU_GreenMin,
GFU_BlueMin,
GFU_AlphaMin,
GFU_RedMax,
GFU_GreenMax,
GFU_BlueMax,
GFU_AlphaMax,
... |
using CandidateTesting.RicardoCastroMartin.Infra;
using CandidateTesting.RicardoCastroMartin.Infra.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace CandidateTesting.RicardoCastroMartin.Service
{
public class LogService : ILogService
{
private readonly ILogClient... |
///<summary>
/// Serializable 예제
/// [Serializable] 어트리뷰트 설정
/// Soap XML 단위로 저장 DLL임포트 시켜야 한다.
/// </summary>
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization.Formatters.Soap;
[Serializable]
class SerialExample... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MrHai.BMS
{
/// <summary>
/// 登录用户
/// </summary>
[Serializable]
public class LoginUser
{
/// <summary>
/// 用户编号
/// </summary>
public int UserId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
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 ... |
// 01. Each teacher teaches a set of disciplines and a name. Both teachers and students are people.
namespace SchoolClasses
{
using System;
using System.Collections.Generic;
public class Teacher : People
{
public Teacher(string name)
: base(name)
{
this.Discipl... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Management.Automation;
using System.Collections;
using Microsoft.PowerShell.EditorServices.Utility;
namespace Microsoft.PowerShell.Ed... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RayReflectionController : MonoBehaviour
{
public Camera Cam;
public float MaxDist = 100;
public GameObject Bullet;
private void FixedUpdate()
{
if (Input.GetMouseButtonDown(0))
{
... |
using System.Collections.Generic;
using OmniGui.Layouts;
using OmniXaml.Rework;
using Xunit;
using OmniXaml;
using OmniXaml.Services;
using OmniGui.Xaml.Rework;
using OmniGui.Xaml.Templates;
namespace OmniGui.Xaml.Tests
{
public class Class1
{
[Fact]
public void BindTest()
{
... |
using dk.via.ftc.web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using dk.via.ftc.businesslayer.Data.Services;
using dk.via.ftc.businesslayer.Models;
using Microsoft.AspNetCore.Mvc;
using Newt... |
using CarRental.Models.Database;
using CarRental.Models.Interfaces;
using CarRental.ViewModels.Order;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarRental.Models.Repository
{
public class RentRepository : IRentReposiotry
{
private readonl... |
using System;
using Sce.PlayStation.Core;
using Sce.PlayStation.Core.Graphics;
using Sce.PlayStation.HighLevel.GameEngine2D;
using Sce.PlayStation.HighLevel.GameEngine2D.Base;
namespace Flabola
{
public class Obstacle
{
const float kGap = 300.0f;
// Private variables.
private SpriteTile[] sprites;
priva... |
namespace Prototype
{
internal interface IPrototipo
{
object Clonar();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace _3solution
{
class Program
{
public static void svetofor()
{
string p1 = " _______ ";
string p2 = "| *** |";
... |
using nmct.ba.cashlessproject.model.ASP.NET;
using nmct.ba.cashlessproject.api.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Common;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Web;
using System.Web.H... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Json
{
public class Range :IPattern
{
readonly char start;
readonly char end;
public Range(char start, char end)
{
this.start = start;
this.end = end;
}
public IMatch Match(string t... |
using System.Collections.Generic;
namespace MarsKata.MoveRover
{
public class RoverMover
{
private Rover Rover { get; set; }
public RoverMover(Rover rover)
{
Rover = rover;
}
public void Execute(IEnumerable<Action> actions)
{
foreach (v... |
using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.Collections.Generic;
using System.Text;
namespace UKLepraBotFaaS
{
public class Reaction
{
public List<string> Triggers { get; set; } = new List<string>();
public List<Reply> Replies { get; set; } = new List<Reply>();
... |
using AutoDataReader.Service.Contracts;
using Microsoft.Extensions.DependencyInjection;
namespace AutoDataReader.Helpers
{
public class WordServiceHelper
{
public static IWordService GetService()
{
var serviceProvider = ServiceProviderHelper.GetServiceProvider();
var w... |
using UnityEngine;
using System.Text;
using System.Collections;
using System.Collections.Generic;
public class UIController : MonoBehaviour
{
public static int displayPop = 0;
public static int displayMaxPop = 0;
public static int displayMoney = 0;
public static int displayMoneyIncrease = 0;
public static int di... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMovement : MonoBehaviour
{
[SerializeField] private Camera topDownCam;
[SerializeField] private Camera sideCam;
[SerializeField] private RectTransform sideCamViewRect;
[SerializeField] private Canvas ui_c... |
#region Copyright (C) 2017 Kevin (OSS开源实验室) 公众号:osscore
/***************************************************************************
* 文件功能描述:OSSCore插件 —— 阿里云密钥配置
*
* 创建人: Kevin
* 创建人Email:1985088337@qq.com
* 创建日期:2017-10-22
*
********************************************************************... |
using Datos;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dominio
{
public class MateriaModel
{
MateriaDao materiaDao = new MateriaDao();
public DataTable listarMaterias()
{
... |
using DotCom.Pages.Util;
using OpenQA.Selenium;
using System;
namespace DotCom.Pages.ProviderSearch
{
/// <summary>
/// A single provider search result pane representing a single provider/location.
/// </summary>
public class ProviderSearchResult
{
// The web element (div) containing the s... |
using Nancy;
using Nancy.TinyIoc;
namespace ClientTestService
{
public class ClientTestServiceBootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureApplicationContainer(TinyIoCContainer container)
{
container.Register<PortfolioService>().AsSingleton();
... |
using System.Collections.Generic;
using System.Linq;
using CloneDeploy_DataModel;
using CloneDeploy_Entities;
using CloneDeploy_Entities.DTOs;
namespace CloneDeploy_Services
{
public class GroupMembershipServices
{
private readonly UnitOfWork _uow;
public GroupMembershipServices()
{
... |
using ServerKinect.Shape;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServerKinect.Clustering
{
public class Cluster : ILocatable
{
protected Point center;
protected volatile IList<Point> points;
private Volume volume;
... |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_AtlasMap : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
AtlasMap o = new AtlasMap();
LuaObject.pushValue(l, true);
LuaObject.pushValue... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class Popup : MonoBehaviour {
public UnityEvent ClosePopup;
void Update()
{
if (OVRInput.GetDown(OVRInput.RawButton.RTouchpad) || OVRInput.GetDown(OVRInput.RawButton.RIndexTrigger))
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConfigData
{
public class We7Config
{
/// <summary>
/// 小程序文件夹目录
/// </summary>
public const string
ProcessMiniFolderPath = MainConfig.BaseDir + @"processMini/",
We7DataSession... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Utils
{
public static int Vertical, Horizontal, Colums, Rows;
public static int currentlevel = 0;
public static Vector3 GridToWorldPosition(int x, int y)
{
return new Vector3(x - (Horizontal - 0.5f), y ... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using UnityEngine.Networking;
public class PressTheButton : NetworkBehaviour {
[SerializeField] private GameObject LobbyManager;
private GameObject buttonMenu;
[SerializeField] private GameObject mainMenu;
[SerializeField] private st... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xrm.Sdk;
using Moq;
using System;
namespace XrmMoqTestConsole2016.Tests
{
[TestClass]
public class ProgramTests
{
[TestMethod]
[TestCategory("ExampleUnit")]
public void Test_console_2016_get_callerid()
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Mvvm;
using Common.Data;
namespace Main.Models
{
/// <summary>
/// Session Object persists the state of the current session
/// </summary... |
namespace E20_InfiniteConvergentSeries
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
public class ConvergentSeries
{
public delegate decimal SumInfiniteConvergentSeries(decimal precis... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Roger
{
public partial class WarningBox : UserControl
{
public WarningBox()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
public enum ELibro { Manual,Novela,Ambos}
class Biblioteca
{
private int _cap;
private List<Libro> _libros;
private Biblioteca()
{
... |
using AcceptanceTests.Classes;
using Repository;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using TechTalk.SpecFlow;
using TechTalk.SpecFlow.Assist;
using Xunit;
namespace AcceptanceTests.StepDefinitions
{
[Binding]
public class InvoiceFixedFeeSteps : Steps
{
... |
// 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 System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.Net.Http;... |
using FastSQL.App.Events;
using FastSQL.App.Interfaces;
using FastSQL.Sync.Core.Models;
using FastSQL.Sync.Core.Repositories;
using Prism.Events;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
namespace FastSQL.App.UserControls.Reporters
{
public c... |
using BPiaoBao.Client.Module;
using BPiaoBao.Client.UIExt;
using BPiaoBao.Client.UIExt.Communicate;
using GalaSoft.MvvmLight.Threading;
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.W... |
using System.Xml.Linq;
using PlatformRacing3.Common.Level;
using PlatformRacing3.Web.Extensions;
using PlatformRacing3.Web.Responses;
using PlatformRacing3.Web.Responses.Procedures;
namespace PlatformRacing3.Web.Controllers.DataAccess2.Procedures;
public class CountMyLevels2Procedure : IProcedure
{
public async Tas... |
using System.Data.Entity.ModelConfiguration;
using UnitOfWorkRuleSpecificationRepository.Models;
namespace UnitOfWorkRuleSpecificationRepository.Mappings
{
public class SpecificationMapping : EntityTypeConfiguration<Specification>
{
public SpecificationMapping()
{
// Primary Key
... |
using UnityEngine;
using System.Collections;
public class FinalPartida : MonoBehaviour {
// Use this for initialization
void Start () {
NotificationCenter.DefaultCenter().AddObserver(this, "PersonajeHaMuerto");
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter2D(Colli... |
// 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.Collections.Generic;
using System.Collections.ObjectModel;
namespace Microsoft.EntityFrameworkCore.TestModels.ManyToManyFieldsModel
{
... |
//
// - PopCommand.cs -
//
// Copyright 2014 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LI... |
using System;
using System.ComponentModel;
using GalaSoft.MvvmLight.Messaging;
using HandyControl.Controls;
using HandyControlDemo.Data;
using HandyControlDemo.Tools;
namespace HandyControlDemo
{
public partial class MainWindow
{
public MainWindow()
{
InitializeComponent();
... |
using System.Collections.Generic;
using UnityEngine;
namespace NeuralNetwork
{
public class NeuralNetworkManager : MonoBehaviour
{
[Header("References")]
public GameObject NetWorkPrefab;
public List<NeuralNet> NeuralNetworkInstances = new List<NeuralNet>();
[Header("... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Profesor : Persona
{
private DateTime fechaIngreso;
public Profesor(string nombre, string apellido, string documento)
: base(nombr... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(PathSpline))]
public class PathSplineInspector : BezierSplineInspector
{
SerializedProperty StartPathsProp;
SerializedProperty EndPathsProp;
private void OnEnable()
{
StartPa... |
using System;
using System.Collections.Generic;
using System.Text;
using OCP;
namespace OC.Accounts
{
class Hooks {
/** @var AccountManager */
private AccountManager accountManager = null;
/** @var ILogger */
private OCP.ILogger logger;
/**
* Hooks constructor.... |
using System;
using System.Linq;
namespace DoE.Quota.Repositories.Data.Inventories
{
using EF;
using Api;
using Core.Globals;
using Core.Repositories.Data;
public class InventoryRepository : Repository<Inventory> , IInventoryRepository
{
protected new PortalLsm _DbContext;
... |
public enum BossAnimationStates {walk, attack, die}; |
// 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 Microsoft.AspNetCore.Mvc;
using PerformanceDashboard.Models;
using PerformanceDashboard.ViewModels;
using PerformanceDashboard.ViewModels.Dashboa... |
namespace SpaceShip.Models.SpaceCraftSystems.LiquidSupply.Entity
{
public class SmallTank : TankBase<LiquidType>
{
public SmallTank(LiquidType type, uint volume) : base(type, volume)
{
MaxVolume = 1000;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FrbaCommerce.Modelo
{
public class Pregunta
{
String pregunta { get; set; }
DateTime fecha { get; set; }
String respuesta { get; set; }
DateTime fechaRespuesta { get; 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 WindowsFormsApplication1
{
public partial class AddEvaluation... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Task5.cs" company="">
//
// </copyright>
// <summary>
// The task 5.
// </summary>
// ----------------------------------------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlcConnectDisconnect : MonoBehaviour {
public PlcConnection plc;
public Text buttonText;
public Image buttonIcon;
bool _connectionState;
bool ConnectionState
{
get
... |
namespace Singleton
{
public sealed class ThreadSafeSingleton
{
private ThreadSafeSingleton()
{
TestString = "Initial";
}
public string TestString { get; set; }
public static readonly ThreadSafeSingleton Instance = new ThreadSafeSingleton();
}
} |
using System.Collections.Generic;
using Infnet.Engesoft.SysBank.Model.Dominio;
using Infnet.Engesoft.SysBank.Model.Contratos;
namespace Infnet.Engesoft.SysBank.Model.Provider
{
public class ProviderPessoas : Provider<Pessoa>
{
public ProviderPessoas() //constructor
{
var... |
namespace ns11
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
internal struct Struct12
{
public const uint uint_0 = 0x800;
public const int int_0 = 11;
private const int int_1 = 5;
private uint uint_1;
public void... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class DynHaus
{
public DynHaus()
{
ArcArchiv = new HashSet<ArcArchiv>();
DynAufenthalt = new HashSet<DynAufenthalt>();
DynAusleiheUserFachabte... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Eventos.IO.Domain.Core.Notifications;
using Eventos.IO.Domain.Eventos.Events;
using Eventos.IO.Domain.Eventos.Repository;
using Eventos.IO.Domain.Handlers;
using Eventos.IO.Domain.Interfaces;
using MediatR;
namespace Eventos.IO.Domain.Eventos.C... |
using SalaryUpdate.Models;
using System.Data.Entity.ModelConfiguration;
namespace SalaryUpdate.Persistance.Configurations
{
public class ReturnedSalaryConfiguration : EntityTypeConfiguration<ReturnedSalary>
{
public ReturnedSalaryConfiguration()
{
HasKey(s => s.EmployeeId);
... |
namespace Triton.Game.Mapping
{
using System;
public enum DeckPickerMode
{
INVALID,
PRECON,
CUSTOM
}
}
|
namespace Collection_of_Products
{
using System;
using System.Collections.Generic;
using System.Linq;
class PlayWithProductCollection
{
static void Main()
{
var products = new ProductCollection();
products.Add(1, "Product1", "Pesho", 28.9m);
... |
using System;
namespace Reto_Semana_06_01
{
class Program
{
static void Main(string[] args)
{
//https://youtu.be/hwy6EEoI7ZU
Random random = new Random();
int totalPuntos = 0, vidas = 3, contador1s = 0, contador6s = 0, dadosEspeciales... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DBStore.DataAccess.Migrations
{
public partial class InitialDatatables : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AspNetRo... |
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;
using System.Data.SqlClient;
namespace WindowsFormsApplication1
{
public partial class Funcionario : Form
{
//public s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* Este Script comprende todas las acciones que puede hacer el personaje en nuestro videojuego.
* Se ha hecho mediante métodos, los cuales son llamados en el Update() cuando sea necesaria su ejecución.
* El jugador es capaz de: movers... |
using System;
namespace Names
{
internal static class HeatmapTask
{
public static HeatmapData GetBirthsPerDateHeatmap(NameData[] names)
{
string name = "Юлиан";
int days = 30;
int months = 12;
// X — число месяца, по Y — номер месяца
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArcGISApp1 {
public class Constants {
public static readonly string MapBaseAddress = "https://www.arcgis.com/home/item.html";
public static readonly string MapId_ExploreM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommonDX;
using GalaSoft.MvvmLight.Messaging;
using SharpDX;
using SharpDX.Direct3D11;
using SharpDX.IO;
namespace Sandbox.DxRenderer
{
public partial class SpriteBatch : Component
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ToolTip : MonoBehaviour {
private Text toolTipText; //这个文字主要是用大小改变面板大小
private Text contentText; //这个文字用来显示,这两个文字要一样
private CanvasGroup canvasGroup;
private float targetAlpha = 0;
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Threading
{
public static class Randoms
{
static readonly SRandom myRandom = new SRandom();
public static int Next()
{
var random... |
using Android.App;
using Android.OS;
using Android.Runtime;
using Android.Support.Design.Widget;
using Android.Support.V7.App;
using Android.Views;
using Android.Widget;
using Staff.C_Sharp;
namespace Staff
{
[Activity(Label = "@string/app_name", Theme = "@style/AppTheme", MainLauncher = true)]
public class M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace cocoapuffs
{
class CotophaFile
{
BinaryReader file;
public CotophaFile(string inputFilename)
{
if (File.Exists(inputFilename))
{
try... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace IFN647_Project
{
class JSONParser
{
public Dictionary<int, Passage> ReadJSON(string pathFile, out Dictionary<i... |
using UnityEngine;
public class CrabAi : MonoBehaviour {
public Transform Player;
private Rigidbody rb;
public float distanceLimit = 3.5f;
public float period = 75f;
public float forceValue = 100f;
private float t = 0.0f;
private System.Random random;
private Transform cachedTransfor... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace InvoicingWebApp.Models
{
public class Invoice
{
[JsonProperty("id")]
public string AggregateId { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using WpfTesting.Model;
namespace WpfTesting.Controls {
public class ComboItemComboBox : ComboBox {
static ComboItemComboBox() {
SelectedItem... |
using Accounting.DataAccess;
using Accounting.Entity;
using Accounting.Utility;
using AccSys.Web.WebControls;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Web.UI.WebControls;
using Tools;
namespace AccSys.Web
{
public partial class frmRequisition : BasePage
{
private stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entidade;
using Persistencia;
namespace Negocio
{
public class NMensalidade
{
//Declara o objeto da camada de persistência
PMensalidade pMensalidade = new PMensalidade();
public E... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
[SerializeField]
float walkSpeed = 30f; //Player 걷는 속도
[SerializeField]
float jumpForce = 400f; //Player 점프 강도
[SerializeField]
Transform foot; //Pla... |
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
using Newtonsoft.Json;
namespace Acme.Infrastructure.Cache
{
/// <summary>
/// Redis distributed cache service
/// </summary>
public sealed class RedisCacheService : ICacheService
{
private readonly... |
using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Politicizer.Api.Models
{
[BsonIgnoreExtraElementsAttribute]
public class Politician
{
[BsonId]
public ObjectId Id {get; set;}
public string bioguide_id {get; set;}
public string title... |
/*--------------------------------------------------------------------------
Reactor.Web.Sockets
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 ... |
using System;
using NCalc;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// Class representing a rule which can be evaluated to boolean value
/// </summary>
[Serializable]
public class Rule
{
[UnityEngine.SerializeField]
private String rule;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.