text stringlengths 13 6.01M |
|---|
using ISerializable = Sentry.Protocol.Envelopes.ISerializable;
public class RecordingTransport : ITransport
{
private List<Envelope> _envelopes = new();
public IEnumerable<Envelope> Envelopes => _envelopes;
public IEnumerable<ISerializable> Payloads =>
Envelopes
.SelectMany(x => x.Ite... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ToChange.Models
{
public class ImageModel
{
public HttpPostedFileWrapper ImageFile
{
set; get;
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Hayaa.Security.Service.Config
{
class DefineTable
{
/// <summary>
/// SecurityService组件的ID
/// </summary>
public const int SecurityServiceComponetID = 10011;
public const String DatabaseName = ... |
using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MarketingCloud.AutomationStudio.FeedReader.Core.Interfaces;
using MarketingCloud.AutomationStudio.FeedReader.Core.Services;
using MarketingCloud.AutomationStudio.FeedReader.Web.... |
using Assets.Scripts.Models;
using Assets.Scripts.Models.ResourceObjects;
using UnityEngine;
using Random = UnityEngine.Random;
namespace Assets.Scripts.Controllers.InteractiveObjects.MiningObjects
{
public class MiningSulfurRockObject : MiningRockObject
{
public override HolderObject GetResource()
... |
using System.Collections.Generic;
using Tomelt.ContentManagement;
using Tomelt.ContentPicker.Models;
using Tomelt.Core.Navigation.Models;
namespace Tomelt.ContentPicker.ViewModels {
public class NavigationPartViewModel {
public IEnumerable<MenuPart> ContentMenuItems { get; set; }
public Navigation... |
namespace WinAppDriver.UI
{
using System.Windows.Automation;
internal interface IElementFactory
{
IElement GetElement(AutomationElement element);
}
} |
using System;
using System.Drawing;
using System.Threading;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
delegate void SetTextCallback( string text );
CrawlHandler crawler;
Thread crawlThread;
public Form1()
{
InitializeComponent();
}
priva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BELCORP.GestorDocumental.BE.DDP
{
[Serializable]
public class CentroCostoBE
{
public int Id { get; set; }
public string Descripcion { get; set; }
public st... |
using Nethereum.ABI.Model;
using Nethereum.Contracts;
using Nethereum.Hex.HexConvertors.Extensions;
using Nethereum.Hex.HexTypes;
using Nethereum.RPC.Eth.DTOs;
using Nethereum.Util;
using Nethereum.Web3;
using Nethereum.Web3.Accounts;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using Sy... |
using System;
namespace PostExpressGaleb.Models
{
class Posiljka
{
public int PosiljkaId { get; set; }
public int PrimalacId { get; set; }
public decimal Vrednost { get; set; }
public decimal Otkupnina { get; set; }
public decimal Masa { get; set; }
public strin... |
using UnityEngine;
using System.Collections;
public class PlatformRotation : MonoBehaviour {
Quaternion transRotate;
public Transform Platform;
public float ConvertDelta = 1.3f;
private Vector2 CenterScreen;
private Vector2 SavePosition;
private Vector2 CurrentPosition;
private bool Pressed = false;
privat... |
using UnityEngine;
public class GameMask : MonoBehaviour
{
private Transform _mask;
// Use this for initialization
void Start ()
{
_mask = transform.GetChild(0);
if (MyKeys.IsBuyClearDarkness)
{
MyKeys.IsBuyClearDarkness = false;
gameObject.SetActive(fal... |
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Requests.OverlappingTrainingDateRequest;
using SFA.DAS.ProviderCommitments.Web.Extensions;
using SFA.DAS.ProviderCommitments.Web.Models;
using System.Threading.Tasks;
namespace SFA.DAS.ProviderCommitments.Web.Mapp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.Identity.EntityFramework;
using FootballManager.Models;
using System.Data.Entity;
using Microsoft.AspNet.Identity;
namespace FootballManager.DAL
{
public class FMInitializer : DropCreateDatabaseIfModelChang... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Caserraria.Projectiles
{
public class ShockKnifeProj : ModProjectile
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("L... |
using System;
using System.ComponentModel.DataAnnotations;
using static BankDepositLibrary.BankDeposit;
namespace BankDepositProgram
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Task #03. Bank deposit\n");
try
{
Con... |
using Cottle.Functions;
using Cottle.Values;
using EddiCore;
using EddiNavigationService;
using EddiSpeechResponder.Service;
using JetBrains.Annotations;
using System;
using System.Linq;
using Utilities;
namespace EddiSpeechResponder.CustomFunctions
{
[UsedImplicitly]
public class RouteDetails : ICustomFuncti... |
using System;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using HTBExtras;
using HTB.Database;
using System.Collections;
using System.Data;
using HTBUtilities;
using HTB.v2.intranetx.util;
using System.Text;
using System.Web.UI.DataVisualization.Charting;
using System.Reflect... |
// -----------------------------------------------------------------------
// <copyright file="CircularBufferTests.cs" company="Petabridge, LLC">
// Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com>
// </copyright>
// -----------------------------------------------------------------------
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using System.IO;
namespace Snow
{
class History
{
public string Url;
public History(string url)
{
this.Url = url;
}
}
class Histo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BikeDistributor.Data.Common;
namespace BikeDistributor.Data.Entities
{
public class DiscountCode : BaseEntity<int>
{
public virtual string CampainCode { get; set; }
public v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ClipModels
{
public class I_SUBJ3
{
public const int EMPTY_SUBJECT = 0;
public int ID { get; set; }
public string SB3_Kidomet { get; set; }
public int SB3_Subject { get; set; }
... |
using Microsoft.Extensions.Caching.Memory;
using Polly;
using Polly.Caching;
using Polly.Caching.MemoryCache;
using Polly.Timeout;
using System;
using System.Threading;
namespace ConsoleApp1.Model
{
public class PolicyHandler
{
/// <summary>
/// 异常处理
/// </summary>
public void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;
using NHibernate.Cfg;
using Dominio;
using NHibernate.Tool.hbm2ddl;
namespace Repositorios
{
class SingletonSession
{
protected static ISession _session;
public static ISession... |
using System.Dynamic;
namespace BookShop
{
class GoldenEditionBook : Book
{
private decimal price;
private const decimal goldPirce = 1.30M;
public GoldenEditionBook(string title, string author, decimal price) : base(title, author, price)
{
//this.Price = price;
... |
using Alabo.Domains.Entities.Core;
using System.Threading.Tasks;
namespace Alabo.Datas.Stores.Column {
public interface IColumnAsyncStore<TEntity, in TKey> where TEntity : class, IKey<TKey>, IVersion, IEntity {
Task<object> GetFieldValueAsync(object id, string field);
}
} |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Vanara.PInvoke
{
public static partial class Kernel32
{
/// <summary>Retrieves the application-specific portion of the search path used to locate DLLs for the application.</summary>
/// <param name="nBufferLength">The size of the o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Service;
using Telerik.Web.Mvc;
using com.Sconit.Web.Models;
using com.Sconit.Entity.MD;
using NHibernate.Type;
using com.Sconit.Entity.Exception;
using com.Sconit.Utility;
using com.Sconit.Web.M... |
using UnityEngine;
using UnityEditor;
using Ardunity;
[CustomEditor(typeof(HCSR04))]
public class HCSR04Editor : ArdunityObjectEditor
{
bool foldout = false;
SerializedProperty script;
SerializedProperty id;
SerializedProperty trig;
SerializedProperty echo;
void OnEnable()
{
script = serializedObject.Find... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using Tower_of_Hanoi.HanoiUtil;
namespace Tower_of_Han... |
namespace TripDestination.Data.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Models;
using TripDest... |
using System;
namespace RockPaperScissors
{
public class Game
{
private Player _player1;
private Player _player2;
private int _rounds;
public Game(Player player1, Player player2, int rounds)
{
_player1 = player1;
_player2 = player2;
_... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
public class CPlayer3D : MonoBehaviour
{
public float speed = 0.0f;
public float invincibilityDuration = 3.0f;
public float speedUpDuration = 5.0f;
private Rigidbody _rigidbody = null;... |
using System;
namespace Infrostructure.Exeption
{
public class InvalidPaymentMethodExeption:Exception
{
public InvalidPaymentMethodExeption(string message = "نوع روش پرداخت خالی است") : base(message) { }
}
}
|
using System.Collections.Generic;
using System.Linq;
using AutoTests.Framework.Models;
using AutoTests.Framework.Models.Extensions;
using AutoTests.Framework.Web.Binding;
using AutoTests.Framework.Web.Common.Handlers;
namespace AutoTests.Framework.Web.Common.Extensions
{
public static class BinderExtensions
{... |
using AutoMapper;
using FamilyAccounting.BL.DTO;
using FamilyAccounting.BL.Interfaces;
using FamilyAccounting.DAL.Entities;
using FamilyAccounting.DAL.Interfaces;
using System;
using System.Threading.Tasks;
namespace FamilyAccounting.BL.Services
{
public class CardService : ICardService
{
private rea... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HTTPServer.test
{
public class DataHolder
{
static MemoryStream memory = new MemoryStream();
private static int datalength;
public static int ... |
using System.Linq;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Rendering;
using Microsoft.Data.Entity;
using NoteManager.Models;
using Microsoft.AspNet.Authorization;
using System.Security.Claims;
using System;
using System.Collections.Generic;
namespace NoteManager.Controllers
{
[Route("[controller]")]... |
using System;
namespace numberOfDiscIntersections
{
class Program
{
static void Main(string[] args)
{
solution(new int[]{1,5,2,1,4,0});
}
//brute force solution
public static int solutionBrute(int[] A)
{
//return -1 if count exceeds 10,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InsertionSort
{
class Program
{
static void Main(string[] args)
{
int[] numbers = new[] {2, 5, 3, 1, 12, 33, 0, 5};
for (int i = 1; i < numbers... |
using System.ComponentModel.DataAnnotations;
namespace Bloodhound.Core.Model
{
public class EventType
{
public int EventTypeId { get; set; }
[Required, MaxLength(128), Display(Name = "Event Type")]
public string EventTypeName { get; set; }
}
}
|
namespace RosPurcell.Web.Infrastructure.Caching
{
using System.Runtime.Caching;
public interface ICacheStorage
{
void Remove(string key);
T Retrieve<T>(string key);
void Store(string key, object data);
void Store(string key, object data, int cacheForSeconds);
Ca... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.IO;
namespace EC_StateEditor.Model
{
enum Religions
{
christianity,
islam,
buddhism,
judaism,
hinduism,... |
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Fitnesses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SamOthellop.Model.Agents;
namespace SamOthellop.Model.Genetic
{
public class EvaluationFitness : IFitness
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Research.TradingOrder.TranOrder.Output
{
//
// 摘要:
// 支持{ "code": int, "message": string, "data": T }类型
public class JavaResponse<T>
{
public JavaResponse() { }
public int Code { get; set; }
... |
namespace Compiler.TreeStructure.Visitors
{
public interface IAcceptVisitor
{
void Accept(IVisitor visitor);
}
} |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEditor;
public class ProjectileTest : MonoBehaviour
{
private GameObject summoner = AssetDatabase.LoadAssetAtPath<GameObject>("Assets/Prefabs/YP1.prefab");
private GameOb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightingBook.Tests.Api.Product.Dto.CarSelection.Request
{
public class CarSelection
{
public List<Car> Cars { get; set; }
}
}
|
using Allyn.Infrastructure.Api.WeChat.Enties;
using Allyn.Infrastructure.Api.WeChat.Tools;
using LitJson;
namespace Allyn.Infrastructure.Api.WeChat.Account
{
public class AccountMgrApi
{
private static string url = string.Format("https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token={0}", ComA... |
using System;
using System.ComponentModel;
namespace AsyncClasses.EventArgs
{
public class UpdateItemCompletedEventArgs : AsyncCompletedEventArgs
{
#region Public Properties
/// <summary>
/// Gets the data being updated.
/// </summary>
public readonly object Data;
public readonly int Instance;
#endreg... |
using ISE.SM.Common.DTO;
using ISE.SM.Common.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISE.SM.Bussiness.Helper
{
public class UserLogGenerator
{
public UserLogGenerator()
{
}
public stat... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Globalization;
using System.Text;
using System.Web;
using Nature.Common;
using Nature.Data;
using Nature.DebugWatch;
using Nature.MetaData.Entity;
using Nature.MetaData.Manager;
using Nature.MetaData.ManagerMeta;
... |
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Resources;
using System.Windows;
namespace Shimakaze.Toolkit.Csf.Data
{
public static class ResourceHelper
{
private static IEnumerable<string>... |
using System;
struct book
{
private String boo;
private String author;
public void getdetails(String a,String b)
{
boo = a;
author = b;
}
public void display()
{
Console.WriteLine("Book name : {0}", boo);
Console.WriteLine("Book Author : {0}", ... |
using ClearBank.DeveloperTest.Types;
namespace ClearBank.DeveloperTest.Services
{
public class PaymentsValidationService : IPaymentsValidationService
{
private readonly IPaymentValidatorFactory _factory;
public PaymentsValidationService(IPaymentValidatorFactory factory)
{
... |
using System;
using System.Collections.Generic;
using DependencyInjection;
namespace MyPlugin1
{
internal class MyFruitProducer : IFruitProducer
{
public IEnumerable<Fruit> Produce()
{
yield return new Fruit("banana");
yield return new Fruit("orange");
yield... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class SpriteSheet : MonoBehaviour {
[SerializeField]
TextAsset mDescription;
[SerializeField]
Texture2D mTexture;
[SerializeField]
Shader mShader;
public IDictionary<string, SpriteDescription> Sprites { get; private set; ... |
using Alabo.Domains.Services;
using Alabo.Industry.Offline.Order.Domain.Entities;
namespace Alabo.Industry.Offline.Order.Domain.Services
{
public interface IMerchantOrderProductService : IService<MerchantOrderProduct, long>
{
}
} |
using org.ogre;
using PacmanOgre;
public class Program
{
static void Main()
{
var gameSDL = new GameSDL();
gameSDL.initApp();
gameSDL.getRoot().startRendering();
gameSDL.closeApp();
gameSDL.Dispose();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Interactions;
using System.Reflection;
using NUnit.Framework;
namespace TestPracti... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemyAtak : MonoBehaviour
{
public float damage;
public float damageRate;
public float forceAddToPlayer;
float nextDamge;
void Start()
{
nextDamge = 0f;
}
void Update()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// StudentName: Suvashin
/// Student Number: 19003564
/// Module: PROG6212
/// Task: Task1
/// Semester: 2
/// </summary>
namespace BudgetingApp
{
class LifestyleExpense : Expense//l... |
using System;
using FubuCore;
using FubuMVC.Core.Runtime.Files;
namespace FubuMVC.CodeSnippets
{
public class SnippetReader
{
private readonly IFubuFile _file;
private readonly Action<Snippet> _onFound;
private readonly ISnippetScanner _scanner;
private Action<string,... |
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using UniversityDbCommon... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace AudioText.Models.ViewModels
{
public class OrderViewModel
{
public OrderViewModel(List<OrderDetail> orderDetails, string address, string name, int orderId, DateTime date, decimal ordertotal, DateTime orderDate)
{
... |
using Frank.Scheduler.Models.Messages;
using Microsoft.Azure.ServiceBus;
using Newtonsoft.Json;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Frank.Scheduler.Client.ServiceBus.Producers
{
public class SchedulerResponseProducer : ISchedulerResponseProducer
{
public async Task... |
using UnityEditor;
namespace PumpEditor
{
public abstract class EditorWindowWithCloseTabs : EditorWindow, IHasCustomMenu
{
public virtual void AddItemsToMenu(GenericMenu menu)
{
CloseTabsHelper.AddCloseOtherTabsItem(this, menu);
CloseTabsHelper.AddCloseTabsToTheRightIte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
namespace Bus_Stop
{
/// <summary>
/// Summary description for ADOHelper.
/// </summary>
public class ADOHelper
{
Ol... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Wba.StovePalace.Models;
using Wba.StovePalace.Helpers;
using Microsoft.AspNetCore.Http;
namespace Wba.StovePalace.Pages.Users
{
public cl... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace UberApp.Models
{
public class AdminDataAccess
{
public long User(long id)
{
using (SqlConnection connect = new SqlConnection("MyAppDataEntities"))
... |
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT
using System;
namespace gw.proto.http
{
////////////////////////////////////////////////////////////////////////////////
// RFC 6455, 11.7
public enum WebSocketStatus
{
None = 0,
... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace PhotonInMaze.Common {
public class OrderedSet<T> : ICollection<T> {
private readonly IDictionary<T, LinkedListNode<T>> dictionary;
private readonly LinkedList<T> linkedList;
public OrderedSet()
... |
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 FormularioWeb.Classes;
namespace FormularioWeb
{
public partial class TelaPrincip... |
using DemoMediatR.WebApi.Domain;
using MediatR;
using Microsoft.ApplicationInsights;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace DemoMediatR.WebApi.Behaviors
{
public class Teleme... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LightManager : MonoBehaviour {
public Light[] houseLight;
public Material bulbMat;
public Color originalBulbColor;
public Color bulbOffColor;
public Light[] redSpotLight;
// Use this for initialization
... |
using Xunmei.Docs.EntityFrameworkCore;
using Volo.Abp.Modularity;
namespace Xunmei.Docs
{
[DependsOn(
typeof(DocsEntityFrameworkCoreTestModule)
)]
public class DocsDomainTestModule : AbpModule
{
}
} |
using System.ComponentModel;
using Newtonsoft.Json;
namespace Entoarox.AdvancedLocationLoader.Configs
{
internal abstract class TileInfo
{
/*********
** Accessors
*********/
#pragma warning disable CS0649
public string Conditions;
public string MapName;
[Default... |
using System.ComponentModel.DataAnnotations;
namespace Alabo.Industry.Offline.Order.ViewModels
{
/// <summary>
/// MerchantCartViewModel
/// </summary>
public class MerchantCartViewModel
{
/// <summary>
/// 购物车id
/// </summary>
[Display(Name = "购物车id")]
... |
namespace HairSalon.Models
{
public class Client
{
public int ClientId { get; set; } //1st coloumn in "clients" table: primary key in table (NOT used as foreign key in Stylist.cs)
public string Description { get; set; } //2nd coloumn in "clients" table
public int Styli... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class test : MonoBehaviour {
public float angle;
public float sx,sy;
public float ex,ey;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
Vector2 start = new Vecto... |
namespace _02.IEnumerableExtensions
{
using System;
using System.Collections.Generic;
using System.Text;
public class Program
{
public static void Main()
{
var test1 = new List<int>() { 1, 2, 3, 4, 5, 6, 7 };
foreach (var item in test1)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HPYL.Model
{
/// <summary>
/// 医生的名片
/// </summary>
public class MemberCard
{
/// <summary>
/// 诊所名称
/// </summary>
public string ShopName {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AweShur.Core.REST
{
public class GetListRequest
{
public string objectName { get; set; }
public string listName { get; set; }
public string parameter { get; set; }
public ... |
using AutoMapper;
using DashBoard.Web.Helpers;
namespace Services.Tests.Helpers
{
public static class AutoMapperConfig
{
public static readonly MapperConfiguration Config = new MapperConfiguration(cfg =>
cfg.AddProfile<AutoMapperProfile>());
}
}
|
using Chess.Data.Enum;
namespace Chess.Domain
{
public static class PieceValuator
{
public static int GetPieceScoreValue(PieceType type)
{
switch (type)
{
case PieceType.Pawn:
return 100;
case PieceType.Knight:
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio5
{
class MaiorDeTres
{
static void Main(string[] args)
{
{
Console.Write("Digite o primeiro número ");
double A = ... |
using Photon.Pun;
using UnityEngine;
public class Rock : MonoBehaviourPun
{
private Rigidbody2D rb;
private void Awake()
{
rb = GetComponent<Rigidbody2D>();
gameObject.SetActive(false);
}
public void Spawn(Vector3 spawnPosition)
{
photonView.RPC(nameof(SpawnRPC), Rpc... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Inventor;
using Autodesk.DesignScript.Geometry;
using Autodesk.DesignScript.Interfaces;
using Autodesk.DesignScript.Runtime;
using Dynamo.Models;
using Dynamo.Utilities;
using InventorLibrary.Geomet... |
using System;
using System.Linq;
namespace EPI.DynamicProgramming
{
/// <summary>
/// Given a list of N coins, their values (V1, V2, … , VN), and the total sum S.
/// Find the minimum number of coins the sum of which is S (we can use as many coins of one type as we want),
/// or report that it’s not possible to ... |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System.Collections.Generic;
using Poc1;
namespace ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Phenix.Test.使用指南._15._6.Business
{
/// <summary>
/// 出库作业单
/// </summary>
[Phenix.Core.Mapping.ClassAttribute("WGW_DELIVERY_JOB_TICKET_TEST", FriendlyName = "出库作业单"), System.ComponentModel.DisplayNameAttribute("出库作... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Data.Common;
using System.Data;
namespace KartObjects
{
public delegate LT OnNeedLoadDelegate<T, LT>(T sender);
public static class Loader
{
static Loader()
{
... |
using NSTOX.BODataProcessor.Processors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NSTOX.WebService
{
public partial class Debug : System.Web.UI.Page
{
protected void Page_Load(object sender, Even... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManagerSoftware.CoreEngine
{
static class SortAlgorithm
{
//Bubble Sort
public static void BubbleSort(Archive[] arr, int length)
{
Archive repos = n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GAD210.Tutorial6
{
public class PlayerControllerJump3D : PlayerController
{
private Rigidbody _rb;
// Use this for initialization
void Start ()
{
_rb = GetComponent<Rigidbody>();
}
protected override void Pr... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
using FiiiChain.DataAgent;
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.Business
{
publi... |
using EntityFrameworkCore.BootKit;
using Newtonsoft.Json;
using Quickflow.Core;
using Quickflow.Core.Entities;
using Quickflow.Core.Interfacess;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Quickflow.ActivityRepository
{
public class OutputActivity : E... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Acting : MonoBehaviour {
public Animator sondraAnim;
// Use this for initialization
void Start () {
StartCoroutine ("SondraRun");
}
// Update is called once per frame
void Update () {
}
IEnumerator SondraRun ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.