text stringlengths 13 6.01M |
|---|
using System;
using System.Windows.Input;
namespace Demo.Commands
{
public sealed class DelegateCommand : ICommand
{
private readonly Action<Object> _executed;
private readonly Func<Object, Boolean> _canExecute;
public DelegateCommand(Action<Object> executed)
: thi... |
namespace EventsTimers
{
using System;
/// <summary>
/// Read in MSDN about the keyword event in C# and how to publish events.
/// Re-implement the above using .NET events and following the best practices.
/// </summary>
class Test
{
static void Main(string[] args)
... |
using FlappyBirds.Utils;
using System;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace FlappyBirds
{
public partial class Scores : Form
{
public Scores()
{
InitializeComponent();
}
public void SetScores()
{
var items ... |
using System.Web.Mvc;
using ZiZhuJY.Web.UI.Attributes;
namespace ZiZhuJY.Web.UI.Controllers
{
[Localization]
public class GraphWorldController : Controller
{
//
// GET: /GraphWorld/
public ActionResult Index()
{
return View();
}
}
}
|
using System;
using System.Collections.Generic;
namespace CalcGUI
{
class Operations
{
// class contains all mathematical operation-related functions
public static string getFinalAns(List<string> input)
{
// loop through final formatted list
// pass numbers and... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenuManager : MonoBehaviour {
public void StartButton ()
{
SceneManager.LoadScene("Game");
}
public void AboutButton ()
{
SceneManager.... |
namespace Bindable.Linq.Tests.Unit.Aggregators
{
internal class AverageAggregatorTests {}
} |
using Dynamia.BillingSystem.BusinessManager;
using System.Collections.Generic;
namespace Dynamia.BillingSystem.SQLDAO
{
/// <summary>
/// Class facade of data access objects.
/// </summary>
/// <!--Modificado por: Daniel G. Merchan B.-->
/// <!--Modificado el: 04:31 p.m. 06/08/2014.-->
public ... |
namespace Braspag.Domain.Interfaces.UnityOfWork
{
public interface IUnitiOfWork
{
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.C... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AgentStoryComponents
{
public class UserExistsException : Exception
{
public UserExistsException(string msg)
: base(msg)
{}
}
public class UserMayNotClone : Exception
{
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Collections;
public class PacketUtil
{
public static void WriteByte(List<byte> buffer, byte v)
{
byte[] bytes = TypeConvert.GetBytes(v);
buffer.AddRange(bytes... |
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace FirstWebApp.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbContextOptions<Application... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Chess2_redo
{
class Pawn : Piece
{
string direction;
bool firstmove = true;
Piece[,] temp_b;
public Pawn(string newName, int one, int two, string clr)
{
this.Id = newName;
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class Abilities : MonoBehaviour
{
public Renderer groundRenderer;
public Collider groundCollider;
public GameObject[] ParticleExamples;
public int exampleI... |
using System;
using MXDbhelper.Common;
namespace MXQHLibrary
{
[TableView("Sys_EntityProperty")]
public class EntityProperty
{
/// <summary>
/// 实体名
/// </summary>
[ColumnProperty(Key.True)]
public string EntityName { get; set; }
/// <summary>
/// 栏位名... |
#region License
/*
Copyright (c) 2009 - 2013 Fatjon Sakiqi
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, ... |
using BPiaoBao.Common.Enums;
using BPiaoBao.DomesticTicket.Domain.Models.Orders.Behaviors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Domain.Models.Orders.States
{
[OrderState(EnumOrderStatus.ApplyBabyFail)]
public class ApplyBabyFailS... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LockToBoundaries : MonoBehaviour {
public GameObject myTerrain; // link from inspector or obtained via GetComponent / Object.Find
//this value is used to further clamp the camera away from the edge.
//Transform wi... |
using kolekcje;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace serializacja
{
public interface IConverter
{
void Serializuj<T>(T g,string n);
T DeSerializuj<T>(string plik);
}
}
|
using MapOnlyExample.Service;
using MapOnlyExample.Service.ViewModel;
using System;
using System.Linq;
using System.Windows.Forms;
namespace MapOnlyExample.WinformDemo
{
public partial class fmMain : Form
{
private UserService userService;
public fmMain()
{
userService = n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Aroma_Violet.Models;
namespace Aroma_Violet.Controllers
{
public class UserController : Controller
{
[Authorize]
public ActionResult Index(string spec = "User")
{
... |
using System;
namespace LegoMinfigures.Legs
{
enum Shoes
{
CowboyBoots,
SpaceBoots,
Sandals,
SteelToeBoots,
ShelltoeAdidas,
None
}
}
|
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using OpenQA.Selenium.Interactions;
using System.Windows.Forms;
using System.Threading;
using System.Text.RegularExpressions;
namespace ShoppingVisa
{
[TestCl... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Passenger.Core.Domain
{
public class Passenger
{
public Guid Id { get; set; }
public Guid UserId { get; set; }
public Node Address { get; set; }
}
}
|
using System;
using System.Linq;
using System.Threading.Tasks;
using DSharpPlus;
using DSharpPlus.Entities;
using DSharpPlus.SlashCommands;
using Requestrr.WebApi.RequestrrBot.Locale;
namespace Requestrr.WebApi.RequestrrBot.ChatClients.Discord
{
public class DiscordPingWorkFlow
{
private readonly Inte... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("BoosterDbfRecord")]
public class BoosterDbfRecord : DbfRecord
{
public BoosterDbfRecord(IntPtr address) : this(address, "BoosterDbfRecord")
{
}
public BoosterDbfRecord(IntPtr address, string cl... |
using ControlObraAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
namespace ControlObraAPI.Controllers
{
public class GeneralViewFilterController : ApiCont... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GestDep.Entities
{
public partial class Gym
{
public Gym()
{
Offers = new List<Activity>();
Has = new List<Room>();
}
public Gym... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Controle.View
{
public class SaidaView
{
}
}
|
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 viewDataBill : Form
{
string clientId;
string billUin;
dbFacade db = new dbFa... |
// Accord Statistics 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 published ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AttackDeflect : BattleAttack
{
[Header("反彈")]
[Space(5)]
[Range(0f, 3f)]
public float speedMultiplier;
public bool toOrigin;
public GameObject projectileOnHitParticle;
public AudioClip projectileOn... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace HackerRank_HomeCode
{
public class MaxMin
{
public void FindMindist()
{
int n = Convert.ToInt32(Console.ReadLine());
int k = Convert.ToInt32(Console.ReadLine());
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class battleScript : MonoBehaviour
{
public enum BattleState { player1Phase1, player2Phase1, player1Phase2, player2Phase2 }
public GameObject player1Prefab;
public GameObject player2Prefab;
Ga... |
using System;
using System.ComponentModel.DataAnnotations;
namespace esstp.Models.ViewModels
{
public class PortfolioPageViewModel
{
public int Id { get; set; } //portfolio
public string Position { get; set; } //portfolio
public string Name { get; set; } //market
public string ... |
namespace ChainOfResponsibility
{
using System;
public class Euro50Dispenser : Dispenser
{
private readonly int noteValue = 50;
public override void Dispense(Currency currency)
{
int requestAmount = currency.GetAmount();
if (requestAmount >= this.noteValue)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Humain
{
public enum Building { House, Casern, Farm }
public enum Unite { Farmer, Soldier }
}
|
namespace Meziantou.Analyzer.Rules;
internal enum OptimizeLinqUsageData
{
None,
UseLengthProperty,
UseLongLengthProperty,
UseCountProperty,
UseFindMethod,
UseFindMethodWithConversion,
UseIndexer,
UseIndexerFirst,
UseIndexerLast,
DuplicatedOrderBy,
CombineWhereWithNextMethod... |
using System;
using UnityEngine;
public class ImageScrollRect : MonoBehaviour
{
private const float SlideTime = 0.25f;
private const float HoldTime = 3f;
public Rect _rect;
public Texture2D[] _images;
private float _time;
private int _index;
private RenderTexture _target;
private void Start()
{
}
pr... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("BnetBar")]
public class BnetBar : MonoBehaviour
{
public BnetBar(IntPtr address) : this(address, "BnetBar")
{
}
public BnetBar(IntPtr address,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Aga.Controls.Tree;
using System.Drawing;
namespace DBManager
{
public class treeItem : Node
{
public string nodeText {get; set;}
public string fieldType { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.Cashbag.Domain.Models
{
public class ReadyAccount
{
/// <summary>
/// 现金账户余额
/// </summary>
public decimal ReadyBalance { get; set; }
/// <summary>
/// 冻结金额
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InventoryReportsController.cs" company="Eyefinity, Inc.">
// Eyefinity, Inc. - 2013
// </copyright>
// <summary>
// Defines the SalesReportsController type.
// </summary>
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
namespace QuickCollab.Security
{
public class PasswordHashService
{
private Random _random;
public PasswordHashService()
{
_random = new Random(DateTim... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface TutorialPart
{
bool IsDone();
void Play();
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using VehicleManagement.Application.Common.Interfaces;
using VehicleManagement.Domain.Entities;
namespace VehicleManagement.Application.Queries.Brands
{
public static class GetBr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class MoveObject : MonoBehaviour
{
public Vector3 endPoint;
private Vector3 originPoint;
bool isOrigin;
Rigidbody rigidbody;
private void Start()
{
originPoint = transform.position;... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlServerCe;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Switchex {
public class Profile {
public static int newProfileID { get; set; }
public string ProfileName { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FuzzyLogic.Operations
{
public class Union : IBinaryOperation
{
public double Operate(double operand1, double operand2) => Math.Max(operand1, operand2);
}
}
|
using Requestrr.WebApi.config;
using Requestrr.WebApi.RequestrrBot;
namespace Requestrr.WebApi.Controllers.ChatClients
{
public class BotClientSettingsProvider
{
public BotClientSettings Provide()
{
dynamic settings = SettingsFile.Read();
return new BotClientSettings
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelGeneratorManager : MonoBehaviour
{
public float[,] positions;
public float[,] scales;
public float[] zRotations;
public string[] names;
public int levelHeight;
pu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace kamidori_asm
{
class CompileScript
{
struct Label
{
public string label;
public int id; // so i can reuse this struct for the string labels. being lazy a bit here
p... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
/**
*
* name : IUnitOfWork.cs
* author : Aleksy Ruszala
* date : 29/04/2019
*
* */
namespace Application.Repo.Contracts
{
public interface IUnitOfWork : IDisposable
{
Task... |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace Requestrr.WebApi.Extensions
{
public static class HttpResponseMessageExtensions
{
public static async Task ThrowIfNotSuccessfulAsync(this HttpResponseMessage responseMessage, string message, Func<d... |
using System;
using System.IO;
using System.Reflection;
using System.Windows;
namespace BusyBox.Helpers
{
public static class ResourceHelper
{
public static T Get<T>(string resourceName)
{
var assembly = Assembly.GetExecutingAssembly();
using (var stream = assembly.Get... |
using System;
using TravelertApp.ViewModels;
using TravelertApp.Views;
using TravelertApp.Views.ProfilePageUsers;
using TravelertApp.Views.RegisterUsers;
using TravelertApp.Views.TabbedPageUsers;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace TravelertApp
{
public partial 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;
using System.IO;
namespace NETTWO_Files2
{
public partial class Form1 : Form
{
public Fo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Webshop.Data
{
public class OrderDto
{
//Tárolt adatok
public string UserId { get; set; }
public string PaymentMetod { get; set; }
public string ShippingMethod { get; se... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaseConverter
{
public class Utility
{
//log
private static StringBuilder sbLog = new StringBuilder();
public static List<string> GetExcelFiles()
{
List<string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FeelingGoodApp.Models
{
public class LocationViewModel
{
public LocationViewModel(string name, string formattedAddress, float rating)
{
Name = name;
FormattedAddr... |
using Checkout.Payment.Processor.Domain.Models.Enums;
using Checkout.Payment.Processor.Seedwork.Extensions;
using MediatR;
using System;
namespace Checkout.Payment.Processor.Domain.Commands
{
public class UpdatePaymentCommand : IRequest<ITryResult>
{
public Guid PaymentId { get; set; }
public ... |
using System;
namespace IndependienteStaFe.Models
{
public class UserUpdate
{
public string token { get; set; }
public string name { get; set; }
public string Lastname { get; set; }
public string Id { get; set; }
public string Emal { get; set; }
public string Pa... |
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 sales_management_system
{
public partial class 入庫情報 : Form
{
public 入庫情報(strin... |
using Microsoft.AspNetCore.SignalR;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using SignalR.API.Hubs;
using SignalR.API.Migrations;
using SignalR.API.Utils;
using System;
using System.Threading.Tasks;
namespace SignalR.API.Services
{
public class... |
//
// This source code is licensed in accordance with the licensing outlined
// on the main Tychaia website (www.tychaia.com). Changes to the
// license on the website apply retroactively.
//
using System;
using Protogame;
using Protogame.SHMUP;
using Microsoft.Xna.Framework;
namespace RedMeansGo.Entities
{
publi... |
using System;
namespace iQuest.VendingMachine.PresentationLayer.DisplayConfiguration
{
internal class DisplayBase
{
protected void DisplayLine(string message, ConsoleColor color)
{
ConsoleColor oldColor = Console.ForegroundColor;
Console.ForegroundColor = color;
... |
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters;
using System.Runtime.Serialization.Formatters.Binary;
namespace ITWServer.Network
{
public class PacketHandler
{
private Dictionary<Type, List<... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Roylance.Common
{
public static class ObjectExtensions
{
public static void CheckIfNull(this object item, string propertyName)
{
if (item == null)
{
throw new ArgumentNullException(propertyName);
}
}
public static IEn... |
using Assets.Scripts.Overlay.MainMenu;
using Assets.Scripts.Player;
using Assets.Scripts.RobinsonCrusoe_Game.Characters;
using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes;
using Assets.Scripts.RobinsonCrusoe_Game.Level;
using Assets.Scripts.RobinsonCrusoe_Game.RoundSystem;
using System;
using System.Collections;... |
using Checkout.Payment.Processor.Seedwork.Interfaces;
namespace Checkout.Payment.Processor.Seedwork.Models
{
public class DomainNotificationEvent : IDomainNotificationEvent
{
public DomainNotificationType Type { get; set; }
public string Message { get; set; }
}
}
|
using System.Collections.Generic;
namespace SFA.DAS.Notifications.Messages.Commands
{
public class SendEmailCommand
{
public string TemplateId { get; }
public string RecipientsAddress { get; }
public IReadOnlyDictionary<string, string> Tokens { get; }
public SendEmailCommand(s... |
using Bb.Expressions.CsharpGenerators;
using System;
using System.Collections.Generic;
using System.Diagnostics.SymbolStore;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
namespace Bb.Expressions
{
... |
using GalaSoft.MvvmLight.Command;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.Client.UIExt
{ /// <summary>
/// 带分页的基础视图模型
/// </summary>
public abstract class PageBaseViewModel : BaseVM
{
#region 构造函数
/// <summary>
... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CMS_Tools.Authen
{
public partial class LoginGG : System.Web.UI.Page
{
protected void Page_Load(objec... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.IO.Ports;
using System.Windows.Controls;
using System.Runtime.InteropServices;
using System.Windows.Shapes;
using System.Wi... |
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 BDProj
{
public partial class AddAuthor : Form
{
AddBook addBook;
publ... |
using System;
using System.Collections.Generic;
using System.IO;
using WpfIntro.Models;
namespace WpfIntro.DataAccessLayer.Common
{
public interface IFileAccess
{
int CreateNewMediaItemFile(string name, string url, DateTime createTime);
int CreateNewMediaLogFile(string logText, MediaItem logMe... |
using System;
using System.IO;
using System.Threading.Tasks;
using Medit1.Models;
using Microsoft.AspNetCore.Http;
namespace Medit1.Utils
{
public static class ImageAdder
{
public static async Task<Image> AddImage(IFormFile photoFile, Cruise cruise)
{
var imageName = $"{Guid.NewGu... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_Profiler : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
Profiler o = new Profiler();
LuaObject.pushValue(l, true);
LuaObject.pushValue(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TourCrawler
{
public class KeyWord
{
public string Province { get; set; }
public string Keyword { get; set; }
}
}
|
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 QTHT.BusinesLogic;
using C1.Win.C1FlexGrid;
using DanhMuc.DataAccess;
using CGCN.DataAccess;
using DanhMuc.BusinesLogic;
using QT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sunny.Lib;
namespace UploadBatch
{
public class Const
{
public static FileLogger BatchFileLogger = new FileLogger(
() =>
{
string path = Env... |
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Text;
namespace Meziantou.Analyzer.Rules;
[ExportCodeFixProv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MailerQ.Mime
{
/// <summary>
/// This represent a Mime json message
/// See https://www.responsiveemail.com/json/introduction for more info
/// </summary>
[JsonObject(
NamingStrategyType = typeof(LowercaseNamingStrategy),
... |
using System;
namespace ReadyGamerOne.Rougelike.Person
{
public interface IInteractablePerson
{
bool IfInteract { get; }
Action<AbstractPerson> OnInteract { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Data;
using System.Text;
namespace WebService.Datos
{
public class Conexion
{
string cadenaBD = "Data Source=CÉSAR-PC\\SQLEXPRESS;Initial Catalog=UsersBD;Integrated Security=T... |
using System.ComponentModel.DataAnnotations;
namespace EducationManual.Models
{
public class TaskForStudent
{
[Key]
public int? TaskId { get; set; }
public string Name { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ControlValveMaintenance.Models
{
class Users : ObservableCollection<User>
{
/// <summary>
/// DEFAULT CONSTRUCTOR
///... |
using Microsoft.ApplicationInsights;
using System;
using System.Collections.Generic;
namespace TheLastSlice
{
public class AppInsightsClient
{
private TelemetryClient TelemetryClient { get; set; }
private Guid UserGuid { get; set; }
private Guid SessionGuid { get; set; }
privat... |
namespace Boxes
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Box
{
private Point upperLeft;
private Point upperRight;
private Point bottomLeft;
private Point bottomRigh... |
using FeedsProcessing.Models;
using System;
using System.ComponentModel.DataAnnotations;
using System.Text.Json;
namespace FeedsProcessing.Validation
{
public interface INotificationModelValidator
{
public ValidationResult Validate(NotificationModel model);
}
public class NotificationModelVal... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour {
public float rotateSpeed;
private Vector3 offset;
public float speed;
void LateUpdate () {
if (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.Tab)){
if (Input.... |
using ByteBank;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestaDivisao_LidandocomERROS
{
class Program
{
static void Main(string[] args)
{
try
{
Metodo();
}
... |
using System;
using System.Collections.Generic;
namespace SchedulerTask
{
/// <summary>
/// Формирование фронта
/// </summary>
class FrontBuilding
{
private List<Party> party;
private List<IOperation> operations;
private EquipmentManager equipmentManager;
public Fr... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
#endregion
namespace DotNetNuke.ComponentModel.DataAnnotations
{
public class TableNameAttribute : Attribute
{
... |
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repository.Interface
{
public interface ICategoryRepository
{
List<category> GetAll();
List<category> GetAll(group_manager manager);
}
}
|
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Da... |
namespace SampleConsoleApplication
{
using System;
public class Startup
{
public static void Main(string[] args)
{
SampleDataImporter.Create(Console.Out).Import();
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.