text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Binding;
namespace BinderTests.MockingInterfaces
{
public class SimpleViewModel : ISimpleViewModel
{
#region ISimpleViewModel Members
public string EmployeeName
{
get;
s... |
using MaterialSurface;
using System.Collections.Generic;
using System.Threading.Tasks;
using TutteeFrame2.DataAccess;
using TutteeFrame2.Model;
using TutteeFrame2.View;
namespace TutteeFrame2.Controller
{
class SubjectController
{
readonly SubjectView subjectView;
public List<Subject> subjects... |
using System.Collections.Generic;
using System.Linq;
namespace LSystemsPlants.Core.L_Systems
{
public static class SymbolHelper
{
private static readonly Dictionary<Symbol, string> _symbolsStrings = new Dictionary<Symbol, string>()
{
{Symbol.FORWARD_DRAW , "F"},
{Symbol... |
using System.Data.Entity.ModelConfiguration;
using Logs.Models;
namespace Logs.Data.Mappings
{
public class LogEntryMap : EntityTypeConfiguration<LogEntry>
{
public LogEntryMap()
{
// Primary Key
this.HasKey(t => t.LogEntryId);
// Properties
this... |
using System;
using System.Collections.Generic;
using TrainingPrep.collections;
public class FilteringEntryPoint<TItem, TField>
{
public readonly Func<TItem, TField> _fieldSelector;
private readonly bool _isNegate;
public FilteringEntryPoint(Func<TItem, TField> fieldSelector) : this(fieldSelector, false)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReportesCLIN2.Reports
{
public static class LiquidFilters
{
/// <summary>
/// Funcion que da formato a un objeto de entrada
/// </summary>
/// <param na... |
using System;
using Toppler.Core;
using Xunit;
namespace Toppler.Tests.Unit.Api
{
public class TopplerClientTest
{
[Fact]
public void TopplerClient_WhenNoSetup_ShouldNoBeConnected()
{
Assert.False(Top.IsConnected);
}
[Fact]
public void Counter_WhenN... |
using Microsoft.EntityFrameworkCore;
using Skaitykla.Domains;
using Skaitykla.EF;
using Skaitykla.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Skaitykla.Services
{
public class AuthorService : IAuthorService
{
private r... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Utilities.NET.Enums;
// ReSharper disable MemberCanBePrivate.Global
namespace Utilities.NET.Helpers
{
/// <summary> Reflection utilities. </summary>
publi... |
using UnityEngine;
using System.Collections;
public class MyCamera : MonoBehaviour {
// Variables
public Transform lookAt;
public float lerpSpeed;
public float xOffset;
public float yOffset;
public float zOffset;
void Start () {
}
void LateUpdate () {
//Vector3 offset = new Vector3(xOffset, yOffset... |
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 Idenz.Core.Windows;
namespace Idenz.Modules.Patient
{
public partial class frmAppointmentList : frmSimpleBaseForm
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
namespace Photogf.common
{
public static class unity
{
public static Int64 GetTime()
{
var s = Int64.Parse(Math.Round((DateTime.Now - Convert.... |
using UnityEngine;
using UnityEditor;
public class HUD : MonoBehaviour
{
public Inventory inventory;
public void OpenMessagePanel(string text)
{
}
public void CloseMessagePanel()
{
}
} |
using System.Collections;
using UnityEngine;
using DG.Tweening;
using System;
public class TitleDisplayer : MonoBehaviour
{
public CanvasGroup titleLogoCanvas;
// Start is called before the first frame update
void Start()
{
// 表示が気持ち悪かったので0.1s待つ
StartCoroutine(DelayMethod(0.1f, () =>
... |
using Platformer.Mechanics;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletAnimationHit : MonoBehaviour
{
public int damage = 25;
void Start(){
}
private void OnTriggerEnter2D(Collider2D other){
if (other.tag =="enemy"){
Debug.Log(da... |
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.AI;
public class EnemyMixAIV3 : MonoBehaviour, IDamageable, IHarpoonable
{
//NavMeshStuff
private NavMeshAgent _navMeshAgent;
private GameObject _player;
private float _enemySpee... |
using NoScope360Engine.Core.Entites.Items;
using System.Collections.Generic;
namespace NoScope360Engine.Core.Entites.Creatures
{
/// <summary>
/// Inventory of a <see cref="Creature"/>
/// </summary>
public class Inventory
{
/// <summary>
/// List of Items of this <see cref="Creatu... |
using AdoLibrary;
using PickUp.Dal.Interfaces;
using PickUp.Dal.Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
namespace PickUp.Dal.Services
{
public class EventServices : IEventServices<Event>
{
private readonly IConnection c... |
using System;
namespace Aqueduct.Configuration.Loaders
{
public class SettingEventArgs : EventArgs
{
private Setting m_setting;
/// <summary>
/// Initializes a new instance of the SettingEventArgs class.
/// </summary>
/// <param name="m_setting"></param>
... |
using System.Collections.Generic;
class JsonStructure {
public Dictionary<string,string> inclineScalingFunctions {
get;
set;
}
public Dictionary<string,string> speedScalingFunctions {
get;
set;
}
public Dictionary<string,string> resistanceScalingFunctions {
get;
set;
}
} |
using System;
using System.Net;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace SoftwareEngineeringProject_1
{
static class StatisticDownloader
{
public static List<StatisticEvent> GetStatisticsEvent()
{
... |
using System;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Microsoft.Reactive.Testing;
using ReactiveUI.Testing;
using RxTools;
using RxTools.IO;
namespace RxPlayground
{
public static class G
{
public static IWriter Writer =... |
using Enrollment.XPlatform.ViewModels.Validatables;
using System.Collections.Generic;
namespace Enrollment.XPlatform.Validators.Rules
{
public record IsMatchRule<T> : ValidationRuleBase<T>
{
public IsMatchRule(string fieldName, string validationMessage, ICollection<IValidatable> allProperties, string ... |
using System;
using System.Collections.Generic;
using ListasObjetos.Classes;
namespace ListasObjetos
{
class Program
{
static void Main(string[] args)
{
List<Produto> produtos = new List<Produto>();
//adicionar itens/objetos Create
// Construindo na hora
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace hex
{
class Program
{
string sot,ox;
long dec;
static void Main(string[] args)
{
Program Ox = new Program();
Ox.r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmallHouseManagerBLL;
using SmallHouseManagerModel;
namespace SmallHouseManagerWeb.Admin
{
public partial class AddChargeFee : System.Web.UI.Page
{
... |
using Ghost.Utility;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class RolePartMaterialInfo : IReuseableObject<Material, int>, IReuseableObjectBase
{
public int maxCountInPool;
public Material originMat;
public List<Material> instanceUsedMatList;... |
// <copyright file="ConnectionState.cs" company="David Eiwen">
// Copyright (c) David Eiwen. All rights reserved.
// </copyright>
namespace IndiePortable.Communication.Core.Devices
{
public enum ConnectionState
{
Initializing = 0,
Initialized = 1,
Activating = 2,
Activated ... |
using System;
using System.Data.Objects;
using System.Linq;
namespace KT.DB.CRUD
{
public class CategoriesRepository:ICrud<Category>
{
public Category Create(Category entity)
{
using (var db = new KTEntities())
{
db.Categories.AddObject(entity);
db.SaveChanges();
return entity;
}
}
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace ExercicesListGenerator.Models
{
[Table("Entrainements")]
public class Entrainement
{
public int ID { get; ... |
using System;
using BiPolarTowerDefence.Utilities;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using OpenTK;
using Vector2 = Microsoft.Xna.Framework.Vector2;
using Vector3 = Microsoft.Xna.Framework.Vector3;
namespace BiPolarTowerDefence.Entities
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents
{
public interface IReferenceValueContainer<T> : IValueContainer<T>, IReadonlyReferenceValueContainer<T> where T : class
{
}
}
|
using System;
using System.IO;
namespace LogsSearchServer
{
public class TempDir
{
public static readonly string Label = "_temp";
public string Name { get; set; }
public string FullPath { get; set; }
public string ParentPath { get; set; }
public TempDir()
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using Grisaia.Categories;
using Grisaia.Cat... |
using UnityEngine;
using System.Collections;
public class BullCharge : Ability
{
public BullCharge(Unit owner)
: base("Bull Charge", "A ferocious charge, granting the owner +2 movement and double damage for 1 turn.",
owner, 1, true, "PowerBull")
{
cast_before_attack = true;
e... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SimpleService.Model;
namespace SimpleService.Infrastructure
{
internal class BookRatingEntityTypeConfiguration : IEntityTypeConfiguration<BookRating>
{
public void Configure(EntityTypeBuilder<Bo... |
using System;
namespace ToDoItem.Common
{
public class Class1
{
}
}
|
/* Project Prologue
* Name: Spencer Carter
* Class: CS 1400 Section 003
* Project: Wagon Wheel Odometer (Project_03)
* Date: 02/16/2015
*
* I declare that the following code was written by me, provided
* by the instrustor, assisted via the lovely people in the drop
* in lab, or provided in the textbook for th... |
/**********************************************************
CoxlinCore - Copyright (c) 2023 Lindsay Cox / MIT License
****************... |
using Microsoft.AspNet.Mvc;
using NonFactors.Mvc.Grid.Web.Context;
using System.Threading;
namespace NonFactors.Mvc.Grid.Web.Controllers
{
public class JavascriptController : Controller
{
[HttpGet]
public ActionResult RowClicked()
{
return View(PeopleRepository.GetPeople())... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Mercadeo
{
public class TipoVentaDao : GenericDao<crmTipoVenta>, ITipoVentaDao
{
}
}
|
using Hotel.Data.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hotel.Web.Areas.ModulRecepcija.ViewModels
{
public class DodajStavkuVM
{
public int Id { set; get; }
public int Kolicina... |
using Contoso.Domain.Entities;
using LogicBuilder.RulesDirector;
using LogicBuilder.Workflow.Activities.Rules;
using System;
using System.Collections;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Resources;
using System.Threading.Tasks;
namespace Contoso.Bsl.Flow.Rules
{
public cla... |
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.Linq;
using ProjectFinder.Manager;
using System.IO;
namespace ProjectFinder.Command
{
public class MainCommand : CommandBase
{
public AddCommand AddCommand { get; } = new AddCommand();
public DeleteCommand De... |
//namespace OmniGui.Xaml
//{
// using System;
// using System.Collections.Generic;
// using System.Reactive.Disposables;
// using System.Reactive.Linq;
// using System.Reflection;
// using OmniXaml;
// public class OmniGuiXamlBuilder : ExtendedObjectBuilder
// {
// private readonly IDic... |
using System;
using System.Windows.Forms;
using System.Threading;
namespace ASCOM.USB_Focus
{
public partial class Form1 : Form
{
private ASCOM.DriverAccess.Rotator driver;
private Thread updateTextThread;
public Form1()
{
InitializeComponent();
SetUIS... |
namespace Kit
{
public static class DecimalExtensions
{
public static int CountDecimalDigits(this decimal n)
{
return n.ToString(System.Globalization.CultureInfo.InvariantCulture)
//.TrimEnd('0') uncomment if you don't want to count trailing zeroes
... |
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 ozn_prackt
{
public partial class traap_ugol : Form
{
public tra... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using ServiceHost.Models;
using ServiceHost.Repository;
using Microsoft.AspNetCore.Ident... |
using LogicBuilder.Expressions.Utils.Strutures;
namespace Contoso.Common.Configuration.ExpressionDescriptors
{
public class OrderByOperatorDescriptor : SelectorMethodOperatorDescriptorBase
{
public ListSortDirection SortDirection { get; set; }
}
} |
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 System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace bitirme.Models
{
public class otelresim
{
[Key]
public int otelresimId { get; set; }
public st... |
using Android.App;
using Android.Widget;
using Android.OS;
namespace S03_LayoutsAndBasicUI_3TextViews
{
[Activity(Label = "S03_LayoutsAndBasicUI_3TextViews", MainLauncher = true)]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle savedInstanceState)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FaceMaker.Classes
{
class Face
{
private string[] faceHairArray = new string[4];
private string[] faceEyesArray = new string[5];
private string[] faceNoseArray ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JointScript : MonoBehaviour
{
[SerializeField]
private SpringJoint posMuscle = null;
[SerializeField]
private SpringJoint negMuscle = null;
[SerializeField]
private Renderer jointRender = null;
[... |
using UnityEngine;
using System.Collections.Generic;
public static class UniqueIDManager
{
private static List<int> next_id;
static UniqueIDManager()
{
next_id = new List<int>();
NextGroup();
}
public static int NextGroup()
{
next_id.Add(0);
return next_id.Cou... |
using Plus.HabboHotel.Items;
namespace Plus.Communication.Packets.Outgoing.Rooms.Engine
{
internal class ItemUpdateComposer : MessageComposer
{
public Item Item { get; }
public int UserId { get; }
public ItemUpdateComposer(Item item, int userId)
: base(ServerPack... |
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 Proje
{
public partial class Login : Form
{
public Login()
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("TargetAnimUtils2")]
public class TargetAnimUtils2 : MonoBehaviour
{
public TargetAnimUtils2(IntPtr address) : this(address, "TargetAnimUtils2")
{
}
public TargetAnimUtils2(IntPtr address, strin... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PHNeutral.PackageHandler
{
/**
* Virtual representation of a file in the package. This is the base class for all items in the Package Structure
**/
class Pac... |
public abstract class CommandKisi
{
protected ReceiverKisi _receiverKisi;
public CommandKisi(ReceiverKisi receiverKisi)
{
this._receiverKisi = receiverKisi;
}
public abstract void Execute();
} |
using System;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation.Media;
namespace SimpleFace
{
public class Painter
{
private Bitmap bitmap;
public Painter(Bitmap Canvas)
{
bitmap = Canvas;
}
public int MeasureString(string text, Font font)
{
... |
using HouseParty.Client.Contracts.Questions;
using System.Collections.Generic;
namespace HouseParty.Client.Services.QuestionService
{
public interface IQuestionService
{
List<Question> GetQuestions(string userQuestionType);
int SubmitQuestion(QuestionInputViewModel viewModel);
void S... |
using System;
using System.Data.OleDb;
using System.IO;
using System.Xml;
using exportXml.Validari;
namespace exportXml.Exporturi
{
public class CAP4c
{
public static bool make_CAP4cxml(string strIdRol)
{
try
{
int codNomenclator=254;
stri... |
using System;
namespace Nmli.CollectionAgnostic
{
/// <summary>
/// Standard LAPACK (http://www.netlib.org/lapack/)
/// </summary>
/// <typeparam name="AT">Generic array type (eg pointer, managed array, etc)</typeparam>
public interface ILapack<AT>
{
#region Real, Symmetri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* http://bbbproject.sakura.ne.jp/wordpress/mitlicense
* @brief ネットワーク。ダミー。
*/
#if USE_PUN
#e... |
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 solution1
{
public partial class AjouterClient : Form
{
string connectionString = System.Configuration.Confi... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace NetDaemon.Common.Fluent
{
internal enum FluentActionType
{
TurnOn,
TurnOff,
Toggle,
SetState,
Play,
Pause,
PlayP... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MenuController : MonoBehaviour
{
GameObject _mainMenu;
GameObject _helpPage;
GameManager _gameManager;
AudioSource _buttonClick;
void Start()
{
_mainMenu = GameObject.FindGameObjectWithTag("Mai... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace llcom.Model
{
class Settings
{
public event EventHandler MainWindowTop;
private ... |
using UnityEngine;
using System.Collections;
public class FishEventFunctions : MonoBehaviour {
public EventManagement eventController;
public ResourceManager resourceManager;
public GameObject defaultConversation;
public ConversationManager conManager;
public ChoicesManager choiceManager;
public GameObject failureCo... |
using Android.OS;
using Android.Runtime;
using Android.Views;
using MvvmCross.Binding.Droid.BindingContext;
using MvvmCross.Droid.Shared.Attributes;
using MvvmCross.Droid.Support.V4;
using Tekstomania.Mobile.Core.ViewModels;
namespace Tekstomania.Mobile.Droid.Fragments
{
[MvxFragment(typeof(HomeViewModel), Resource... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using BASTA_dynamics_Userlib_db;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.WindowsAzure.Storage.Table;
namespace Bast... |
using SinavSistemi.DataAccessLayer;
using SinavSistemi.Entity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SinavSistemi.BusinessLogicLayer
{
public class OgretmenBLL
{
OgretmenDAL ogretmenD... |
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_44
{
public class Program
{
public static void Main()
{}
}
}
|
/// Copyright 2012-2013 Delft University of Technology, BEMNext Lab and contributors
///
/// 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... |
//
// 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;
namespace Dnn.ExportImport.Components.Entities
{
[Serializable]
public class ExportImportSetting
{
public string Settin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PrimeNumberPrinter.Program.Interfaces;
namespace UnitTests.MockClasses
{
public class FakeInputReader : IUserInput
{
public string GetUserInput(string prompt)
{
... |
using GameProj.Model;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GameProj.View
{
class CharacterView
{
Texture2D CharacterTexture;
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace OmniSharp.Extensions.JsonRpc
{
public class DelegatingRequestHandler<T, TResponse> : IJsonRpcRequestHandler<DelegatingRequest<T>, JToken>
{
private readonly Func<T, CancellationToken, Task<TRespons... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_RenderMode : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.RenderMode");
LuaObject.addMember(l, 0, "ScreenSpaceOverlay");
LuaObject.addMember(l, 1, "ScreenSpaceCamera");
LuaObject.addMember(l, 2... |
//
// 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 DotNetNuke.Collections.Internal;
#endregion
namespace DotNetNuke.ComponentModel
{
internal class ComponentBuilderCollection : ... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using BlockchainAppAPI.Models.Configuration;
namespace BlockchainAppAPI.Controllers.Configuration
{
[Authorize]
[Route("api/NavMenu")]
publi... |
//=============================================================================
//
// Copyright (c) 2017 QUALCOMM Technologies Inc.
// All Rights Reserved.
//
//==============================================================================
#if UNITY_EDITOR
using UnityEngi... |
using System;
using OpenTK;
namespace Calcifer.Engine.Particles.Emitters
{
/// <summary>
/// Basic point emitter, spreads particles randomly
/// </summary>
public class PointEmitter : IEmitter
{
private class Behavior : IBehavior
{
private PointEmitter parent;
... |
using System;
using System.Collections.Generic;
using System.Net.Mail;
using System.Text.RegularExpressions;
using StructureMap;
using System.Linq;
using System.Data.Linq;
using SubSonic.Security;
using SubSonic.Extensions;
namespace Pes.Core.Impl
{
public class Email : IEmail
{
string T... |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the source repository root for license information.
using System;
using System.IO;
using System.Linq;
using Vipr.T4TemplateWriter.Settings;
using Vipr.T4TemplateWriter.TemplateProcessor;
u... |
// LE TON NANG - 20194339
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using DTO;
using BUS;
namespace GUI
{
public partial class frmThongKeKhachHang : Form
{
public frmThongKeKhachHang()
{
InitializeComponent();
}
privat... |
using System;
using System.Linq;
using System.Text.Json;
namespace csharp
{
public static class Examples
{
class Person
{
public string FirstName { get; set; }
public string LastName { get; set; }
public DateTime DateOfBirth { get; set; }
}
p... |
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 UberFrba.Abm_Cliente;
namespace UberFrba.Facturacion
{
public partial class GrillaCliente_Fact... |
using System.Collections;
using UnityEngine.UI;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
#region Private Members
[SerializeField] private Slider _gasMeter;
[SerializeField] private int _gasReleaseDelay;
[SerializeField] private int _gasReleasePower;
[SerializeField] priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebPresentation.Models;
namespace WebPresentation.Controllers
{
public class EuclideanController : ApiController
{
public ExtendedEuclideanResult GetResult(decimal a... |
using CinemaA.Mails;
using CinemaA.Models;
using System.Threading.Tasks;
/*
* Service used for sending emails.
*/
namespace CinemaA.Services
{
public interface IMailService
{
Task SendEmailMessageAsync(string userName,
string userEmail,
string newTicketStatus,
Se... |
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlueSportApp.Services.API
{
public interface IAPIService
{
public IRestResponse GetDataFromAPI(string path);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using kemuyi.DAL;
using kemuyi.Models;
namespace kemuyi.BLL
{
public class QuestionManager
{
public static void Add(int QuestionID, string Content, string Answer)
{
Qu... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace Eventual.EventStore.Readers.Tracking
{
public class EventStreamTrackedReaderDbConcurrencyException : EventStreamTrackedReaderDbException
{
public const string DefaultMessage = "A concurrenc... |
using System;
using kolekcje;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass()]
public class GraczTests
{
[TestMethod()]
public void ToStringTest()
{
try
{
var gracz = new Gracz("Zdzislawa", "Kowalska");
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ProgressBar : MonoBehaviour
{
public Image bar;
/// <summary>
/// 设置进度条填充百分比 value为填充百分比
/// </summary>
/// <param name="value"></param>
public void SetValue(float value)
{
... |
namespace Phonebook
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class ConsolePrinterVisitorWithoutNewLine : IPrinterVisitor
{
public void Visit(string currentText)
{
Console.Write(c... |
using System.Collections;
using UnityEngine;
public class ChildGenerator : MonoBehaviour
{
public GameObject childPrefab;
public GameObject childOriginPrefab;
private GameObject enemiesHolder;
public int childsPerRound;
public float timeBetweenRounds;
public void Start()
{
enemies... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.