text stringlengths 13 6.01M |
|---|
using System.IO;
namespace LogsSearchServer.Models
{
public class FoundFile
{
public string Name { get; set; }
public string FullPath { get; set; }
public long Size { get; set; }
public FoundFile()
{
}
public FoundFile(string fullPath)
{
... |
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 EurekaQuiz
{
public partial class FrmAlterarCadPessoa : Form
{
public FrmAlterarCadPessoa()
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("MobileChatLogMessageFrame")]
public class MobileChatLogMessageFrame : MonoBehaviour
{
public MobileChatLogMessageFrame(IntPtr address) : this(address, "MobileChatLogMessageFrame")
{
}
public Mo... |
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Redis.Cache.Sample.Services.MemoryCache
{
public class MemoryCacheService : IMemoryCacheService
{
private IMemoryCache _memoryCache;
public Mem... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using MyListApp;
namespace MyListApp_5
{
[XamlCompilat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace poiLoader
{
class account
{
public string profileName { get; set; }
public string userName { get; set; }
public string password { get; set; }
public str... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Apix.Sync.YaMarket.Models
{
public class Region
{
[JsonProperty(PropertyName = "id")]
public int Id { get; set; }
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonProperty(Pr... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using AutoMapper;
namespace Dentist.Models.Doctor
{
public class Qualification : IValidatableObject
{
public int Id { get; set; }
... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using System;
using System.Collections.Generic;
namespace FirstAndroidMonoGame
{
/// <summary>
/// This is the main type for your game.
/// </summary>
p... |
using CoffeeFinder.Views;
using Xamarin.Forms;
namespace CoffeeFinder
{
public static class GlobalVariables
{
public static double unitchange = 1609.34;
public static string selected_website = "";
public static string selected_call = "";
}
public class App : Application
{
public App ()
{
// The ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entidades;
namespace Archivos
{
public class Texto : IArchivo<Queue<Patente>>
{
public void Guardar(string archivo, Queue<Patente> datos)
{
St... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace CL_UWP.SpeechClasses
{
//public static class PhrTim... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Discovery.Core.Enums
{
/// <summary>
/// 表示搜索的内容类型
/// </summary>
public enum SearchType
{
/// <summary>
/// 搜索用户
/// </summary>
SearchUser,
/// <summary>
/// 搜索帖子
/... |
using System;
using Xamarin.Forms;
namespace Nitro_Smart_Viewer
{
public class ImagePage : ContentPage
{
public ImagePage(object detail)
{
string fileName = "";
string displayName = "";
var resourceFileData = detail as ResourceFileData;
if (resou... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.IO;
public class GameUI : MonoBehaviour
{
public HealthHandler healthbar;
public EnemyHealth healthbar2;
public GameObject pauseScreen;
public GameObjec... |
using System;
using FinanceBot.Views.Update;
namespace FinanceBot.Models.CommandsException
{
public class CategoryAlredyExistException : CommandExeption
{
public CategoryAlredyExistException(string categoryName)
{
base.BadCommand = string
.Format(SimpleTxtResponse.C... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.PowerShell.EditorServi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EventConst
{
//< 在关卡界面选择关卡时
public const string EVENT_LEVELSELECT = "OnLevelSelect";
//< 剩余时间更新时
public const string EVENT_UPDATETIMELEFT = "UpdateTimeLeft";
//< 关卡输了
public const string EVENT_GAMELOSE ... |
using System;
using System.Collections.Generic;
using System.Text;
using Main.SimUDuck;
using Main.WeatherStation;
namespace Main
{
class Program
{
static void Main(string[] args)
{
do
{
//// ======================Strategy Pattern===========... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
namespace GameStore.WebUI.Apis
{
public class AccountController : BaseApiController
{
/*
[HttpPost]
[AllowAnonymous]
[Validat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestScript : MonoBehaviour {
private void OnBecameInvisible()
{
Debug.Log("You are Out");
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using JsonBAM.Data;
using JsonBAM.Data.Entities;
using Newtonsoft.Json;
namespace JsonBAM.Controllers
{
public class HitMeController : Controller
{
[HttpPost]
... |
namespace SharpDL.Graphics
{
public interface IWindowFactory
{
/// <summary>Creates a Window used for display and rendering.
/// </summary>
/// <param name="title">String displayed in the Window title bar.</param>
/// <returns>Instance of a Window.</returns>
IWindow Creat... |
using System;
namespace Emanate.Core
{
public interface IModuleType
{
Type ModuleType { get; }
}
} |
using System;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using DavisVantage.WeatherReader.Logging;
using DavisVantage.WeatherReader.Models;
using DavisVantage.WeatherReader.Models.Extremes;
namespace DavisVantage.WeatherReader.WeatherLinkIp
{
public class WeatherLinkIpDataLogger : ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.Identity;
namespace angserver.Classes
{
public class IdentityUser : IUser<string>
{
public string Name { get; set; }
public string Id { get; private set; }
public string UserName { get; set;... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace TheMinepack.Projectiles
{
public class StarScytheProjectile2 : ModProjectile
{
public override void SetDefaults()
{
projec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnlineTabletop.Models
{
public interface IRepository<T>: ICollection<T>
where T:IEntity
{
T Get(string id);
}
}
|
using AutoDataReader.Entities.Base;
using System;
using System.Collections.Generic;
using System.Text;
namespace AutoDataReader.Entities
{
class WordDto : Word
{
public List<Link> Links { get; set; } = new List<Link>();
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amesc.Dominio;
using Amesc.Dominio.Cursos;
using Amesc.Dominio._Consultas;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace Amesc.WebApp.Controllers
{
public class RelatorioAnaliticoPorCurso... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Studentum.Infrastructure.Repository;
namespace BreakAway.Domain
{
[Repository(AggregateName = "BreakAway")]
public class ActivityRepository : RepositoryBase<Activity>, IRepository<Activity>
{
public Activit... |
using NUnit.Framework;
using Xamarin.UITest;
using Xamarin.UITest.Android;
namespace MvxForms.Starter.UITests.Android
{
[TestFixture]
public class Tests
{
AndroidApp app;
[SetUp]
public void BeforeEachTest()
{
app = ConfigureApp
.Android
... |
using System;
using System.Collections.Generic;
using System.IO;
namespace Calcifer.Engine.Content.Data
{
public class ProviderCollection
{
private readonly DirectoryNode root;
public ProviderCollection()
{
root = new DirectoryNode(null, "");
}
public void ... |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using JsonFx.Json;
using UnityEngine;
/// <summary>
/// Extended functionality wrapper for Unity's Input class.
/// Handles controllers in different platforms in a unified fashion.
/// It is preferred to use this class instead of Unity... |
using Common;
using DeferredRender.Graphics;
using OpenTK;
namespace DeferredRender
{
public static class Extensions
{
public static void Bind(this SimpleModel model, Matrix4 modelView, Matrix4 modelViewProjection, Matrix4 projection)
{
if (model.TextureId == -1)
{
... |
using AuditAppPcl.Manager.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AuditAppPcl.Entities;
using AuditAppPcl.Repository.Contracts;
namespace AuditAppPcl.Manager.Concrete
{
public class CaseServiceManager : ICaseServiceManage... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Application.Common.Dtos;
using Application.Common.Exceptions;
using Application.Common.Interface;
using Application.Common.Models;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AplicativoDeChamada
{
class Disciplina
{
public string disciplina;
public string disciplinaAsString()
{
return disciplina;
}
public... |
using Shunxi.Business.Models.devices;
namespace Shunxi.Business.Models
{
public class Consumable :ViewModel
{
public int _id;
public int Id
{
get => _id;
set
{
_id = value;
OnPropertyChanged();
}
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Codewars.MultiplesOf3or5.Tests
{
[TestClass]
public class KataTests
{
[TestMethod]
public void Test()
{
Assert.AreEqual(23, Kata.Solution(10));
Assert.AreEqual(258, Kata.Solution(34));
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls.Expressions;
namespace treatment.Models
{
public class Voter
{
public int VoterID { get; set; }
public string VoterNumber { set; get; }
public string Name { set; ge... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace nargileotomasyon.Models.Mapping
{
public class markaMap : EntityTypeConfiguration<marka>
{
public markaMap()
{
// Primary Key
this.HasKey(t => t.markid);
... |
//Problem 11. Bitwise: Extract Bit #3
// Using bitwise operators, write an expression for finding the value of the bit #3 of a given unsigned integer.
// The bits are counted from right to left, starting from bit #0 .
// The result of the expression should be either 1 or 0 .
using System;
namespace Problem11Bi... |
using JumpAndRun.Networking;
using System.Net.Sockets;
using GameLib.Networking;
namespace JumpAndRun.ServerRuntime
{
internal class Client
{
public JumpAndRunStream Stream;
public TcpClient TcpClient;
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Enrollment.Forms.Parameters.Common
{
public enum DetailItemEnum
{
Field,
Group,
List
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class q3 :... |
using UnityEngine;
using System.Collections;
public class commandPointMove : MonoBehaviour {
public GameObject followTarget;
private NavMeshAgent navAgent;
// Use this for initialization
void Start () {
navAgent = GetComponent<NavMeshAgent>();
}
// Update is called once per frame
void ... |
using System;
using System.Threading;
namespace progr12
{
class Program
{
static void Main()
{
Console.Title = "Информация о главном потоке программы";
Thread thread = Thread.CurrentThread;
thread.Name = "MyThread";
Console.WriteLin... |
namespace Triton.Game.Abstraction
{
using ns27;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Triton.Game.Mapping;
public class Entity : Triton.Game.Abstraction.EntityBase
{
[CompilerGenerated]
private Triton.Game.Mapping.Entit... |
using System.Web.Mvc;
namespace API.ControleRapido.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "API Controle Rápido";
return View();
}
}
}
|
using Swiddler.Utils;
using System;
using System.ComponentModel;
using System.Globalization;
namespace Swiddler.ViewModels
{
public class QuickActionItem
{
public string Icon { get; set; }
public string Caption { get; set; }
public string Description { get; set; }
public Quick... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace NetFabric.Hyperlinq
{
public static partial class ArrayExtensions
{
[GeneratorMapping("TPredicate", "NetFabric.Hyperlinq.FunctionInWrapper<TSource, int, bool>")]
... |
using JKMPCL.Model;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace JKMPCL.Services
{
/// <summary>
/// Class Name : UtilityPCL
/// Author : Hiren Patel
/// Creation Date : 10 Dec ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWinPhone8.Classes.Domain
{
class VelocidadeException : Exception
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace AnimeViewer.Controls
{
public class ViewCellButton : Button
{
}
}
|
namespace _12.LegendaryFarming
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
var items = new Dictionary<string, string>();
var material = new Dictionary<string, int>();
... |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Messaging;
namespace Clime.ViewModel
{
public class LoginViewModel : ViewModelBase
{
public LoginViewModel()
{
Messenger.Default.Register<string>(this, SaveNewMeasurement);
}
private void SaveNewMeasurement(string ... |
using HelperLibrary.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using ConnectLibrary.Logger;
using ConnectLibrary.SQLRepository.Interfaces;
using ConnectLibrary.SQLRepository;
using MediaTypeHeaderValue = System.Net.Http.Headers.M... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Reserva.Infra.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MenuHandler : MonoBehaviour
{
[SerializeField]
private List<GameObject> menus = new List<GameObject>();
private int activeMenuIndex;
private void Awake() {
ChangeMenu(0);
}
/// Call this to Change the menu in the arr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.DataStudio.Diagnostics;
namespace MLApiClientTestApp.Models
{
// I basically use this to write to a TextBox control in my unit test app
public interface ITestLogger : ILogger
... |
using System.Collections.ObjectModel;
using System.Data;
using System.Data.OleDb;
using System.Diagnostics;
using System.Threading.Tasks;
namespace CG_DatabaseReader
{
partial class MainWindow
{
private void ReadCustomerList()
{
ObservableCollection<Customer> list = new ObservableC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Polite
{
public class Contact
{
public Contact(String csvLine)
{
string[] values = csvLine.Split(',');
this.FirstName = values[0];
... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abo... |
// Copyright 2018 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vasily;
namespace VasilyTest
{
[Table("tablename")]
public class NormalTest : IVasily
{
[PrimaryKey]
public int ID;
public int? Age { get; set; }
[Repe... |
using UnityEngine;
using System.Collections;
// Terrain effect gotten from standing in a forest space
// Gives considerable ranged defence
public class Forest : Effect
{
public Forest(Unit receiver)
: base("Forest", "Arrows and stones are caught and deflected by thick tree limbs, providing excellent cover... |
using System;
using System.ComponentModel.DataAnnotations;
namespace CRUDelicious.Models
{
public class Dish
{
[Key]
public int DishId { get; set; }
[Required]
public string Name { get; set; }
[Required]
public string Chef { get; set; }
[Required]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Engine.Models;
namespace Engine.Factories
{
internal static class WorldFactory
{
internal static World CreateWorld()
{
World newWorld = new World();
... |
/*
.-'
'--./ / _.---.
'-, (__..-` \
\ . |
`,.__. ,__.--/
'._/_.'___.-`
FREE WILLY
*/
using GalaSoft.MvvmLight.CommandWpf;
using GalaSoft.MvvmLight.Messaging;
using NLog;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
namespace Automatisation.Vie... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using AgentStoryComponents;
public partial cl... |
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEditor;
public class ButtonScript : MonoBehaviour
{
public void Play()
{
SceneManager.LoadScene("SampleScene");
}
public void Exit()
{
#if UNITY_EDITOR
EditorApplication.isPlaying = false;
#else
Application.Q... |
using System;
using System.Collections.Generic;
using System.Text;
namespace KnapsackProblem.Common
{
public class KnapsackItem
{
public int Id { get; set; }
public int Weight { get; set; }
public int Price { get; set; }
}
}
|
/*
* Florence 17 novembre 2018. Engineered by Gianluca Braccini <ITIS A.Meucci>
System.IO.File.WriteAllBytes(@"C:\MyFile.bin", ProjectNamespace.Properties.Resources.MyFile);
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
u... |
namespace QuestionUtilLib.Models
{
public enum QuestionType
{
TRUE_FASLSE = 1,
MULTI_CHOICE = 2
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
{
var inputList = Console.ReadLine().Split().Select(long.Parse).ToList();
var jewelsPrice = inputList.First();
var goldPrice = inputList.Skip(1).First();
var hei... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Лаба_7;
namespace лаба_7
{
sealed class Bouquet : ICloneable
{
int maxCount;
public int MaxCount
{
get { return maxCount; }
set { m... |
using MediatR;
using System;
namespace Publicon.Infrastructure.Commands.Models.Publication
{
public class DeletePublicationCommand : IRequest
{
public Guid PublicationId { get; set; }
public DeletePublicationCommand(Guid publicationId)
{
PublicationId = publicationId;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RQ = RequirementsFramework;
using TSF.UmlToolingFramework.Wrappers.EA;
namespace EAAddinFramework.Requirements
{
public abstract class Folder : RQ.Folder
{
public Project project {... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace лаба_7
{
public class BouquetOverflowException : Exception
{
public readonly DateTime time;
public BouquetOverflowException(int currentCountOf... |
using Core.Base;
namespace Entities
{
public class OrderProduct : BaseEntity
{
public int OrderId { get; set; }
public int ProductId { get; set; }
public Order Order { get; set; }
public Product Product { get; set; }
public static OrderProduct AddProductToOrder... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using MazeLib;
using SearchAlgorithmsLib;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace WebServer
{
[Route("api/Maze")]
public class MazeController : ApiController
... |
public class Scenes
{
public const string MainMenu = "MainMenu";
public const string Gameplay = "Gameplay";
}
|
using System;
class ArrayMaxValue
{
static int MaxValueIndx(int[] array, int startIndex)
{
int maxValue = int.MinValue;
int maxValueIndex = startIndex;
for (int i = startIndex; i < array.Length; i++)
{
if (maxValue < array[i])
{
... |
using System.Web;
using System.Web.Optimization;
namespace LETS
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Project_NotesDeFrais.Models
{
[Table("Employees")]
public class EmployeesModel
{
public EmployeesModel()
... |
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using PWEB.Models;
namespace PWEB.Controllers
{
public class EntregasController : Controller
{
private readonly ApplicationDbContext db = new Applicat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StatePattern
{
interface IState
{
void Drive();
}
public class OnlineState : IState
{
public void Drive()
{
Console.WriteLine("Driving... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ws2008.Common
{
public class Ws2008Enums
{
/// <summary>
/// Actiion操作类型
/// </summary>
public enum ActionEnums
{
/// <summary>
/// 添加
/// </s... |
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
// © 2016 Clemens Fischer
// Licensed under the Microsoft Public License (Ms-PL)
using System.Windows;
using System.Windows.Media;
namespace MapControl
{
public partial class MapRectangle
{
static partial void ScaleRect(ref Rect rect, ref Tran... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MyDir;
public class FirstController : MonoBehaviour, SceneController, UserAction {
private Vector3 river = new Vector3(0.5F,-1,0);
UserGUI userGUI;
public CoastController fromCoast;
public CoastController toCoast;
public BoatC... |
namespace Task02_WebFormsApp
{
using System;
using System.Reflection;
public partial class Index : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.LabelCode.Text = "Hello from code behind!";
var location = Assembly.GetExecutingAs... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using WebApiTrackLocation.Models;
na... |
namespace SGDE.Domain.Repositories
{
#region Using
using SGDE.Domain.Entities;
using SGDE.Domain.Helpers;
#endregion
public interface IProfessionInClientRepository
{
QueryResult<ProfessionInClient> GetAll(int skip = 0, int take = 0, string filter = null, int professionId = 0, int cli... |
using System;
using Logs.Authentication.Contracts;
using Logs.Providers.Contracts;
using Logs.Services.Contracts;
using Logs.Web.Controllers;
using Logs.Web.Infrastructure.Factories;
using Moq;
using NUnit.Framework;
namespace Logs.Web.Tests.Controllers.NutritionControllerTests
{
[TestFixture]
public class Co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoursIngesup.Projets
{
class Dame : Pion
{
public bool Blanc;
public char joueur;
public Dame(bool blanc) : base(true)
{
Blanc = blanc;
... |
using OmniSharp.Extensions.JsonRpc.Testing;
namespace Lsp.Integration.Tests.Fixtures
{
public sealed class DefaultOptions : IConfigureLanguageProtocolFixture
{
public JsonRpcTestOptions Configure(JsonRpcTestOptions options)
{
return options;
}
}
}
|
using System.Drawing;
namespace WindowsFormsApp1.Properties.GameObjects {
public class SeeU :IGameObject {
private int x;
private int y;
private Image img = Resource1.красная_видимость;
private int id = -1;
public int X { get; set; }
public int Y { get; set; }
... |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.IO;
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 Syste... |
/*
* This class is used to demonstrate Generic Interface.
* This implements IAccessories
* Also please look AccessoriesArray.
*/
using System;
using System.Collections.Generic;
namespace CSBasic
{
// This classs in implements the generic interface IAccessories
class AccessoriesList : IAccessories<string>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.