text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace IO2.Model
{
public interface INoteRepository
{
void SerializeNotes(IEnumerable<Note> notes, string filename);
IEnumerable<Note> ... |
using LuizalabsWishesManager.Domains.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace LuizalabsWishesManager.Domains.Services
{
public interface IWishService : IServiceBase<Wish>
{
Wish GetById(int wishId, int page, int pageSize);
void Delete(int userId, int... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class DUO_MenuScene : MonoBehaviour
{
[SerializeField] private AudioSource ButtonSE;
void Start()
{
FadeManager.FadeIn();
}
bool isCalledOnce = false;
public void O... |
using BPiaoBao.Common.Enums;
using JoveZhao.Framework;
using Microsoft.AspNet.SignalR.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JoveZhao.Framework.Expand;
namespace BPiaoBao.Common
{
public class WebMessageManager
{
private static WebMessageMan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace SearchEngine.WebApp.Helpers
{
public static class TaskExtensions
{
public static List<Task<T>> OrderByCompletion<T>(this IEnumerable<Task<T>> source)
{
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace TP_Groupe.Models
{
public class Secteur
{
[Key]
public int Id { get; set; }
public string Nom { get; set; }
public ICollection<Etagere> Etageres { get; set; }
}
}
|
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Project_NotesDeFrais.Models;
using Project_NotesDeFrais.Models.NoteDeFraisModel;
using Project_NotesDeFrais.Models.Reposirery;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mv... |
using System;
using UnityEngine;
using Zenject;
using RektTransform;
namespace uMVC
{
public static class Extensions
{
/*
public static void ToPrefab<T>(this BinderGeneric<T> binder, String prefabLocation) where T : UnityEngine.Object {
binder.ToMethod((ctx) => {
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour {
private int damage;
private float speed = 3f;
private Vector3 direction;
// Use this for initialization
void Start ()
{
GameObject pistol = GameObject.Find("Pistol"... |
using System;
using System.Data;
using System.Text;
using System.Collections.Generic;
using Maticsoft.DBUtility;//Please add references
namespace PDTech.OA.DAL
{
/// <summary>
/// 数据访问类:VIEW_ARCHIVE_FILE_TASK
/// </summary>
public partial class VIEW_ARCHIVE_FILE_TASK
{
public VIEW_ARCHIVE_FILE_TASK()
{}
#re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using CTCT.Util;
namespace CTCT.Components.EventSpot
{
/// <summary>
/// Payment summary
/// </summary>
[DataContract]
[Serializable]
public class PaymentSummary : Componen... |
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Xml;
namespace BeliefEngine.HealthKit
{
/*! @enum QuantityType
@ingroup Enumerations
@brief denotes whether a Quantity is cumulative, or discrete
*/
public enum QuantityType {
cumulative, discrete
}
/*! @brief Wrapper around HKQuanti... |
using System.Collections.Generic;
namespace MooshakPP.Models.ViewModels
{
public class CreateUserViewModel
{
public List<ApplicationUser> allUsers { get; set; }
public List<ApplicationUser> newUsers { get; set; }
public bool[] isTeacher { get; set; }
public ApplicationUser curr... |
using Catalogo.Domain.Entities;
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Catalogo.Domain.Repositories
{
public interface IRepository<T> where T : EntityBase
{
IQueryable<T> Get();
Task<T> GetById(Expression<Func<T, bool>> predicat... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataModel
{
public class Table
{
[Key]
public int Number { get; set; }
public string State { get; set; }
p... |
using System.Text;
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System.Net.Http;
using System.Drawing;
using System.Collections.ObjectModel;
using System.Xml;
using System.ComponentModel;
using System.Reflection;
namespace LinnworksAPI
{
[Serializab... |
namespace TNBase.Infrastructure.Extensions
{
public static class IntegerExtensions
{
public static string WithSuffix(this int value)
{
string number = value.ToString();
if (number.EndsWith("11") || number.EndsWith("12") || number.EndsWith("13")) return number + "th";
... |
using UnityEngine;
using System.Collections;
using System.IO;
public class Utils {
private static string[] m_CategoryName = {"Geographies", "Science", "Art", "History", "Sports", "Entertainment"};
public static string CategoryIndexToString(int index)
{
return m_CategoryName[index]... |
using Telegram.Bot.Types.ReplyMarkups;
namespace CCCP.Telegram.Core
{
public static class Keyboards
{
public static readonly ReplyKeyboardMarkup Default = new[]
{
new[] { "1", "2", "3" },
new[] { "4", "5", "6" },
};
public static readonly ReplyKeyboardM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace AusyWebService
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "AusyService" in code, svc and config file toget... |
using Klimatkollen.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Klimatkollen.Data
{
public class MockUserRepository : IUserRepository
{
public void AddPerson(Person person)
{
throw new NotImplementedException();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyAI : MonoBehaviour {
private Rigidbody2D rbody;
[Header("PathPoint")]
public GameObject[] pathpoint;
[Header("Enemy Status")]
public float speed;
public int targetpoint;
// Use this for initialization
... |
namespace Models
{
using System.ComponentModel.DataAnnotations;
public class usermodel
{
[Display(Name = "User")]
[Required(ErrorMessage = "Enter user name")]
public string UserName { get; set; }
[Display(Name = "User")]
[Required(ErrorMessage = "Enter... |
using FISCA;
using FISCA.Presentation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CreateRange
{
public class Program
{
[MainMethod()]
static public void Main()
{
RibbonBarItem stud = FISCA.Pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[System.Serializable]
public class PlayerBoundary
{
public float xMin, xMax;
}
public class MoveByTouch : MonoBehaviour
{
public GameObject score;
private AddScore addScore;
public PlayerBoundary boun... |
/*SOLUTION
*Since the digits are stored in reverse ,we can solve this problem by traversing both the lists and
* adding its value(just like adding any two numbers manually).If the sum exceeds 10,store only the last
* digit and carry to the next sum and repeat the process.
*/
using System;
using System.Collecti... |
using System.Collections.Generic;
using System.IO;
using FlipLeaf.Core;
namespace FlipLeaf
{
public interface IStaticSite
{
SiteConfiguration Configuration { get; }
string RootDirectory { get; }
string InputDirectory { get; }
string OutputDirectory { get; }
IDictio... |
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.Reflection;
namespace Idenz.Core.Windows.UI
{
public partial class frmMain : Form
{
private List<Core.Cor... |
using System;
using System.Windows.Forms;
namespace SnipForMammal
{
public partial class Settings : Form
{
public Settings()
{
InitializeComponent();
textBoxSettingsOutputFormat.Text = Global.outputFormat;
textBoxSettingsInternalAPIUpdateInterval.Text = Glo... |
using System.Web.Mvc;
using Musher.EchoNest.Services;
using Musher.Web.Models;
namespace Musher.Web.Controllers
{
public class ArtistsController : Controller
{
private readonly IArtistService _service;
public ArtistsController(IArtistService service)
{
_service = service;
... |
using System;
using System.Globalization;
using System.Linq;
namespace OmniGui
{
public struct Thickness
{
public Thickness(double uniformLength)
{
Left = Top = Right = Bottom = uniformLength;
}
public double Left { get; set; }
public double Top { get; set; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace solution1
{
class CategorieBien
{
//un chngement
// sofiane
// TODO : qddssd
// encore
// un deu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Rafy.MetaModel.Attributes;
using Rafy;
using Rafy.Reflection;
using System.ComponentModel;
namespace Rafy.Utils
{
/// <summary>
/// 枚举值的逻辑视图
/// </summary>
public class EnumViewModel
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using reverseJobsBoard.Models;
namespace reverseJobsBoard.Controllers
{
[Route("api/UserData")]
public class UsersController : Controller
{
[HttpGet("[action]")... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using OrderService.Filters;
using OrderService.Models;
using OrderService.Repositories;
namespace OrderService.Controllers
{
[Route("api/[controller]/[... |
using Microsoft.EntityFrameworkCore;
using SimpleApiService.Domain;
using SimpleApiService.Domain.Context;
using SimpleApiService.Domain.Enums;
using SimpleApiService.DTO;
using SimpleApiService.Exceptions;
using SimpleApiService.Service.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
usi... |
using System;
namespace _016_ClassiAstratte_FigureSolide {
class Program {
static void Main(string[] args) {
Solido s1 = new Sfera(10, 5);
Solido c1 = new Cubo(15, 9);
Console.WriteLine(s1);
Console.WriteLine(c1);
}
}
} |
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class Main : MonoBehaviour
{
private void Start()
{
Debug.Log("Start Called");
UserDetails newUser = new UserDetails( "newDeveloper", "gameOff2020");
//Register the new User
RegisterClicked(newUser);
string json = File.ReadAll... |
using System;
namespace MvcApplication.Business
{
public class EnvironmentWrapper : IEnvironment
{
#region Properties
public virtual string MachineName => Environment.MachineName;
public virtual string NewLine => Environment.NewLine;
#endregion
}
} |
using System;
using System.Collections.Generic;
using System.Web.Security;
using System.Web.UI.WebControls;
using System.Linq;
public partial class UserControls_ucUserInfoList : System.Web.UI.UserControl
{
PDTech.OA.BLL.USER_INFO bll = new PDTech.OA.BLL.USER_INFO();
protected void Page_Load(object sender, Eve... |
using CsvParser.Tests.Models;
using System.Collections;
using System.Collections.Generic;
using System.IO;
namespace CsvParser.Tests
{
public class TestDataGenerator : IEnumerable<object[]>
{
public static IEnumerable<object[]> GetCsvFileReaderTestData()
{
string directory = Direc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SnakeGame
{
public class Border : GameElement
{
public int Height { get; set; }
public int Wight { get; set; }
public Position StartPosition { get; set; }
... |
// using System;
// using System.Text;
// using System.Collections.Generic;
// namespace DeckCards
// {
// class Program
// {
// static void Main(string[] args)
// {
// Console.Beep();
// // string name1 = Console.ReadLine();
// // string name2 =... |
using LibSelection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace RgxC.Translators
{
public class SimpleASTranslator : ASTranslator
{
#region regexes
/// <summary>
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game
{
class Savasci : Karakter
{
public Savasci(string a)
{
Guc = 12;
Cevik = 11;
Zeka = 10;
Yasam = 30;
En... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace encrypt
{
class Program
{
static void Main(string[] args)
{
using (var db = new MyContext3())
{
// Create... |
using UnityEngine;
using System.Collections;
public class Egg : MonoBehaviour {
public float MaxVelocity = 0.15f;
private float m_lastVelocity = 0.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void FixedUpdate () {
m_lastVelocity = t... |
using System.Collections.Generic;
namespace Socialease.Models
{
public interface ISocialRepository
{
bool SaveAll();
IEnumerable<PingType> GetAllPingTypes();
void AddPingType(PingType pingType);
Person GetPersonById(int id, string name);
void AddPerson(Person person);... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GamePanel : MonoBehaviour
{
[SerializeField]
private Transform root;
[SerializeField]
private Game game;
[SerializeField]
private QuizButton quizButton;
[SerializeField]
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Reflection;
using Harmony;
class infAmmo : MonoBehaviour
{
private void Update()
{
if (wepMan != null)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Buffers.Utilities;
namespace Buffers.Devices
{
public class TraceLogDevice : BlockDeviceBase
{
private readonly string path;
private readonly StreamWriter writer;
public TraceLogDevice(string path)
{
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Net;
using System.Web;
namespace DotNetNuke.Entities.Host
{
/// <summary>
/// IServerWebRequestAdapter used to get server's info whe... |
namespace SwaggerDocs
{
public class SwaggerConfig
{
public SwaggerEndpoint[] Endpoints { get; set; }
}
public class SwaggerEndpoint
{
public string Nome { get; set; }
public string Url { get; set; }
}
}
|
using UDM;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using Moq;
using System.Linq;
namespace TestUDM
{
/// <summary>
///This is a test class for TableTest and is intended
///to contain all TableTest Unit Tests
///</summary>
[TestC... |
// Accord Math 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.Data;
using TLF.Business.WSBiz;
using TLF.Framework.Config;
namespace TLF.Framework.Utility
{
/// <summary>
/// 물류이동시스템(PMMS)에서 사용할 Code Util Method를 정의합니다.
/// </summary>
/// <remarks>
/// 2009-10-20 최초생성 : 김정우(삼성전기)
/// </remarks>
public class PmmsCodeUtil
{
#reg... |
//Problem 16. Date difference
//Write a program that reads two dates in the format: day.month.year and calculates the number of days between them.
using System;
using System.Globalization;
namespace Problem16DateDifference
{
class DateDifference
{
static void Main()
{
DateTime dt... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace market_takip
{
public partial class Form9 : Form
{
public Form1 frm1;
public Form9()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace irc_client.session {
public class IRCMessage {
public string Text { get; }
public bool IsItMe { get; }
public IRCMessage(string text, bool isItMe) {
this.IsItMe = isItMe;
th... |
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 project_pizza_ordering
{
public partial class frmMenuOrder : Form
{
... |
using System;
namespace MCC.Youtube
{
public class VideoListResponse
{
public string kind { get; set; }
public string etag { get; set; }
public Item[] items { get; set; }
public Pageinfo pageInfo { get; set; }
public int pollingIntervalMillis { get; set; }
publi... |
namespace Grimoire.Networking
{
public class Message
{
public string RawContent { get; set; }
public string Command { get; set; }
public bool Send { get; set; } = true;
}
}
|
using SGDE.Domain.Entities;
using System;
using System.Collections.Generic;
namespace SGDE.Domain.Repositories
{
public interface IWorkBudgetRepository
{
List<WorkBudget> GetAllLite(int workId = 0);
List<WorkBudget> GetAll(int workId = 0, int workBudgetDataId = 0);
WorkBudget GetById(i... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using WindowsFormsApplication2;
namespace YongHongSoft.YueChi
{
public partial class FormOutMap : Form
{
public FormOutMap()
{
InitializeComponent();
//123
}
pr... |
/*
* 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.0.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using APIHealthChecker.Models;
namespace APIHealthChecker.Services
{
public class EndPointTestService
{
public EndPointTestService()
{
}
public static async Task<TestResult> Te... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using tainicom.Aether.Physics2D.Dynamics;
using tainicom.Aether.Physics2D.Dynamics.Contacts;
using tainicom.Aether.Physics2D.Collision;
using MonoGame.Extended;
using System;
using Spine;
using Penumbra;
public class Player : PhysicsEntity, ISkelet... |
#region Copyright and license
// <copyright file="Collection.cs" company="Oliver Zick">
// Copyright (c) 2016 Oliver Zick. All rights reserved.
// </copyright>
// <author>Oliver Zick</author>
// <license>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;
namespace PDTech.OA.DAL
{
public class PageDescribe
{
/// <summary>
/// 当前页索引
/// </summary>
public int CurrentPage { get; set; }
/// <summary>
/// 当... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Mercadeo
{
public class PreciosDetDao : GenericDao<InvListaPrecioDet>, IPreciosDetDao
{
}
}
|
using System.ComponentModel.DataAnnotations;
using Dentist.Models.Tags;
namespace Dentist.ViewModels
{
public class PatientViewModel : PersonViewModel,IModelWithId
{
[Display(Name="Practice")]
public int PatientViewPracticeId { get; set; }
public bool IsDoctor
{
ge... |
using System.Text;
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System.Net.Http;
using System.Drawing;
using System.Collections.ObjectModel;
using System.Xml;
using System.ComponentModel;
using System.Reflection;
namespace LinnworksAPI
{ [JsonConverter(... |
using System.Threading.Tasks;
using Meziantou.Analyzer.Rules;
using TestHelper;
using Xunit;
namespace Meziantou.Analyzer.Test.Rules;
public sealed class DontUseDangerousThreadingMethodsAnalyzerTests
{
private static ProjectBuilder CreateProjectBuilder()
{
return new ProjectBuilder()
.Wit... |
using System;
using Xunit;
using MaybeSharp;
using MaybeSharp.Extensions;
namespace Maybe.Sharp.Tests
{
public class MaybeConversionTests
{
[Fact]
public void Maybe_ImplicitCastFrom_NullToMaybeIsEmpty()
{
Maybe<int?> a = null;
Assert.True(a.IsEmpty);
Assert.False(a.HasValue);
}
[Fact]
public v... |
namespace LeaveRequestApp.Models.Migrations
{
using System;
using System.Data.Entity;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
internal sealed class Configu... |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
namespace Scacchi {
public class CCEManipulator {
public CCEManipulator() {
}
static Process CCE;
public static void StartCCE(string path) {
ProcessStartInfo CCEStartInfo = new ProcessS... |
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 MySql.Data.MySqlClient;
using System.IO;
namespace WindowsFormsApplication1
{
pu... |
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.Ports;
using SerialDevicesWin.Helpers;
using Fleck2;
using Fleck2.Interfaces;
using Ne... |
using System.Threading.Tasks;
namespace Mediati.Core
{
/// <summary>
/// Base level abstraction handler designation shared by commands, queries and events
/// </summary>
/// <typeparam name="TMessage">The command, event or query that is processed by the handler</typeparam>
/// <typeparam name="TRet... |
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Dynamic;
using System;
namespace prjCapelo.Models
{
[Table("Aluno")]
class Aluno
{
public Aluno()
{
Pessoa = new Pessoa();
}
[Key]
public int M... |
using System;
namespace SharpPcap.Util
{
/// <summary>
/// NumberRange
/// </summary>
public abstract class NumberRange
{
virtual public long CurrentNumber
{
get
{
return current;
}
set
{
th... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Caminho;
using Caminho.Loaders;
using System.IO;
using System.Text;
public class CaminhoUnityEngineLoader : ICaminhoEngineLoader
{
bool ICaminhoEngineLoader.Exists(string file)
{
return true;
}
Stream ICaminh... |
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 DAL;
using BUS;
using System.Data.Linq;
using System.Net;
using System.Globalization;
using System.... |
using Autofac;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BusinessLogic.Year1.DI
{
public class Year2Module : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterAssemblyTypes(ThisAssembly... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IdleState : StateMachineBehaviour
{
Rigidbody m_body;
override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
{
m_body = animator.gameObject.GetComponentInPar... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
public float speed = 3;
public GameObject explosion;
public GameObject bolt;
float timer = 0;
public float timeBetweenShots = 0.5f;
// Start is called before the ... |
namespace W3ChampionsStatisticService.WebApi.ExceptionFilters
{
public class ErrorResult
{
public string Error { get; }
public ErrorResult(string error)
{
Error = error;
}
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Net;
using System.Web.Mvc;
using System.Xml.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using TelerikAcademyRss.Models;
namespace TelerikAcademyRss.Controllers
{
public class HomeController : Controller
{
... |
using Lib.Refactor.Enums;
using Refactor.Repository.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Refactor.Repository.Factorys
{
public class SupplierFactory
{
public static ISupplierRepository Generate(Supplier... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FaceBookQuestions
{
public class _004_2DArrayIn1DArray
{
/*
* 用一个数组来表示二维数组,但是每一行的元素个数可以不同,实现get,set函数
* http://www.mitbbs.com/article_t/JobHunting/32268547.ht... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
namespace qmaster
{
public partial class login : System.Web.UI.Page
{
int RowCount, id;
strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Sound : MonoBehaviour
{
private AudioSource audioSource;
private AudioClip walk;
public AudioClip au_idle, au_walk, au_jumpLand, au_buttonWall, au_wingFlap;
public AudioClip au_boxPush;
void Start()
{
... |
using System;
namespace Plugin.HttpTransferTasks
{
public static partial class CrossHttpTransfers
{
static IHttpTransferTasks current;
public static IHttpTransferTasks Current
{
get
{
if (current == null)
throw new ArgumentEx... |
namespace E01_NumberOfOccurrences
{
using System;
using System.Collections.Generic;
public class StartUp
{
public static void Main(string[] args)
{
var testSequence = new double[] { 3, 4, 4, -2.5, 3, 3, 4, 3, -2.5 };
Console.WriteLine("The sequence is: {0}", st... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApp1
{
class Player
{
public int CurrentHealth { get; set; }
public List<String> Items { get; set; }
public Location Location { get; set; }
int width;
int height;
public void I... |
using UnityEngine;
[CreateAssetMenu(fileName = "GameItem", menuName = "Items/GameItem")]
public class GameItem : ScriptableObject
{
public Sprite icon;
public int value;
public string displayName, description;
}
|
using System.Threading.Tasks;
using Amazon.Lambda.Core;
using Epsagon.Dotnet.Instrumentation;
namespace Epsagon.Dotnet.Lambda {
public abstract class LambdaHandler<TEvent, TRes> {
public LambdaHandler() {
EpsagonBootstrap.Bootstrap();
}
/// <summary>
/// in a derived... |
using UI;
using UnityEngine;
using UnityEngine.AI;
namespace Movement
{
public class ControlMovement : MonoBehaviour
{
public float Speed;
public float BaseMovePoints;
public NavMeshAgent NavAgent;
public PlayerPanel UiPanel;
private float currentMovePoints;
... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SGDE.DataEFCoreSQL.Migrations
{
public partial class Add_UserProfession : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "UserPro... |
using System;
namespace PDV.DAO.Entidades.MDFe
{
public class ManifestoDocumentoFiscalEletronico
{
public decimal IDMDFe { get; set; } = -1;
public decimal TipoAmbiente { get; set; }
public decimal TipoEmitente { get; set; } = 2;
public decimal TipoTransportador { get; set; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.