text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ZooManager
{
public static class Input
{
public static int GetChoiceNumber()
{
int num = ... |
namespace Chloe.Dtos
{
public class RowSetDto
{
}
}
|
using Modulus2D.Entities;
using Modulus2D.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Modulus2D.Input;
using Modulus2D.Graphics;
namespace Modulus2D.Core
{
public class State
{
private Window graphics;
private ... |
using EntityLayer.AdminDetails;
using EntityLayer.DataAccess;
using EntityLayer.IAdminRepositorys;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AdyMfb.Controllers
{
[Route("api/[controlle... |
using System;
using System.Collections.Generic;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
namespace SeleniumTests
{
class DropDownListSelection
{
static void Main(string[] args)
{
IWebDriver driver = new FirefoxDriver();
dri... |
public class Solution {
public int MajorityElement(int[] nums) {
int cnt = 1, curr = nums[0];
for (int i = 1; i < nums.Length; i ++) {
if (nums[i] == curr) {
cnt ++;
} else {
cnt --;
if (cnt == 0) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using RapidCMS.Core.Abstractions.Config;
using RapidCMS.Core.Enums;
using RapidCMS.Core.Extensions;
using RapidCMS.Core.Models.Config;
using RapidCMS.Core.Models.Setup;
namespace RapidCMS.Core.Helpers
{
internal static class ConfigProcessingHelper... |
public class TargetedSquare {
public readonly Position pos;
public readonly bool isPriority;
public TargetedSquare(Position pos, bool isPriority) {
this.pos = pos;
this.isPriority = isPriority;
}
}
|
using SGCFT.Dados.Mapeamentos;
using SGCFT.Dominio.Entidades;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Data.Entity.Validation;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SGCFT.Dado... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FSDP.DATA.EF.Repositories
{
public class CoursesRespository : GenericRepository<Cours>
{
public CoursesRespository(DbContext db) : base(db) { }
... |
using Galeri.Entities.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Galeri.Entities.Concrete
{
public class Tasit:IEntity
{
public Tasit()
{
HasarKayitlari = new List<HasarKayit>();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MonsterCollector : MonoBehaviour {
MonsterCalculator mcalc;
void Start () {
mcalc = FindObjectOfType<MonsterCalculator>();
}
public void OnTriggerEnter(Collider collide) {
if (collide.gameObject.CompareTag ("... |
namespace Merchello.UkFest.Web.Models
{
using System;
/// <summary>
/// The product base.
/// </summary>
public interface IStoreProduct
{
/// <summary>
/// Gets or sets the key.
/// </summary>
Guid Key { get; set; }
/// <summary>
/// Gets or set... |
using System;
using System.Collections;
namespace Compi_segundo
{
public class TipoDato
{
string name;
string valor;
string tipo;
public TipoDato ()
{
name = "";
valor = "";
tipo = "null";
}
public TipoDato (string name,string valor,string tipo)
{
this.name = name;
this.valor = valor;... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestingSample.Test
{
[TestClass]
public class UnitTest
{
[TestMethod]
[TestCategory("Test Or Not To Test")]
[Owner("John Doe")]
public void DinnerTime_Return()
{
//Arrage
... |
namespace BDTest.Exceptions;
public class MissingStoryTextArgumentException : BDTestException
{
private readonly string _argument;
public override string Message => $"An argument has not been added to the story attribute: {_argument}";
public MissingStoryTextArgumentException(string argument)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMove : MonoBehaviour
{
public float moveSpeed = 5f;
private Rigidbody2D rb;
public Transform playerGraf;
private AudioSource audioSource;
[HideInInspector]
public Vector2 movement;
private f... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[CreateAssetMenu(fileName = "Color", menuName = "Variable/Color", order = 1)]
public class ColorVariable : VariableBase<Color> {
public static implicit operator Color(ColorVariable d) => d == null ? new Color(0.9725491f, 0, 0.9450981f) : d.value;
#i... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Core.Nfc.Model {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.core.nfc.model']/class[@name='CommandApdu']"
[global::Android.Runtime.Register ("ru/tinkoff/core/nfc/model/CommandApdu", DoNotGener... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Reacher.Collector.App.DI;
using Reacher.Shared.Utils;
using Reacher.Source.Twitter;
using Reacher.Storage.File.Json;
using Reacher.Storage.File.Json.Configuration;
using System;
using Sys... |
using System;
namespace ScriptKit
{
public class JsBreakpoint
{
public JsBreakpoint(uint scriptId,uint line,uint column)
{
this.ScriptId = scriptId;
this.Line = line;
this.Column = column;
}
public uint ScriptId { get; private set; }
... |
using System.Drawing;
namespace CarSalesman
{
public class Car
{
public Car(string model, Engine engine)
{
this.Model = model;
this.Engine = engine;
this.Weight = -1;
this.Color = "n/a";
}
public string Model { get; }
pu... |
using UnityEngine;
using System.Collections;
using Frederick.ProjectAircraft;
public class FinishPanelCtrl : MonoBehaviour {
public FinishPanelNum PanelNum = FinishPanelNum.FinishPanel;
TweenPosition FinishPanelTPos;
bool IsInitHidden;
public static bool IsCanLoadSetPanel;
public TweenScale FinishTScl;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JustRipeFarm
{
public class PanelItem
{
private string pnName;
private string pnTitle;
private string id;
private string updateField;
private s... |
using System;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Base;
namespace Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual
{
/// <summary>
/// Representa el objeto Logic de Requerimiento
/// </summary>
/// <remarks>
/// Creación : GMD 20150515 <br />
/// Modificación : <br ... |
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 ComponentFactory.Krypton.Toolkit;
using TY.SPIMS.Controllers;
using TY.SPIMS.Utilities;
using TY.SPIMS.Entities;
using TY.SPIMS.Cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pjank.BossaAPI.DTO
{
/// <summary>
/// Obiekt transportowy do przekazywania (między modułami biblioteki) aktualizacji stanu notowań rynkowych.
/// Używany jako "podobiekt" w MarketData - informuje o pojedynczej... |
using UnityEngine;
using System.Collections;
[SelectionBase]
public class Portal : MonoBehaviour {
public Portal ExitPortal;
public Vector3 EntrancePoint { get; private set; }
public bool IsActive { get; private set; }
[SerializeField]
private float materialMoveSpeed = 1;
private Mater... |
using UnityEngine;
using System.Collections;
using System;
public interface IMessageObsever {
void OnMessage(CMessages.eMessages m,object data);
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Allyn.Application.Dto.Manage.Basic
{
/// <summary>
/// 表示菜单实体的数据传输对象.
/// </summary>
[DataContractAttribute(Namespace = "http://www.allyn.com.cn/menu-select-tree-dto")]
... |
using UnityEngine;
public class AttackTrigger : MonoBehaviour {
public EnemyAI enemyAI { get; private set; }
void OnTriggerEnter2D(Collider2D col)
{
if (col.CompareTag("Enemy"))
{
enemyAI = col.GetComponent<EnemyAI>();
if (null != enemyAI)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Assets.Scripts.Models.Decor
{
public class Decor : BaseObject, IPlacement
{
public string PrefabTemplatePath { get; set; }
public string PrefabPath { get; set; }
public Decor()
{
... |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Rexxar.Identity.Data
{
public class RexxarRole:IdentityRole<Guid>
{
}
}
|
using Fingo.Auth.DbAccess.Context.Interfaces;
using Fingo.Auth.DbAccess.Models;
using Fingo.Auth.DbAccess.Models.Base;
using Fingo.Auth.DbAccess.Models.CustomData;
using Fingo.Auth.DbAccess.Models.Policies;
using Microsoft.EntityFrameworkCore;
namespace Fingo.Auth.DbAccess.Context
{
public class AuthServerContext... |
// Published under the terms of GPLv3 Stefan Bäumer 2023
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace webuntis2BlaueBriefe
{
class Program
{
public static string User = System.Security.Principal.WindowsIdentity.GetCurrent().Nam... |
using gView.Framework.Data;
using gView.Framework.Geometry;
using gView.GraphicsEngine;
using gView.GraphicsEngine.Abstraction;
using gView.GraphicsEngine.Filters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace gView.... |
public class Hardware : Item
{
}
|
using CaseManagement.DataObjects;
using CaseManagement.Models.SQL;
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... |
using DFrame;
namespace DPYM
{
/*
* DPYM 命名空间为 Pick Your Mouse 项目相关代码,部分代码在项目结束后会转为 DFrame
*
*
*
*
*
*/
public class DPYMSystem
{
public static bool Validate()
{
if (EUID.EUID_End > (EUID)(-5))
{
DLogger.MDE... |
using System;
namespace Collections
{
class Program
{
static void Main(string[] args)
{
Arrays();
}
static void Arrays()
{
int[] intArray = new int[4]; //all entries initialized to default value 0
intArray[0] = 3;
intArr... |
using _7DRL_2021.Behaviors;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Curryfy.PartialSubsetFuncExtensions;
namespace _7DRL_... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Core;
using System.Data.SqlClient;
namespace DBCore
{
public static class EmployeeDB
{
/// <summary>
/// получение информации о текущем сотруднике по ID
/// </summary>
/// <param name="id_user">... |
using System;
public interface GInterface0
{
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyWebApp.Data.Entities.QueryResultEntities
{
public class ForeignKeyQueryResult
{
public string FkName { get; set; }
public string SourceTableName { get; set; }
... |
using System;
namespace RoShamBo
{
// Player that randomly generates R, P, or S
public class TheSharks : Player
{
public override RoShamBo GetRoshamBo()
{
var rnd = new Random();
int roShamBoNumberValue = rnd.Next(0, 2);
Enum.TryParse<RoShamBo>(roShamBo... |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Support;
using System.Xml.Linq;
/*
Copyright (c) 2011-2012, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Re... |
using Exp001_Sb_Contract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exp001_Sb_Publisher
{
class SomethingHappenedMessage : ISomethingHappened
{
public string What { get; set; }
public DateTime When { get; set; ... |
using Eto.Drawing;
using Eto.Forms;
using Serilog.Core;
using Titan.Account.Impl;
using Titan.Logging;
namespace Titan.UI._2FA
{
public class _2FAForm : Form
{
private Logger _log;
public _2FAForm(ProtectedAccount account, string eMail = null)
{
Title = "Titan - 2FA Actio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace ConsoleAppSpace_Objects
{
/// <summary>
/// classe relativa ai solo oggetti in movimento
/// </summary>
class Dinamico : Oggetto... |
using BenefitDeduction.Employees;
using BenefitDeduction.Employees.FamilyMembers;
using BenefitDeduction.EmployeesSalary;
using System;
using System.Collections.Generic;
using System.Text;
namespace BenefitDeduction.EmployeeBenefitDeduction.Employees.Calculators
{
public class CalculateDeductionItemsRespository :... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
public class Card : MonoBehaviour
{
public Vector3 CardPos;
Button m_Btn;
int cardNumber;
public int cardType = 1;
public bool isUpgrade;
void Start()
{
CardRo... |
using ShopTT.Areas.Admin.Models;
using ShopTT.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ShopTT.Areas.Admin.Controllers
{
public class KhachHangController : Controller
{
// GET: Admin/KhachHang
private ShopTTEnti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NotSoSmartSaverAPI.DTO.GroupsDTO
{
public class RemoveUserFromGroupDTO
{
public string userId { get; set; }
public string groupId { get; set; }
}
}
|
using System.Windows;
using System.Windows.Data;
namespace Crystal.Plot2D
{
public class SelfBinding : Binding
{
public SelfBinding()
{
RelativeSource = new RelativeSource { Mode = RelativeSourceMode.Self };
}
public SelfBinding(string propertyPath) : this()
{
Path = new PropertyP... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEditor;
using UnityEngine.SceneManagement;
public class PlayerChangeSpeed : MonoBehaviour
{
private string sceneToTest = "Game";
private GameObject speedpickup = AssetD... |
using System;
using System.Collections.Generic;
using System.Text;
namespace momo.Entity
{
/// <summary>
/// 泛型实体基类
/// </summary>
/// <typeparam name="TPrimaryKey">主键</typeparam>
public abstract class EntityBase<TPrimaryKey>
{
/// <summary>
/// 主键
/// </summary>
... |
using UnityEngine;
using System.Collections;
public class RateItemView : MonoBehaviour {
public GameObject starActive;
private int index;
public System.Action<int> onStarClick;
public void RateActive (bool isActive = false) {
if (isActive)
starActive.SetActive(true);
else
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CSConsoleRL.Enums;
using CSConsoleRL.Entities;
using SFML.Window;
namespace CSConsoleRL.Events
{
public class KeyPressedEvent : IGameEvent
{
public string EventName { get { return "KeyPres... |
using DemoWebAPIPrj.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
namespace DemoWebAPIPrj.Controllers
{
public class GenMorimController : ApiController
{
... |
using System;
namespace Loan
{
class Program
{
static void Main(string[] args)
{
double monthlyInterestRate = Convert.ToDouble(Console.ReadLine());
int years = int.Parse(Console.ReadLine());
double loanAmount = Convert.ToDouble(Console.ReadLine());
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Lab06_RemoteControl
{
class Door
{
private Button status;
public Door(Button status)
{
this.statu... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Components;
using RapidCMS.Core.Abstractions.Config;
using RapidCMS.Core.Abstractions.Data;
using RapidCMS.Core.Abstractions.Repositories;
using RapidCMS.Core.Enums;
using RapidCMS.Core.Exceptions;
using RapidCMS.Core.Extensions;
using RapidCMS... |
using SciVacancies.WebApp.Models.Analythic;
using System.Collections.Generic;
using MediatR;
namespace SciVacancies.WebApp.Queries
{
public class AverageVacancyAndPositionAnalythicQuery : SciVacancies.Services.Elastic.VacancyPositionsAnalythicQuery, IRequest<List<PositionsHistogram>>
{
}
public cl... |
using System.Threading.Tasks;
using System.Net.NetworkInformation;
namespace System.Net
{
/// <summary>Provides extension methods for sending Wake On LAN signals (magic packets) to a specific <see cref="IPEndPoint"/>.</summary>
public static class IPEndPointExtensions
{
#region Wol
/// <s... |
using System;
using SciVacancies.WebApp.ViewModels;
namespace SciVacancies.WebApp
{
public static class ViewModelsExtensions
{
private static bool CheckRequiredFilled(int? positionTypeId, int? researchDirectionId, int? regionId, string tasks, int? salaryFrom, int? salaryTo, string contactName, string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Card_prj
{
class Program
{
static void Main(string[] args)
{
/* var card = new Card(CardSuit.Heart, 8);
card.Print();
if ... |
// Bar POS, class TablesClass
// Versiones:
// V0.01 21-May-2018 Moisés: Basic skeleton, updated from
// TablesScreen
namespace BarPOS
{
public class TablesClass
{
public string ImagePath { get; set; }
public TableList Tables { get; set; }
public ProductsList Products { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GardenControlCore.Models
{
public class TemperatureReading
{
public DateTime ReadingDateTime { get; set; }
public double TemperatureC { get; set; }
... |
namespace Tutorial
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
public enum IteratorState
{
Create = -2,
Start = 0,
MoveNext = 1,
End = -1,
Error = -3
}
#if DEMO
public class ... |
using System;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using Airelax.Infrastructure.ThirdPartyPayment.ECPay;
using Airelax.Infrastructure.ThirdPartyPayment.ECPay.Response;
using Lazcat.Infrastructure.Reflection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;
using Ne... |
using System.Data.Common;
namespace Kaax.Tests
{
public partial class DependencyInjectionTests
{
private class TestDbProviderFactory: DbProviderFactory
{
public override DbConnection CreateConnection()
{
return new TestDbConnection();
}
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using Infrastructure.Data.Entities;
namespace Infrastructure.Data
{
public class MedyanaDbContext:DbContext
{
public MedyanaDbContext(DbContextOptions<MedyanaDbContext> opti... |
using System;
using System.Windows.Input;
namespace UdpSimulator.Utilities
{
/// <summary>
/// デリゲートを呼び出し、コマンドを他のオブジェクトに中継(Behavior用).
/// </summary>
/// <typeparam name="T">Type.</typeparam>
public class RelayCommand<T> : ICommand
{
private readonly Action<T> execute;
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Darkness : MonoBehaviour
{
public PacStudentController pacStudentController;
// Start is called before the first frame update
void Start()
{
pacStudentController = GameObject.Find("PacStudent").GetComp... |
using System;
using SFA.DAS.Authorization.ModelBinding;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.ProviderCommitments.Web.Models.Apprentice
{
public class IndexRequest : IAuthorizationContextModel
{
private int _pageNumber = 1;
public long ProviderId { get; set; }
public in... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using ClassLibraryAandelen.basis;
using ClassLibraryAandelen.exceptions;
namespace ClassLibraryAandelen.classes
{
//klasse dat dient om alle aandelen voor te stellen
[Table("tblAan... |
namespace DataAccess.Migrations.ProductsContextMigrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialCreate : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.CartItems",
c => new
... |
using Linq2ArcObjects;
namespace ArcObjectsTest
{
public class TestArcObjectsContext : ArcObjectsContext
{
public TestArcObjectsContext()
{
TblBronTable = new TableClass<TblBron>(base.Workspace);
}
public TableClass<TblBron> TblBronTable { get; set; }
}
[Linq2ArcObjects.Mapping.Table(Name = "D_TBLBRO... |
using Android.App;
using Android.OS;
using MvvmCross.Droid.Views;
using ResidentAppCross;
using ResidentAppCross.Droid;
using ResidentAppCross.ViewModels;
namespace ResidentAppCross.Droid.Views
{
[Activity(Label = "Maintenance Request", Icon = "@drawable/maintenaceicon")]
public class MaintenanceRequestTypeS... |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
// Copyright (c) 2017, Stefan Fritsch
//
// 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 Soft... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace kindergarden.Models
{
public class answerActivityMessage
{
public int Id { get; set; }
public int activitiesId { get; set; }
public string messageText { get; set; }
public bool? is... |
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
/// <summary>
/// Set the audio output. Change will be applied after stop and play.
/// </summary>
[LibVlcFunction("libvlc_audio_output_set")]
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
... |
using System;
using System.Collections.Generic;
using Xero.Api.Core.Model;
using Xero.Api.Core.Model.Status;
using Xero.Api.Core.Model.Types;
namespace CoreTests.Integration.BatchPayments
{
public abstract class BatchPaymentsTest : ApiWrapperTest
{
protected BatchPayment Given_a_batch_payment(decimal i... |
using UnityEngine;
using System.Collections;
public class SoundManager/*: MonoBehaviour*/
{
//public AudioSource EffectsSrc;
//public AudioSource MusicSrc;
public static SoundManager instance {
get{
if(_soundmanger==null){
_soundmanger = new SoundManager();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace UseFul.Forms.Welic
{
[ToolboxBitmap(@"S:\Sistemas dotNet\Figuras\iMasktextbox.ico")]
public partial class Mas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ClipModels
{
public class CommType
{
//Status keys
public const int COMMERCIAL = 0;
public const int EDITORIAL = 1;
public const int BILLBOARD = 2;
//Clip Status di... |
using Amazon.S3;
using Amazon.S3.Model;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Web;
namespace OpHomeSecurity.Web.Amazon
{
public class AmazonService
{
private string profileName = ConfigurationManager.Ap... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
namespace DemoWebApp.Models.Fluent
{
[ExportDemo("query examples (fluent)")]
public class QueryExamples : IDemo
{
private FamilyMembersWithFluentConfiguration _context;
#region Implemen... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameUI : MonoBehaviour
{
[SerializeField]GameObject gameUI;
[SerializeField]GameObject mainMenu;
[SerializeField]GameObject playerPrefab;
[SerializeField]GameObject playerStartPosition;
void Start()
{
ShowMainMenu ... |
// <copyright file="Point.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
namespace WaterTrans.GlyphLoader.Geometry
{
/// <summary>
/// Represents an x- and y-coordinate pair in two-dimensional space.
/// </summary>
public struct Point
{
/// <summary>
/// Initializes... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiChain.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.Messages
{
pu... |
using System;
using System.Linq;
namespace FirstTask
{
class AnotherExampleClass : ExampleClass
{
public override void ConvertBoolVariableToString(bool isTrue)
{
string boolAsString = isTrue.ToString();
Console.WriteLine(boolAsString);
}
}
}
|
using Assets.Scripts.Models.ResourceObjects;
using Assets.Scripts.Models.ResourceObjects.CraftingResources;
using System.Collections.Generic;
namespace Assets.Scripts.Models.Decor
{
public class SheepRug : Decor
{
public SheepRug()
{
LocalizationName = "sheep_rug";
Icon... |
using System;
using System.Linq;
namespace HW_7
{
class Program
{
static void ArrayHill(int[] array)
{
int[] newArray = array.OrderBy(i => i).ToArray();
for (int i = 0, j = 0, k = 1; i < array.Length; i++)
{
if (i % 2 == 0)
... |
using System.Reflection;
[assembly: AssemblyTitle("SmallBeachFarm")]
[assembly: AssemblyVersion("1.2.2")]
|
using UnityEngine;
using System.Collections;
public abstract class ElementoCinematica : MonoBehaviour
{
public static bool Ejecutando;
public abstract IEnumerator Mostrar ();
}
|
using FootballTAL.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FootballTAL.BusinessLogic
{
public class FindDifference
{
public IList<FootballClubExtenions> FindSmallestForAgainst(IList<FootballClubExtenions> clubs)... |
using System;
using Microsoft.Maui.Controls;
namespace MauiApp
{
public partial class SecondPage : ContentPage
{
public SecondPage()
{
InitializeComponent();
}
private void ChangePageTitleButton_Clicked(object sender, EventArgs e)
{
this.Title = "New Title!";
}
}
}
|
using System;
using Microsoft.WindowsAzure.Storage.Table;
namespace BlazorApp.Shared
{
public class WeatherForecast : TableEntity
{
public double Humidity { get; set; }
public double TemperatureC { get; set; }
public string HumidityLevel { get; set; }
public int Temp... |
using BB.DigitalMirror.API.Controllers;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BB.DigitalMirror.Business
{
public interface IContractRepository
{
Task<List<ContractModel>> GetContracts();
Task<ContractModel> GetContractById(int id);
Task<ContractModel>... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.