text stringlengths 13 6.01M |
|---|
using System.Linq;
namespace SolidabisChallenge
{
class ConsecutiveVowelAnalyzer : ISentenceAnalyzer
{
public bool CanBeFinnish(Sentence sentence)
{
foreach (string word in sentence.DecipheredWords)
{
int consecutiveVowelCount = 0;
foreac... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DomainValueCategoryEventListener.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ---------------------------------------------------------------... |
namespace Frontend.Core.Helpers
{
public interface IDirectoryCopyHelper
{
void DirectoryCopy(string sourceDirName, string destDirName, bool copySubDirs, bool overwrite);
}
} |
namespace SkillsGardenDTO.Response
{
public class WorkoutListResponse
{
public int Id { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public int Exercises { get; set; }
}
}
|
//
// 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;
using System.Web.UI;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Security;
namespace DotNetNuke.Modules.RazorHost
{
[Obsolete("... |
using Amqp;
using Amqp.Framing;
using AmqpNetLiteRpcCore.Util;
using Serilog;
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace AmqpNetLiteRpcCore
{
internal class RpcClient : RpcBase, IRpcClient
{
private ISession _session = null;
... |
using System.ComponentModel.DataAnnotations;
namespace Socialease.ViewModels
{
public class PersonViewModel
{
public int Id { get; set; }
[Required]
[StringLength(255, MinimumLength = 1)]
public string Name { get; set; }
public string PhoneNumber { get; set; }
pu... |
using System;
using System.IO;
namespace FileInfoExamples
{
class Program
{
static void Main(string[] args)
{
string pathAndFileName = @"C:\Local\FileInfoExample1.txt";
FileInfo info = new FileInfo(pathAndFileName);
using (var _ = info.Create()) { }
... |
using ApiRestful.Test.ApiTestDtos;
using ApiRestful.Test.Providers;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Xunit;
namespace ApiRestful.Test
{
public class Integr... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using ArenaBase;
namespace ArenaBase
{
public class ActorsMap : IEnumerable<Actor>
{
public ActorsMap()
{
Map = new List<Actor>();
}
#region IEnumerable
... |
using System.Collections.Generic;
using CL.FormulaHelper.Attributes;
using MeasureFormulas.Generated_Formula_Base_Classes;
using MeasureFormula.Common_Code;
namespace CustomerFormulaCode
{
[Formula]
public class RiskLikelihoodManual : RiskLikelihoodManualBase
{
public override double?[] GetLikeliho... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public enum MonsterTypes { Wolf,Deer,Pig }
public enum ExploreAreaTypes { Reactor, RedForest, LeninCave }
public enum CollectableTypes { KeyCard, Branch, Fruit }
public enum QuestObjectiveOrder { All,ByID,AddOrder }
[System.Serializable... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Audio_Hit : MonoBehaviour
{
[SerializeField] AudioSource audioSrc_hit;
public void PlayHit(bool crit)
{
AudioClip clip;
if (crit)
clip = AudioClips.Instance.hit_crit;
else
... |
//using BLL.Interface.Entities;
//using System;
//using System.Collections.Generic;
//namespace BLL.Interface.Services
//{
// public interface IUsersToRoleService
// {
// }
//}
|
using System;
using System.Collections.Generic;
using System.Linq;
using syscrawl.Common.Extensions;
namespace syscrawl.Game.Models.Levels
{
public class NodePositionGroup
{
public readonly IEnumerable<Node> NodesLeftSide;
public readonly IEnumerable<Node> NodesRightSide;
public readon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace bookingMVC.Models
{
public class RoomPrice
{
public int Id { get; set; }
public decimal Price { get; set; }
public virtual ICollection<Room> Rooms
{
get;
set... |
using UnityEngine;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Ph.Bouncer
{
public static class AspectRatioHelper
{
public static float aspect = -1;
public static float GetAspectRatio()
{
Camera firstCamera = Camera.main ?? Camera.allCameras[0];
... |
using System.Collections.Generic;
using KRF.Core.DTO.Master;
using KRF.Core.Entities.AccessControl;
using KRF.Core.FunctionalContracts;
using KRF.Core.Repository;
namespace KRF.Persistence.RepositoryImplementation
{
public class RolePermissionRepository : IRolePermissionRepository
{
private readonly I... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Mail;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Web.Data;
using Web.Helpers;
using Web.Identity;
using... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using RiversideHealthCare.Models;
using PagedList;
using PagedList.Mvc;
namespace RiversideHealthCare.Controllers
{
public class NewsPublicController : Controller
{
NewsClass objNews = new NewsC... |
namespace TestApplicationDomain.Entities
{
public class Pricing : AuditEntity<string>
{
public string Code { get; set; }
public Room Room { get; set; }
public double BasePrice { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.scripts
{
public enum Opacity
{
None,
Low,
Medium,
High
}
public class OcclusionDescriptor : MonoBehaviour
{
public Opacity colliderOpa... |
// -----------------------------------------------------------------------
// <copyright file="Bank.cs" company="Hewlett-Packard">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace HouseCostCalculation
{
/// <summary>
/// TODO:... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
#if UNITY_EDITOR
using UnityEditor;
using System.Reflection;
#endif
public class UIScene : MonoBehaviour
{
public static string[] sceneNames = { "Game", "Earth" };
public GameObject m_template;
public void... |
// Copyright (c) 2008 Josh Cooley
// 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, modify, merge, publish... |
using System;
using System.Collections.Generic;
using System.Text;
namespace eLearning.Domain
{
public class StudentSubject : BaseClass
{
public virtual Student Student { get; set; }
public virtual Subject Subject { get; set; }
public virtual IList<Grade> Grades { get; set; }
p... |
namespace DDDSouthWest.Domain.Features.Account.Admin.ManageEvents.ListEvents
{
public class EventListModel
{
public int Id { get; set; }
public string EventName { get; set; }
public string EventFilename { get; set; }
}
} |
using UnityEngine;
namespace UnityUIPlayables
{
public class RectTransformPositionMixer
{
private Vector3 _blendedValue;
private float _totalWeight;
public void SetupFrame()
{
_blendedValue = Vector3.zero;
_totalWeight = 0.0f;
}
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Navigati... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Publicon.Core.Entities.Concrete;
namespace Publicon.Core.Entities.Configuration
{
public class NotificationConfiguration : IEntityTypeConfiguration<Notification>
{
public void Configure(EntityTypeBuilder<... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameControllers : MonoBehaviour
{
public GameObject gameOverPanel;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
}
... |
using MediatR;
namespace Publicon.Infrastructure.Commands.Models.User
{
public class DeleteAccountCommand : Command, IRequest { }
}
|
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Alpaca.Markets
{
public sealed partial class AlpacaTradingClient
{
/// <summary>
/// Gets list of watch list objects from Alpaca REST API endpoint.
/// </summary>
///... |
using PDV.CONTROLER.FuncoesAndroid;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades;
using PDV.RETAGUARDA.WEB.AppContext;
using System.Web.Http;
using System.Web.SessionState;
namespace PDV.RETAGUARDA.ANDROID.Controllers
{
[RoutePrefix("api/usuariocontroller")]
public class UsuarioController : ApiController, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SolarWindsOnlineTest
{
public interface IInterface1
{
void Fun();
}
public interface IInterface2 : IInterface1
{
void Fun();
}
public class Class1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace console
{
public class _008_ConverToBinaryTree
{
/// <summary>
/// Given an array where elements are sorted in ascending order, convert it to a height balanced BST.
/// </summar... |
namespace News.Tests.Api
{
using News.Api.Controllers;
using Xunit;
public class EndpointTests
{
[Fact]
public void NewsControllerAll_ReturnOkStatusCode()
{
var newsController = new NewsController(I);
}
}
}
|
using DFe.Utils;
using MetroFramework;
using MetroFramework.Forms;
using NFe.Classes.Servicos.Recepcao;
using PDV.CONTROLER.Funcoes;
using PDV.CONTROLLER.EVENTONFE.Classes;
using PDV.CONTROLLER.EVENTONFE.Eventos;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades;
using PDV.VIEW.App_Context;
using System;
using System.Te... |
using Project3.Classes.Sorting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Project3.Classes.Arrays
{
public sealed class SelectionSort : SortingBase
{
public SelectionSort()
{
Name = "Se... |
namespace Demo.DynamicCSharp.CommandLine
{
public interface ILogClient
{
void Error(string message, params object[] args);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.ComponentModel;
using Google.Apis.Translate;
namespace Naruto_Quiz
{
p... |
using System;
using System.Threading.Tasks;
using FictionFantasyServer.Models;
namespace FictionFantasyServer.Services.Interfaces
{
public interface IBookIntroductionService
{
Task UpdateBookIntroduction(Guid bookId, string body);
Task<BookIntroduction> GetBookIntroduction(Guid bookId);
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace innovation4austria.web.App_Code
{
public class Const
{
public const string TEMPDATA_ERROR = "error";
public const string TEMPDATA_SUCCESS = "success";
public const string TEMPDATA_... |
/*
* Created by SharpDevelop.
* User: USER
* Date: 09/27/2018
* Time: 07:37
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
namespace dal
{
/// <summary>
/// Description of connectionstringdto.
/// </summary>
public abstract class connectionstringdto
{
... |
using System;
namespace Architecture.Data
{
[Serializable]
public partial struct Quaternion
{
public float x;
public float y;
public float z;
public float w;
public Quaternion(Quaternion quaternion)
{
x = quaternion.x;
y = qu... |
using System.Reflection.PortableExecutable;
namespace _016_ClassiAstratte_FigureSolide {
public abstract class Solido {
public double pesoSpecifico;
public double Peso() {
return pesoSpecifico * Volume();
}
public abstract double Volume();
public abstract doubl... |
using Peppy;
using Peppy.SqlSugarCore;
using SqlSugar;
using System;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Options extensions
/// </summary>
public static class OptionsExtensions
{
/// <summary>
///
/// </summary>
/// <param name="op... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Room_Locker : MonoBehaviour
{
public MovingWalls[] m_movingWalls;
[SerializeField]
private List<GameObject> enemies;
[SerializeField]
private List<Health> enemyHealth;
public int playerID;
pr... |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Framework.CIL;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace Mosa.Compiler.Framework.Stages
{
/// <summary>
/// Operand Assignment Stage
/// </summary>
public sealed class CILO... |
using NFe.Classes.Protocolo;
using NFe.Danfe.Fast.NFCe;
namespace PDV.CONTROLLER.NFCE.Util
{
public class RetornoTransmissaoNFCe
{
public decimal IDMovimentoFiscal { get; set; }
public decimal IDVenda { get; set; }
public NFe.Classes.NFe NFe { get; set; }
public protNFe Protoco... |
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 MassSpectrometer
{
public partial class Form1 : Form
{
public Form1()
... |
using Swiddler.Common;
using Swiddler.DataChunks;
namespace Swiddler.Channels
{
public class SessionChannel : Channel
{
public bool IsActive => Observers.Count > 0;
public SessionChannel(Session session) : base(session)
{
DefaultFlow = TrafficFlow.Outbound;
}
... |
using Contoso.Domain;
namespace Contoso.Bsl.Business.Requests
{
public class SaveEntityRequest : BaseRequest
{
public EntityModelBase Entity { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BasicProgramDay5
{
public class Division
{
public void DivisionProblem()
{
int Divisor, Divided;
double Remainder, Quotient;
... |
using CoreFrameWork.Modularity;
using System;
using System.Collections.Generic;
using System.Text;
namespace CoreFrameWork.EventBus.Local
{
/// <summary>
/// 核心事件总线本地模块
/// </summary>
[DependsOn(typeof(CoreEventBusModule))]
public class CoreEventBusLocalModule: CoreModuleBase
{
/// <su... |
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// VisualNovelToolkit /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;
/// <summary>
/// ITransition.
/// </summary>
public class ITr... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace LearningEnglishMobile.Core.Services.OpenUrl
{
public interface IOpenUrlService
{
Task OpenUrlAsync(string url);
}
}
|
namespace Kowalski.Models
{
/// <summary>
/// Voice output formats.
/// </summary>
public enum AudioOutputFormat
{
/// <summary>
/// raw-8khz-8bit-mono-mulaw request output audio format type.
/// </summary>
Raw8Khz8BitMonoMULaw,
/// <summary>
/// raw... |
namespace NoScope360Engine.Core.Entites.Creatures.NPC
{
/// <summary>
/// Alive person, that can be stalker, bandit, player or somebody alse
/// </summary>
public class Person : Creature
{
/// <summary>
/// Inventory of this character
/// </summary>
public Inventory... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class DragSlotData : MonoBehaviour,IDropHandler {
public int slotID;
private Inventory mInventory;
public void OnDrop(PointerEventData eventData)
{
mInventory =... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// 인게임에서 플레이어들의 위치에 따라 줌인아웃
/// </summary>
public class CameraController : MonoBehaviour
{
[SerializeField]
private List<GameObject> targets;
[SerializeField]
private Vector2 orthoSizeRange;
private void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Project124125125.Models
{
public class User
{
public int Id { get; set; }
[Required(ErrorMes... |
using System.Collections.Generic;
namespace Prototype
{
internal class AdministradorPrototipo
{
private readonly Dictionary<string, IPrototipo> prototipos = new Dictionary<string, IPrototipo>();
public AdministradorPrototipo()
{
Persona persona = new Persona("Neri", 30);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using WaitingListBot.Data;
namespace WaitingListBot.Web.Areas.Identity.Pages
{
public cla... |
#region Usings
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Zengo.WP8.FAS.Controls;
using Zengo.WP8.FAS.Helpers;
using System;
using System.Windows;
using System.Windows.Navigation;
using Zengo.WP8.FAS.Resources;
#endregion
namespace Zengo.WP8.FAS
{
public partial class PasswordResetPage ... |
using System;
using NServiceBus.Saga;
#region OrderSagaDataRavenDB
public class SequenceSagaData : ContainSagaData
{
[Unique]
public string SequenceId { get; set; }
public int Latest { get; set; }
}
#endregion |
using Command.Entities.Interfaces;
using System;
namespace Command.Entities
{
public class Control
{
private ICommand simpleCommand;
private ICommand complexCommand;
public void SendSimpleCommand(ICommand command)
{
this.simpleCommand = command;
}
p... |
using heitech.LinqXt.Enumerables;
using heitech.MediatorMessenger.Interface;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace heitech.MediatorMessenger.Implementation.Mediator
{
///<summary>
/// Implementation of the Messenger reliant Mediator
///</summary>
inter... |
/*
* Copyright (c) 2019 Samsung Electronics Co., Ltd 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
*
* Unles... |
/*
* ComplexDouble.cs
*
* Copyright (c) 2003-2005, dnAnalytics. All rights reserved.
*/
#region Using directives
using System;
using System.Runtime.InteropServices;
using System.Text;
#endregion Using directives
namespace Nmli.Complex
{
///<summary>complex double type.</summary>
///<remarks... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using UnityEditor;
using UnityEngine;
namespace EnhancedEditor.Editor
{
/// <summary>
/// Custom <see cref="TagGroup"/> drawer.... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Xunit;
namespace BAMCIS.Util.Optional.Test
{
public class OptionalDotNetTests
{
private string EmptyActionString = "";
[Fact]
public void TestConstructor()
... |
using System.Collections.Generic;
using IdentityServer4;
using IdentityServer4.Models;
namespace ServiceDesk.Identity
{
public class Config
{
public static IEnumerable<ApiResource> GetApiResources(string api)
{
return new List<ApiResource>
{
new ApiResou... |
using System;
namespace Protogame.SHMUP
{
public class ShmupWorld : World
{
/// <summary>
/// A reference to the player entity.
/// </summary>
public Player Player { get; private set; }
/// <summary>
/// Spawns a specified player at the specified location, repla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using System.Configuration;
using System.Data.SqlClient;
using System.IO;
namespace solution1.Prenom.import_export
{
public partia... |
using NUnit.Framework;
using System;
using System.Linq;
using Npgsql.CrateDb;
using System.Data;
using Npgsql.Logging;
using NpgsqlTypes;
namespace Npgsql.CrateDbTests
{
/// <summary>
/// Tests for the CrateDb plugin.
/// </summary>
class CrateDbTypesTest : CrateIntegrationTest
{
[OneTimeS... |
using Ghost.Extensions;
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class NavMeshPathAgent
{
public NavMeshPath path
{
get;
private set;
}
public bool calcPending
{
get;
private set;
}
public Vector3[] corners
{
get;
private set;
}
public bool cor... |
using Newtonsoft.Json;
namespace Breezy.Sdk.Payloads
{
internal class DocumentStatusMessage
{
[JsonProperty("is_success")]
public bool IsSuccess { get; set; }
[JsonProperty("status")]
public DocumentStatus Status { get; set; }
[JsonProperty("client_upload_document")]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MoreMountains.CorgiEngine;
using MoreMountains.Feedbacks;
using PEventCenter;
public class Health_Demo : MonoBehaviour
{
[Header("生命值和感染值")]
public float InitialHealth = 100;
public float InitialInfection = 100;
[Tool... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// A class for any interactable object that doesn't modify at runtime.
/// </summary>
public class ClickHotspot : MonoBehaviour {
/// <summary>
/// Message to appear when hotspot is clicked
/// </summary>
public string na... |
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 2D描画。位置。
*/
/** Rect2D
*/
na... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Eze.Api.Dtos;
using Eze.Api.Entities;
using Eze.Api.Repositories;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Eze.Api.Controllers
{
[Api... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PhonemesAndStuff
{
public class VowelPhoneme : AbstractPhoneme
{
public VowelPhoneme(PhonemeSupporter phonemeSupporter, List<AbstractPhone> listOfPhones) : base(phonemeSupporter, listOfPhones)
{
}
}
}
|
using Faux.Banque.Domain.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Faux.Banque.Domain.ValueObjects
{
public sealed class CustomerId : IIdentity
{
public CustomerId(string value)
{
if (value == null) throw ne... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GoalKeeperPU : PowerUp
{
// ____________________Public ____________________________
// Static bool
public static bool spawnGK, activePlayer1GK, activeOtherGK;
// Game objects
public GameObject player1GK, o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.IO;
using System.Web;
namespace Zelo.Common.Common
{
public class ImageSave
{
/// <summary>
/// 保存图片并返回路径
/// </summary>
/// <param name="lstPic">图片数据</param... |
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Digite a nota da primeira prova:");
float prova1 = float.Parse(Console.ReadLine());
Console.WriteLine("Digite a nota da segunda prova:");
float prova2 = float.Parse(Console.ReadLine());
Console.WriteLine("Digite... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ItlaSocial.Models.ApplicationViewModels
{
public class SharedPublicationInfoViewModel
{
public int Id { get; set; }
[Required]
[Strin... |
/*using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace cancerTIC.Code
{
class Player : Actor
{
private Vector2 mDirection = Vector2.Zero;
private Vector2 mSpeed = Vector2.Zero;
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Morse.Library;
using System;
using System.IO;
using System.Threading;
namespace Morse.Tests {
[TestClass]
public class UnitTest {
[DataTestMethod]
[DataRow("in1.txt", "sol1.txt")]
[TestMethod]
public void TestDelegatePar... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_EffectorSelection2D : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.EffectorSelection2D");
LuaObject.addMember(l, 0, "Rigidbody");
LuaObject.addMember(l, 1, "Collider");
LuaDLL.lua_pop(l, 1);
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Paypal_API.API_Call;
using Paypal_API.Models;
namespace Paypal_API.Controllers
{
public class PaymentController : Controller
{
//
// GET: /Payment/
Order orderObj = new Orde... |
namespace TPLinCSharpSample
{
using System;
using System.Collections.Concurrent;
public class ToDoQueue
{
private readonly BlockingCollection<Trade> queue;
private readonly StaffLogsForBonuses staffLogs;
public ToDoQueue(StaffLogsForBonuses staffResults)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SynchWebService.Entity
{
public class Fk_OutRecord
{
public string recordId { get; set; }
public string outOrginalRecordId { get; set; }
public string parkId { get; set; }
public stri... |
using PDV.CONTROLER.Funcoes;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades;
using PDV.DAO.Enum;
using PDV.VIEW.App_Context;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Linq;
using MetroFramework.Forms;
using MetroFramework;
namespace PDV.VIEW.Forms.Cadastro
{
public ... |
/*
* Copyright 2017 University of Zurich
*
* 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 applicable law o... |
using System.Data.SQLite;
using DbMap;
// ReSharper disable RedundantAnonymousTypePropertyName
namespace SQLiteUpdate
{
internal class HistoryHandler
{
private const string Tablename = @"SQLiteUpdateHistory";
private const string Tabledefinition = @"
create table SQLiteUpdateHis... |
using Athena.Import.Extractors;
using FluentAssertions;
using NUnit.Framework;
namespace AthenaTests {
public class StoragePlaceCommentExtractorTests {
[Test]
public void Extract_ShouldReturnStoragePlaceComment() {
// Arrange
var text = "Biografia, autobiografia, pamiętnik... |
#region usings
using System;
using System.ComponentModel;
using System.Data.Linq;
using System.Data.Linq.Mapping;
#endregion
namespace Zengo.WP8.FAS.Models
{
[Table]
public class PositionRecord : INotifyPropertyChanged, INotifyPropertyChanging
{
// Define ID: private field, public property, and... |
using QLSV.BD_layer;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QLSV.BS_layer
{
class BLKhoa
{
DataProvider db = null;
public BLKhoa()
{
db = new DataProvider();
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.