text stringlengths 13 6.01M |
|---|
namespace NDDDSample.Tests.Domain.Model.Handlings
{
#region Usings
using System;
using System.Collections.Generic;
using NDDDSample.Domain.Model.Cargos;
using NDDDSample.Domain.Model.Handlings;
using NDDDSample.Domain.Model.Voyages;
using NUnit.Framework;
using NDDDSample.Domain.Mod... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ComboBoxConfigControlBuilder.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the proje... |
using UnityEngine;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;
public class StackerGame : MonoBehaviour
{
private int[,] board = new int[6, 10];
public GameObject GameCube;
public int SpawnHeight = 0;
private float CubeSize;
private G... |
using IoCContainer.ValueObjects;
using MvcDomain;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MvcIoC.Controllers
{
public class CompanyController : Controller
{
readonly ICompanyRepository repo;
[D... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace DataSturctures
{
partial class Program
{
public enum SupportedDataStructures
{
Array = 1
}
public static IEnumerable<Type> GetDemoClasses() => Assembly.GetExecutin... |
namespace Phonebook.ConsoleCommands.Sanitizers
{
public interface IPhoneSanitizer
{
string Sanitize(string phone);
}
}
|
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
public class GameFrame
{
private readonly ReadOnlyCollection<ISpaceObjectAnimator> items;
public GameFrame(IEnumerable<ISpaceObjectAnimator> items)
{
this.items = items.ToList().AsReadOnly();
}
pub... |
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.Events;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using TechTalk.SpecFlow;
namespace RestfulBookerSpecflowUITests
{
[Binding]
public... |
using UnityEngine;
using UnityEngine.UIElements;
using sugi.cc.ui;
[ExecuteInEditMode, RequireComponent(typeof(UIDocument))]
public class EnumFieldTest : MonoBehaviour
{
public TestEnum enumValue;
private void OnEnable()
{
var root = GetComponent<UIDocument>().rootVisualElement;
var enumC... |
using Converter.Units;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
namespace Converter
{
static class ConvertCounterManager
{
public static string GetConvertionResult(s... |
using System.Collections.Generic;
namespace DocxTemplate
{
public class ContentParser
{
public string Parse(string content, object data)
{
return Replace(content, GetDictionary(data));
}
private static string Replace(string content, Dictionary<string, string> dict)... |
using Microsoft.EntityFrameworkCore;
namespace ReactiveBlogPosts
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions<AppDbContext> options)
: base(options)
{ }
public DbSet<Post> Posts { get; set; }
protected override void OnModelCreating(ModelB... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GetCalculationsCommand.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------... |
using System.Collections.ObjectModel;
namespace VehiclesController
{
public class HandWashFacilities : IWashService
{
public void Wash(out string logs)
{
logs = @"Hand wash facilities has been chosen.
This service is assigned to a motorcycle by default.
The vehicle is washed by em... |
namespace ArkadiumLibrary.ViewModels
{
namespace ContactsBook.ViewModels
{
public static class EventType
{
public static string BookAdded = "AddBook";
public static string BookUpdated = "UpdateBook";
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class PauseMenu : MonoBehaviour
{
public AudioSource bgm;
public GameObject OptionsMenu;
public Text timer;
public void ExitBtn()
{
Application.Qui... |
using System;
using System.ComponentModel.DataAnnotations;
namespace Scheduler.Models
{
public class LiveChat
{
public int Id { get; set; }
[Required]
public string Message { get; set; }
[Required]
public string Sender { get; set; }
[Required]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Threading;
namespace TxHumor.Common
{
public static class UICommonConfig
{
private static int? _SessionExpireSeconds;
public static int SessionExpireSeconds
{
... |
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades
{
public class Portaria
{
[CampoTabela("IDPORTARIA")]
[MaxLength(18)]
public decimal IDPortaria { get; set; }
[CampoTabela("TITULO")]
[MaxLength(250)]
public string Titulo { get; set; }
[CampoTabela(... |
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 Report1 : Form
{
dbFacade db = new dbFacade();
public bool all = false;
pub... |
using UnityEngine;
using System.Collections;
public class PlayerStats : MonoBehaviour
{
private Vector3 _startPosition;
public float health;
public float maxHealth;
public float weaponDamage;
private bool _isAlive = true;
public bool IsAlive { get { return _isAlive; } }
private void St... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace лаба_8
{
class CollectionType<T> : Interface<T> where T : new()
{
private List<T> elements = new List<T>();
public T GetElem(int i)
{
return elements[i];
}
public... |
using System.Globalization;
using System.Windows.Controls;
using BPiaoBao.AppServices.Contracts.Cashbag;
using BPiaoBao.AppServices.DataContracts;
using BPiaoBao.AppServices.DataContracts.Cashbag;
using BPiaoBao.Client.Module;
using BPiaoBao.Client.UIExt;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
usi... |
using AutoMapper;
using HaloHistory.Business.Models.Stats;
using HaloHistory.Business.Models.Stats.Common;
using HaloSharp.Model.Stats.CarnageReport;
using HaloSharp.Model.Stats.CarnageReport.Common;
using Team = HaloHistory.Business.Models.Stats.Common.Team;
using XpInfo = HaloHistory.Business.Models.Stats.Common.XpI... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Requestrr.WebApi.Extensions;
using Requestrr.WebApi.RequestrrBot.Movies;
namespace Requestrr.WebApi.Reques... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LearningEnglishWeb.Services.Dtos
{
public class FileDto
{
public byte[] Content { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PST_BL
{
public class databaseLayer
{
public databaseLayer()
{
// TODO: Add constructor logic here
}
private static string _ConnectionDetails = string.Empty;
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace VideoSite.Web.Controllers
{
/// <summary>
/// Html Pages Getter Controller
/// </summary>
public class HtmlController : Controller
{
/// <summary>
... |
/*Создать Console-приложение:
Реализовать методы и свойства по вариантам (номер варианта соответствует номеру списка группы. Если номер в списке - 16, берем вариант 1, 17 – 2 и т.д.). Для всех вариантов обязательными методами есть Read, ReadLine, ReadKey, Write(). Вариант 8: Beep, BackgroundColor*/
using System;
names... |
/*using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class textureAssignment : MonoBehaviour {
public readonly Color c_color;
// Use this for initialization
void Start () {
c_color = new Color(0, 0, 0, 0);
// (correct renderer and material availability check)
m_texture =... |
//------------------------------------------------------------------------------
// 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 Puppet.Utils.Threading;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Puppet
{
/// <summary>
/// Prefab attribute. Use this on child classes
/// to define if they have a prefab associated or not
/// By default will attempt to load a prefab
/// that has the same... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Roaring
{
public partial class RoaringBitmap
{
public IEnumerator<uint> GetEnumerator()
{
var arrayStore = _arrayStore;
var bitmapStore = _bitmapSt... |
// Accord Core Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as publish... |
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 Computer_Graphics_Project
{
public partial class Form1 : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FeedBackPlatformWeb.Models.Surveys
{
public class SurveyItem
{
public int SurveyId { get; set; }
public string SurveyName { get; set; }
public string SurveyCategory { get; set; }
publ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
public class Misc
{
public Misc()
{
Data = new Dictionary<string, string>();
}
public Dictionary<string, string> Data { get; set; }
}
}
|
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Tekstomania.Mobile.Core.Models;
using Tekstomania.Mobile.Core.Services.Interfaces;
namespace Tekstomania.Mobile.Core.Services
{
[Android.Runtime.Preserve(AllMembers = true)]
public class HttpService : IHttpService, IDi... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
using System.IO;
using UnityEditor.SceneManagement;
public class SceneLoader : Editor
{
static string scenesDirectoryPath = "Assets/Scenes";
static string[] scenesPaths;
pu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
using System.Linq;
namespace CTDLGT.Danh_sách_liên_kết
{
public class SV : IComparable<SV>
{
string tensv;
public string Tensv
{
... |
using UnityEngine;
using System.Collections.Generic;
public class ReelController : MonoBehaviour
{
public float rotSpeed = 1.0f;
int numIcons = 5;
public bool rotating = false;
public Renderer meshRenderer;
public float finalAngle;
public Quaternion initRot;
Vector3 center;
public string[] iconReel;
... |
using Newtonsoft.Json;
namespace Points.Shared.Dtos
{
public class Place
{
[JsonProperty(PropertyName = "place_id")]
public string PlaceId { get; set; }
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonProperty(PropertyName = "icon")]
... |
namespace CloneDeploy_Entities.DTOs.FormData
{
public class CheckInTaskDTO
{
public string computerId { get; set; }
public string taskType { get; set; }
}
} |
/* 7. Write an expression that checks if given positive integer number n (n ≤ 100) is prime. E.g. 37 is prime. */
using System;
using System.IO;
class IsPrimeNumber
{
static void Main()
{
int number = 37;
int numberSquareRoot = (int)Math.Sqrt(number);
int counter = 2;
bool isP... |
using CleanArch.Domain.Models;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CleanArch.Application.ViewModels
{
public class ProductViewModel
{
public int ProductId { get; set; }
pub... |
namespace Plus.Communication.Packets.Outgoing.Handshake
{
internal class AvailabilityStatusComposer : MessageComposer
{
public AvailabilityStatusComposer()
: base(ServerPacketHeader.AvailabilityStatusMessageComposer)
{
}
public override void Compose(ServerP... |
using System;
using System.Threading;
using System.Threading.Tasks;
using ProWritingAid.SDK.Client;
using ProWritingAid.SDK.Model.Async;
using System.Diagnostics;
namespace ProWritingAid.SDK.Api.Async
{
public interface IAsyncApi<TRequest, TResponse, TWrapper> : IApiAccessor
where TRequest : class
... |
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 Section1 {
public partial class Form1 : Form {
public Form1() {
Initia... |
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Transactions;
using Zhouli.BLL.Interface;
using Zhouli.Common.ResultModel;
using Zhouli.DAL.Interface;
using Zhouli.DbEntity.Models;
using Zhouli.Dto.ModelDto;
using Zhoul... |
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Meziantou.Analyzer.Internals;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Synta... |
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.IO;
namespace WindowsFormsApp1
{
public partial class frmReport : Form
... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
namespace EnhancedEditor
{
/// <summary>
/// Displays a color palette selection system below this field,
/// which can be used to eas... |
using System.Collections.Generic;
using LTP4C2.Models;
namespace LTP4C2.Repository
{
public class MockProdutoRepository : IProdutoRepository
{
private static List<Produto> _produtos = new List<Produto>() { new Produto { Nome="Carro",Descricao="peneus de alto desepenho paralamas altos com teto q... |
namespace Factory.Library.Ingredients.Sauces
{
public class PlumTomatoSauce :ISauce
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Spline
{
[AddComponentMenu("Spline/Spline Decorator")]
[RequireComponent(typeof(BezierSpline))]
public class SplineDecorator : MonoBehaviour
{
private BezierSpline path;
[Tooltip("Number of items ... |
using bitirme.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Web;
using System.Web.Mvc;
namespace bitirme.Controllers
{
public class userController : Controller
{
... |
using DataAccessLayer.basis;
using Model.DataEntity;
using Model.InvoiceManagement.enUS;
using Model.InvoiceManagement.ErrorHandle;
using Model.InvoiceManagement.InvoiceProcess;
using Model.InvoiceManagement.Validator;
using Model.Locale;
using System;
using System.Collections.Generic;
using System.Data;
using System.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tivo.Hmo
{
public static class ContentTypes
{
public const string VideoContainer = "x-tivo-container/tivo-videos";
public const string FolderContainer = "x-tivo-container/folder";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SiscomSoft.Models
{
[Table("Precios")]
public class Precio
{
[Key]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringTest
{
class Program
{
static void Main(string[] args)
{
String s = "Hello CSharp";
Console.WriteLine(s[0]);
Console.WriteLine... |
using SearchFood.SearchFoodServiceReference;
using SearchFood.Webservices;
namespace SearchFood.Model
{
public class Services
{
SearchFoodServiceClient _client;
public CategoriesCad _categories { get; set; }
public CommentairesCad _commentaires { get; set; }
public HistoriqueC... |
namespace coffeeSalesManag_CompApp.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class manageSaleTableAdded : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.ManageSales",
c => new
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mnozina {
class Set {
List<int> elements { get; set; }
public Set() {
this.elements = new List<int>();
}
public Set(int[] elements) {
this.elements = new List<int>(... |
///////////////////////////////////////////////////////////////////////////////
// File name: LoadingScreen
//
// Purpose: Displays a Loading Screen and loads theh next scene in the background
//
// Related Files: LoadLoadingScreen.cs
//
// Author: Justin DaSilva
//
// Created: 5/7/20
//
// Last Modified: 5/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
//Task 9
namespace RemoveAllOddLines
{
class Program
{
static void Main(string[] args)
{
string fileName = "Text file.txt";
List<string... |
using System;
using System.Runtime.InteropServices;
namespace Pbkdf2PsuedoHandleBench
{
internal partial class BCrypt
{
[DllImport(nameof(BCrypt), CharSet = CharSet.Unicode)]
internal static extern int BCryptOpenAlgorithmProvider(out IntPtr phAlgorithm, string pszAlgId, string pszImplementation... |
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;
using NETGeographicLib;
namespace Projections
{
public partial class RhumbPanel : UserControl
{
Rhumb m_r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace SortWords
{
class SortWords
{
static void Main(string[] args)
{
Console.Write("Write a sequence of words,... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Male : Human
{
public static List<Male> Singles;
new void Start()
{
base.Start();
}
void Update()
{
}
public new static void OneTimeIni()
{
Singles = new List<Male>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Project3.Classes.Arrays
{
public sealed class VShapedArray : ArrayBase
{
public VShapedArray()
{
Name = "VShaped Array";
}
pub... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GlobalDevelopment.SocialNetworks.Facebook.Models
{
public class FacebookStoryAttachment
{
public string Description { get; set; }
... |
namespace TQVaultAE.Domain.Entities
{
/// <summary>
/// Class to encapsulate the actual record information from the file.
/// Also does the decoding of the raw data.
/// </summary>
public class RecordInfo
{
/// <summary>
/// Offset in the file for this record.
/// </summary>
public int Offset;
/// <s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ColourChanger : MonoBehaviour
{
public Renderer rend;
// Whenever you subscribe a method to an event,
// you must always have a corresponding unsubscribe.
// Failing to do so can result in errors or memory leak... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task3
{
class Student:Person
{
// public List<Subject> subjects { get; set; }
public int Group { get; private set; }
public int Phone { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using WebApplication1.DAL;
using WebApp... |
using System;
using System.Collections;
using Server.Items;
using Server.ContextMenus;
using Server.Misc;
using Server.Network;
namespace Server.Mobiles
{
public class YoungThug : BaseCreature
{
private DateTime m_DecayTime;
private Timer m_Timer;
public override bool AlwaysAttackable{ get{ retu... |
//
// 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;
using System.Data.SqlTypes;
using System.Globalization;
using Telerik.Web.UI;
#endregion
namespace DotNetNuke.Web.UI.WebCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SKT.WMS.WMSReport.Model;
using SKT.WMS.WMSReport.BLL;
namespace SKT.MES.Web.WMSReport
{
public partial class WMSCurrentStockList : BasePage
{
protected void ... |
using System;
using Semon.Yahtzee.Rules;
using Semon.Yahtzee.Rules.Partials;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Semon.Yahtzee.Test.Rules
{
[TestClass]
public class TestFullRules
{
[TestMethod]
public void TestPairs()
{
var values ... |
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Octokit;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using ZenHub.Models;
using ZenHub.Pipeline;
namespace ZenHub
{
public class ZenHubEpicClient : Client
{
... |
namespace MonoGame.Extended.NuclexGui.Controls.Desktop
{
/// <summary>
/// Interface which can be established between a control and its renderer to
/// allow a slider control to locate its thumb
/// </summary>
/// <remarks>
/// A renderer can implement this interface and assign it ... |
using Dapper;
using DateTimeExtensions;
using FastSQL.Sync.Core.Enums;
using FastSQL.Sync.Core.Models;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
namespace FastSQL.Sync.Core.Repositories
{
public class ReporterRepository : BaseGeneri... |
using System;
using System.IO;
using PhysicalCache;
using PhysicalCache.Items;
namespace Tests
{
class Program
{
static void Main(string[] args)
{
var cache = new PhysicalCache.PhysicalCache();
Console.WriteLine(((DateTimeOffset)cache.Get("client")?.CreationTimeUtc).To... |
using System;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class WorldTrashform : MonoBehaviour
{
public Vector3 Position;
public Vector3 RotationEuler;
public Quaternion Rotation;
public Vector3 Scale;
protected void Update()
{
Position = transform.... |
using System.IO;
namespace Asm.Assembler
{
public static class StreamExtensions
{
public static void Emit8(this Stream s, byte v)
{
s.WriteByte(v);
}
public static void Emit16(this Stream s, short v)
{
s.WriteByte((byte)(v & 255));
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Twinfield_NewFramework
{
public static class CommonCode
{
public static T Random<T>(this IEnumerable<T> list)
{
if (list == null || list.Count() == 0) retur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.CompilerServices;
using ERP_Palmeiras_LA.Core;
using ERP_Palmeiras_LA.Models;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Validation;
using System.Diagnostics;
using System.Data.Entity.In... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCodeCSharp
{
public class _008_BuyStockIII
{
/*
* http://leetcode.com/onlinejudge#question_123
*/
public int BuyStock(int[] input)
{
... |
//
// 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.UI.Modules
{
/// -----------------------------------------------------------------------------
/// Project : DotNetNuke
... |
// 01. Disciplines have name, number of lectures and number of exercises.
namespace SchoolClasses
{
public class Discipline : NamedWorldObject
{
public Discipline(string name, int lectures, int exercises)
: base(name)
{
this.NumberOfLectures = lectures;
this... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ballScript : MonoBehaviour
{
public GameObject ballPrefab; //ボールのプレハブ
public Sprite[] ballSprites; //ボールの画像のリスト
private GameObject firstBall; //最初にドラッグしたボール
List<GameO... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SandboxFirstPerson : BasicFirstPerson
{
[SerializeField] private Transform _secondYou;
[SerializeField] private Transform _secondYouSplitLocation;
protected override void Update()
{
base.Update();
... |
namespace Bodoconsult.Core.Web.Mail.Model
{
/// <summary>
/// Contains mail config for sending
/// </summary>
public class MailAccount
{
private string _accountName;
/// <summary>
/// SMTP server (IP or fullyqualified DNS name) to use for sending mails.
/// </summar... |
using System.Collections.Generic;
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public Sprite[] cardFaces;
public Sprite cardBack;
public GameObject[] cards;
public Text scoreText, accuText;
public GameObject dataLogger;
private b... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class RePlay : MonoBehaviour
{
private GameObject ground;
public void OnClick()
{
Rigidbody player = GameObject.FindGameObjectWithTag("Player").GetComponent<Rigidbody>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace bt
{
public partial class Thanhtoan : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using Autodesk.AutoCAD.ApplicationServices;
using GalaSoft.MvvmLight;
using System;
namespace AcHelper.WPF.Themes
{
/// <summary>
/// ThemeHandler will keep track of the AutoCAD theme changes.
/// </summary>
public partial class ThemeManager : ObservableObject
{
#region Constants ...
... |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the source repository root for license information.
using System;
using System.Collections.Generic;
using Vipr.Core.CodeModel;
using Vipr.T4TemplateWriter.Extensions;
using Vipr.T4TemplateW... |
using cataloguehetm.Models;
using cataloguehetm.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace cataloguehetm.Controllers
{
public class CatalogueController : Controller
{
private Dal dal = new Dal();
// GET: Cata... |
using System.Collections.Generic;
namespace MonoGame.Extended.Tiled
{
public class TiledMapProperties : Dictionary<string, string>
{
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.