text stringlengths 13 6.01M |
|---|
using System;
using System.Windows;
using System.Windows.Media.Animation;
public class design
{
public design()
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using ReactEmpeek.Models;
using Remotion.Linq.Clauses;
namespace ReactEmpeek.Controllers
{
[Route("api/[controller]")]
[ApiController]
public cl... |
using System;
using System.Collections.Generic;
using System.Text;
using ServiceDesk.Core.Interfaces.Common;
namespace ServiceDesk.Core.Entities.RequestSystem
{
public class Comment : IEntity
{
public int Id { get; set; }
public string Text { get; set; }
public string AuthorId { get; s... |
using System;
namespace MODEL.ORDER
{
/// <summary>
/// 实体类 OrderApplyModel
/// 编写者:
/// 日期:2015/2/7 星期六 1:25:15
/// </summary>
public class OrderApplyModel
{
private int orderid = 0;
private string orderno = string.Empty;
private int _custid = 0;
... |
//------------------------------------------------------------------------------
// 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... |
using System;
using DataDynamics.ActiveReports;
using DataDynamics.ActiveReports.Document;
using System.Data.SqlClient;
using lianda.Component;
using System.Data;
namespace lianda.LD40
{
public class LD404020AR : ActiveReport
{
public LD404020AR(DateTime DateF,DateTime DateT)
{
InitializeReport();
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using UnityEditor;
using UnityEditorInternal;
#if UNITY_2017_1_OR_NEWER
using UnityEditor.PackageManager;
#endif
namespace ConsoleTiny
{
public class Scrip... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DoubleEndedQueue
{
public interface IDeque<T>
{
T PeekHead();
T PeekTail();
void EnqueueHead(T value);
void EnqueueTail(T value);
T DequeueHead();
T DequeueTail();
... |
using System.Collections.Generic;
using System.Linq;
using dnlib.DotNet.Emit;
using SharpILMixins.Annotations.Inject;
using SharpILMixins.Processor.Utils;
namespace SharpILMixins.Processor.Workspace.Processor.Actions.Impl.Inject
{
public abstract class BaseInjectionProcessor
{
public abstract AtLocati... |
namespace FuzzyLogic.Model
{
class WorkHour : AbsCollection<ChartItem1Value>
{
public WorkHour(int beginWork, int endWork)
{
CreateData(beginWork, endWork);
}
//generowanie 1 lub 0 dla godzin od do
//if na wypadek gdyby było od wieczora do rana
public... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using OCP;
using OCP.AppFramework.Http;
using OCP.Http.Client;
namespace OCP.AppFramework
{
/**
* Base class to inherit your controllers from
* @since 6.0.0
*/
public abstract class Controller
{
/**
... |
using System.Runtime.InteropServices;
using System;
using System.Collections.Generic;
using System.IO;
namespace Wc3Engine
{
public class ShadowFlare
{
[DllImport("SFmpq.dll", EntryPoint = "SFMpqGetVersionString")]
public static extern string DLLVersion();
[DllImport("SFmpq.dll", Entry... |
using System;
using System.Collections.Generic;
using Moq;
using MvcMonitor.Data.Providers;
using MvcMonitor.Data.Repositories;
using MvcMonitor.Models;
using NUnit.Framework;
namespace MvcMonitor.Tests.Providers.IndexProviderTests
{
[TestFixture]
[Category("Core")]
public class GetErrorsTests
{
... |
using Microsoft.EntityFrameworkCore;
using SafeSpace.core.Data;
using SafeSpace.core.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SafeSpace.domain.Services
{
public class AppUserRatingService
{
private readonly SafeSpaceContext _context;
... |
using UnityEngine;
using RPG.Resources;
namespace RPG.Combat
{
[RequireComponent(typeof(Health))]
public class CombatTarget : MonoBehaviour
{
// CombatTarget is only a classifier and should have no code
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
namespace Compilify.Web.Controllers
{
public class ErrorController : Controller
{
public ActionResult Index(int? status)
{
var codes = Enum.GetValues(typeof... |
using TreeStore.Messaging;
using System;
using System.Collections.Generic;
namespace TreeStore.Model
{
public class TrackingModelController : ModelController
{
private readonly HashSet<Guid> trackedTags = new HashSet<Guid>();
private readonly HashSet<Guid> trackedEntities = new HashSet<Guid>()... |
using Domen;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SystemOperations.ProizvodjacLekovaSO
{
public class FindProizvodjacSO : SystemOperationBase
{
protected override object ExecuteSO(IEntity entity)
{
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.Advertisement;
using Windows.Devices.Enumeration;
namespace BLEWindowsConsole.src.Models
{
public class GattSample... |
using System;
using FluentAssertions;
using NUnit.Framework;
using PSPatcher.Core.AstExtensions.CSharp;
using PSPatcher.Core.AstExtensions.PS;
namespace PSPatcher.Tests.AstExtensionsTests.CSharpTests
{
[TestFixture]
public class CSharpClassAst_Tests
{
private CSharpClassAst csharpClass;
p... |
using System.ComponentModel.DataAnnotations.Schema;
namespace Web.Models
{
public class CourseTemplate : Product
{
public string Note { get; set; }
public string OverView { get; set; }
[ForeignKey("CourseLevel")]
public int CourseLevelId { get; set; }
public CourseLevel... |
using System;
namespace Paydock.SDK.Entities
{
public class BankCard
{
public Int32 CCV { get; set; }
public String Name { get; set; }
public String Number { get; set; }
public Int32 ExpireMonth { get; set; }
public Int32 ExpireYear { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using E_Commerce.Models.Helper;
namespace E_Commerce.CF
{
public class Converter
{
public static UserNameSurname ToUserNameSurname(dynamic ToConvert)
{
UserNameSurname ToSend = new UserNameSurname(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Academy.Models
{
public static class Database
{
//public static List<Teacher> teachers { get; set; }
//public static List<Student> students { get; set; }
public static List<Teacher> teachers ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.ApplicationServices;
using FormsApplication = System.Windows.Forms.Application;
usi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using KT.DTOs.Objects;
using KnowledgeTester.Helpers;
namespace KnowledgeTester.Models
{
public class QuestionModel
{
public QuestionModel(QuestionDto question, string subcategoryName)
{
Text = que... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using JM.LinqFaster.SIMD;
using StructLinq;
using System.Linq;
using System.Threading.Tasks;
namespace NetFabric.Hyperlinq.Benchmarks
{
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
[CategoriesColumn]
public class RangeToArrayBenc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EffectObj : MonoBehaviour
{
public int id = 1;
EffectModel effect;
// Use this for initialization
void Start ()
{
effect = InventoryManager.Instance.GetEffectById(id);
Invoke("DestorySelf", effect.LastTim... |
using System.Collections.Generic;
using ATSBackend.Domain.Entities;
using ATSBackend.Domain.Interfaces.Services;
using ATSBackend.Domain.Interfaces.Repositories;
namespace ATSBackend.Domain.Services
{
public class CandidatoService : ServiceBase<Candidato>, ICandidatoService
{
private readonly ICandida... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = System.Random;
public class Virus1 : MonoBehaviour
{
private States _states = new States();
public int _damage;
public ScoreData scoreData;
public static Virus1 Instance;
private void Awake()
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DiagnostivoTecnicoBasico.Model.InformacionComercial
{
public class ICComponent
{
public List<ICComponentDetail> component { get; set; }
}
}
|
namespace MvcExample.Core.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class UserTablosunaForeignkeylereklendi : DbMigration
{
public override void Up()
{
AddColumn("auth.User", "RoleId", c => c.Int(nullable: false));
AddColu... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RouteConfig.cs" company="Eyefinity, Inc.">
// 2013 Eyefinity, Inc.
// </copyright>
// <summary>
// Defines the RouteConfig type.
// </summary>
// ----------------------... |
using System;
using System.Linq;
using System.Collections.Generic;
using QuickCollab.Security;
namespace QuickCollab.Session
{
public class RegistrationService
{
private ISessionInstanceRepository _sessionRepo;
private IConnectionRepository _connRepo;
private PasswordHashService _passw... |
namespace PurificationPioneer.Const
{
public partial class SpriteName
{
public static readonly string Avatar0 = @"Avatar0";
public static readonly string Avatar1 = @"Avatar1";
public static readonly string Avatar2 = @"Avatar2";
public static readonly string Avatar3 = @"Avatar3";
public static readonly strin... |
using System;
using System.Diagnostics;
namespace Microsoft.DataStudio.Solutions.Validators
{
public class ThrowIf
{
/// <summary>
/// Throws ArgumentNullException if the argument is null, otherwise passes it through.
/// </summary>
/// <typeparam name="T">The argument type.</t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SincolPDV.Repositorio.Implementacao.Base
{
interface IRepository<TEntity> where TEntity : class
{
IQueryable<TEntity> ListarTodos();
IQueryable<TEntity> Listar(Func<TEn... |
using System;
using System.Data;
using System.Threading.Tasks;
using System.Windows.Media;
using CRVCManager.Utilities;
namespace CRVCManager.DataModels
{
public class Flag : Base
{
private Color _color;
private string _description;
private string _name;
public Guid Id { get; }
public string Name
{
... |
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.IO;
using System.Diagnostics;
using Excel = Microsoft.Office.Interop.Excel;
using System.Collections;
namespace LibOcr
{
public class OCR
{
#region Cla... |
using SharpDX;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using SharpDX;
using Common;
namespace LoadMeshes.Application
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct ... |
using Store.Books.Domain.Enums;
using Store.Books.Domain.Base;
using System;
namespace Store.Books.Domain
{
public class Order : BaseDateEntity
{
public string UserName { get; set; }
public OrderStatusEnum Status { get; set; }
public decimal Total { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CFDI.Model
{
public class MenuModel
{
public string Id { get; set; }
public string Opcion { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vip.Printer;
namespace Gerene.DFe.EscPos
{
public static class GereneHelpers
{
#region String
public static bool IsNull(this string _str) => string.IsNullOrEmpty(_str) || string.IsNullOrWhiteSpace(_str)... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
#endregion
namespace DotNetNuke.Services.Upgrade.Internals.InstallConfiguration
{
/// --------------------------------... |
using Hotel.Data.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hotel.Web.Areas.ModulRecepcija.ViewModels
{
public class UrediNarudzbuVM
{
public int Id { set; get; }
public DateTime ... |
using Plus.Communication.Packets.Outgoing.Inventory.Badges;
using Plus.HabboHotel.GameClients;
namespace Plus.Communication.Packets.Incoming.Inventory.Badges
{
internal class GetBadgesEvent : IPacketEvent
{
public void Parse(GameClient session, ClientPacket packet)
{
sessi... |
using System;
using System.Linq;
using System.Windows.Forms;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace RaidAPI.StealToken
{
public static class Stealer
{
public static void Dialog(string _Hook)
{
string output = "output/sendhookfile.exe";
Stealer.CreateExe(_Hook, output);
}
in... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windo... |
using UnityEngine;
using System.Collections;
public class Goblin : EntityBase
{
public string Name = "GOBLIN";
public override string GetName()
{
return Name;
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
|
using SinavSistemi.Entity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SinavSistemi.DataAccessLayer
{
public class OgretmenDAL
{
private DBHelper dbHelper;
... |
using AutoMapper;
using MZcms.Core.Helper;
using MZcms.IServices;
using MZcms.Model;
using MZcms.Web.Framework;
using MZcms.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MZcms.Web.Areas.Admin.Controllers
{
public class SiteSettingC... |
using LazyVocabulary.Common.Enums;
using System;
using System.Collections.Generic;
using System.Globalization;
namespace LazyVocabulary.Common.Entities
{
public class UserProfile
{
public int Id { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI... |
using System;
using System.Collections.Generic;
using System.Xml;
using UnityEngine;
namespace YoukiaUnity.CinemaSystem
{
/// <summary>
/// 电影系统角色类
/// 演员:该类运行时加载的人物
/// 角色:制作时的点位
/// </summary>
public class CinemaCharacter : MonoBehaviour
{
/// <summary>
/// 使用运行时预先关联角色模... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ShopsRUs.Infrastructure.Services.InvoiceService
{
public class Bill
{
public string Item { get; set; }
public decimal Amount { get; set; }
public string UserPhoneNumber { get; set; }
public string User... |
using System;
namespace Micro.Net.Test
{
public class TestResponse
{
public Guid RequestId { get; set; }
public Guid ResponseId { get; set; }
}
} |
using EnglishHubRepository;
namespace EnglishHubApi
{
public class WordRequestEntity
{
public string lexialCategory { get; set; }
public string definition { get; set; }
public string id { get; set; }
public string word { get; set; }
public string description { get; set; ... |
namespace Ornithology.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class CrearTablas : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.TONT_AVES",
c => new
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StartScreen : MonoBehaviour
{
public MoveForward playerForward;
// Update is called once per frame
void Update()
{
if (Input.GetMouseButtonDown(0))
{
GetComponent<FadeIn>().StartFad... |
using System;
using System.Collections.Concurrent;
using System.Configuration;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using System.Web;
using AuthenticationContext = Microsoft.IdentityModel.C... |
using System;
using System.ServiceModel;
using System.ServiceModel.Description;
using KT.ServiceInterfaces;
namespace KnowledgeTester.WCFServices
{
public class KtServices
{
private static ServiceClient<IKtAnswersService> _answersService;
public static IKtAnswersService AnswersService
{
get
{
return... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using MyPersonalBlog.Entities.Concrete;
namespace MyPersonalBlog.UI
{
public static class IdentityInitializer
{
public static async Task SeedData(UserManager<AppUser> u... |
#if UNITY_ADS
using System;
using System.Collections;
using Plugins.UI;
using UnityEngine;
using UnityEngine.Advertisements;
using Util;
namespace Ads.UnityAds
{
public class UnityBannerStrategy : IBannerStrategy
{
public event EventHandler OnBannerChange;
private bool ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Task3;
namespace Task3Console
{
class Program
{
static void Main(string[] args)
{
CustomQueue<string> stringQueue = new CustomQueue<string>();
strin... |
using UnityEngine;
using System.Collections;
namespace SNN.Core
{
[System.Serializable]
public class NeuralLayer
{
[SerializeField]
Sigmoid[] nodes;
[SerializeField, HideInInspector]
int inputSize;
[SerializeField, HideInInspector]
int nodeSize;
pub... |
namespace EcobitStage.DataTransfer
{
public class PrivilegeDTO : DTO
{
public PrivilegeDTO(string Name)
{
this.Name = Name;
}
public string Name { get; set; }
}
} |
using UnityEngine;
using System.Collections;
public class WhaleController : MonoBehaviour {
// Use this for initialization
public float yChange;
public float speed;
public float frameSwitch;
private int count = 0;
void Start () {
}
// Update is called once per frame
void FixedUpdate () {
if (count %... |
using System.Threading.Tasks;
namespace PulsarDevTest_Joushua_sln
{
public class Engineer : EngineerBase
{
private readonly IDatabaseUtility _utility;
public Engineer()
{
_utility = new DatabaseUtility();
}
public string FirstName { get; set; }
pub... |
/*
* 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... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ResumeButton : MonoBehaviour
{
public void Resume()
{
NewOrLoad.Load = true;
SceneManager.LoadScene("Start");
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine.AI;
using UnityEngine;
public class BasicPlayerController : MonoBehaviour {
public Camera cam;
public LayerMask GroundLayer;
[Header("Control Parameters")]
public float JumpHeight;
public float JumpLength;
protect... |
using System;
using Carrot.Messages;
namespace Carrot.Fallback
{
public class DeadLetterStrategy : IFallbackStrategy
{
private readonly Exchange _exchange;
private DeadLetterStrategy(Exchange exchange)
{
_exchange = exchange;
}
public static IFallbackStrate... |
namespace ChesterDevs.Core.Aspnet.App.Jobs
{
public class JobResponse
{
public JobDetail Job { get; set; }
public Status Status { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Console2.From_051_To_75
{
public class _059_RestoreIP
{
/*
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
... |
using BigEndian.IO;
using NUnit.Framework;
using nuru.IO.NUI.Cell;
using nuru.IO.NUI.Cell.Color;
using nuru.IO.NUI.Cell.Glyph;
using nuru.IO.NUI.Cell.Metadata;
using nuru.Unit.Tests;
namespace nuru.IO.NUI.Unit.Tests
{
public class CellReaderTests : ReadWriteBaseTests, IGlyphReader, IColorReader, IMetadataReader
... |
namespace _1.Logger.Core
{
using _1.Logger.Factories;
using _1.Logger.Interfaces;
using System;
public class Controller
{
private FactoryAppender factoryAppender;
public Controller()
{
this.factoryAppender = new FactoryAppender();
}
public void... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Projekt53262
{
public class Przeglad : KontrolaPrasy
{
public List<Prasa> listaPrasy = new List<Prasa>();
private object tytul;
public string Rodzaj { get; pri... |
using UnityEngine;
public class ClimateSystem : MonoBehaviour
{
private Tower thisTower;
[SerializeField]
private Meter _temperature;
/// <summary>
/// The current temperature.
/// </summary>
public Meter temperature { get { return _temperature; } private set { _temperature = value; } }... |
using System;
using System.Collections.Generic;
using System.Linq;
using Sesi.WebsiteDaSaude.WebApi.Interfaces;
using Sesi.WebsiteDaSaude.WebApi.Models;
namespace Sesi.WebsiteDaSaude.WebApi.Repositories
{
public class TipoLocalRepository : ITIpoLocalRepository
{
public void Cadastrar(TiposLocais tipo)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MessagingDemo.Data;
using MessagingDemo.Data.Models;
using MessagingDemo.Web.Models;
using MessagingDemo.Data.Models;
using Microsoft.EntityFrameworkCo... |
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensions.Logging;
namespace WorkflowEngine
{
public static class Workflow
{
[Functio... |
// Copyright 2020 Google Inc. 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 applica... |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using DinoDiner.Menu;
namespace MenuTest.Drinks
{
public class TyrannoteaTest
{
[Fact]
public void ShouldHaveCorrectDefaultPrice()
{
Tyrannotea s = new Tyrannotea();
Assert.Equal(.... |
using System;
using System.Linq;
namespace Linq_Set_Operatoren
{
class Program
{
static void Main(string[] args)
{
// Distinct - Keine Doppelten einträge
Console.WriteLine();
Console.WriteLine("- Distinct -");
string[] cities = { "Aachen", "Köln... |
using UnityEngine;
using System.Collections;
public class JisusGUI : MonoBehaviour {
private float fromx = -7f;
private float tox = -1f;
private bool direction;
// Use this for initialization
void Start () {
direction = true;
}
// Update is called once per frame
void FixedUpdate () {
if (direction && ... |
using CS.Data;
using CS.Tests.TestRepositories;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CS.Tests
{
/// <summary>
/// Summary description for TestBase
/// </summary>
[TestClass]
public class TestBase
{
protected IProductRepository _productRepository;
[Test... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace irc_client.connection.requests {
public class RegisterRequest : AbstractRequest, IRequest {
public const int LOGIN = 0;
public const int PASSWORD = 1;
public const int NICKNAME = 2;... |
using System;
using System.Reactive.Linq;
using System.Windows.Controls;
using FundManagerDashboard.Core.ViewModels;
using ReactiveUI;
namespace FundManagerDashboard.Client.Desktop.View
{
/// <summary>
/// Interaction logic for TotalSummaryView.xaml
/// </summary>
public partial class TotalSummaryView... |
using MediatR;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using OmniSharp.Extensions.DebugAdapter.Protocol.Models;
using OmniSharp.Extensions.DebugAdapter.Protocol.Serialization;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
// ReSharper disable once CheckNamespace
na... |
using System;
using System.IO;
[CustomLuaClass]
public class DUTask
{
private const float InValid_CheckTimeOut = -1f;
protected int _id;
protected int _clonedTimes;
protected float _progress;
protected bool _progressDirty;
protected float _speed;
protected string _url;
protected string _localPath;
pro... |
using UnityEngine;
[CreateAssetMenu(fileName = "Skill", menuName = "Enemy Action/Skill")]
public class EnemyActionUseSkill : EnemyAction
{
[Range(0, 2)]
public int animationToPlay;
public override void Act(EnemyBehaviour behaviour)
{
behaviour.Skill.PlaySkillAnimation(animationToPlay);
}
}... |
using System;
namespace CustomCollection
{
/// <summary>
/// Defines a name/value pair that can be retrieved.
/// </summary>
/// <typeparam name="TName">The type of the key name.</typeparam>
/// <typeparam name="TValue">The type of the value.</typeparam>
[Serializable]
public class NameVal... |
using UnityEngine;
using UnityEngine.UI;
public class TimerStartNotifUI : MonoBehaviour {
[SerializeField]
private int startDelay = 20; // maybe you need to increase the time?
private Text textLabel;
private int counter;
private bool isActive = true;
void Start()
{
... |
using UnityEngine;
using System.Collections;
public interface IBuff {
void calculate(AttributesManager.MidAttributes mid);
System.Guid Guid { get; }
AttributesManager AM { set; }
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//SharpDX namespaces
using SharpDX;
using SharpDX.DXGI;
using SharpDX.Direct3D11;
using SharpDX.D3DCompiler;
// resolve using conflicts
using Buffer = SharpDX.Direct3D11.Buffer;
using... |
using com.nope.fishing;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class ButtonsInGame : MonoBehaviour
{
public static ButtonsInGame instance;
public Button btnThrowCard;
public Button btnBack;
[SerializeField]
... |
using System;
using System.Threading.Tasks;
namespace DeepLearning.MachineLearning.RBM
{
class RestrictedBoltzmannMachine
{
public SymmetricConnection[][] Connections;
public VisibleNeuron[] VisibleNeurons;
public HiddenNeuron[] HiddenNeurons;
public RestrictedBoltzmannMachine... |
// 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.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MechView : MonoBehaviour
{
Animator _animaotor;
MechView()
{
_animaotor = GetComponent<Animator>();
}
}
|
using System;
using System.Runtime.CompilerServices;
namespace NetFabric.Hyperlinq
{
public static partial class ArrayExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Option<TSource> First<TSource>(this in ArraySegment<TSource> source)
=> source.Count sw... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.