text stringlengths 13 6.01M |
|---|
using Microsoft.AspNetCore.Mvc;
using Recommendations.Interfaces;
using Recommendations.ViewModels;
using System.Linq;
using System.Threading.Tasks;
namespace Recommendations.Controllers
{
public class HomeController : Controller
{
private readonly IBooksRepository _books;
private readonly IRe... |
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using Moq;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using VER_CHK.Controllers;
using VER_CHK.Interfaces;
using VER_CHK.Interfaces.Articles;
using VER_CHK.Models.Articles;
using VER_CHK.Services;
using Xunit;
namespace XUnitTestProje... |
using System.Windows;
using System.Windows.Input;
using BPiaoBao.Client.DomesticTicket.ViewModel;
using GalaSoft.MvvmLight.Messaging;
namespace BPiaoBao.Client.DomesticTicket.View
{
/// <summary>
/// 政策详情.xaml 的交互逻辑
/// </summary>
public partial class PolicyDetailWindow
{
/// <summary>
... |
namespace Exceptions
{
using System;
using System.Globalization;
class Test
{
static void Main(string[] args)
{
// example with integer number
int minValue = 1;
int maxValue = 100;
Console.WriteLine("Please, enter a number b... |
using System;
using System.Collections;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows;
using FirstFloor.ModernUI.Windows.Controls;
using Application = System.Windows.Forms.Application;
using S... |
using System;
using System.Collections.Generic;
using System.Data.SQLite;
using UBotPlugin;
namespace Advanced_SQLite
{
class SqLiteGetDataTable : IUBotCommand
{
public SqLiteGetDataTable()
{
_returnValue = "";
_parameters.Add(new UBotParameterDefinition("SQLite File Pa... |
using System;
using System.Collections.Generic;
using System.IO;
using KnapsackProblem.Common;
using KnapsackProblem.DecisionVersion;
using KnapsackProblem.Helpers;
using CommandLine;
using KnapsackProblem.Exceptions;
using KnapsackProblem.ConstructiveVersion.Strategies;
using KnapsackProblem.ConstructiveVersion;
nam... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class ShopButton : MonoBehaviour
{
static Player player;
static TargetHealth targetHealth;
static Weapon weapon;
public int UpgradePrice = 0;
public TextMeshPro PriceBanner;
public ElementScri... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace EjemploStatic
{
class Program
{
static void Main(string[] args)
{
try
{
int resultadoSuma = Calculadora.Suma(1, 2);
Calculadora.Media(new List<int>() { 1, 2, 5 ... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("DraftManaCurve")]
public class DraftManaCurve : MonoBehaviour
{
public DraftManaCurve(IntPtr address) : this(addr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QI.WikiScraping.Api.Infrastructure.ConfigSettings
{
/// <summary>
/// Define the sections to handle in the settings
/// </summary>
public sealed class QiConfigurationSections
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using OneIdentityApi.Models;
using OneIdentityApi.Services;
namespace OneIdentityApi.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class UserController : ControllerBase
{
private ... |
using Notifications.Wpf.Core.Controls;
using System.Windows;
namespace Notifications.Wpf.Core
{
/// <summary>
/// Interaction logic for NotificationsOverlayWindow.xaml
/// </summary>
public partial class NotificationsOverlayWindow : Window
{
/// <summary>
/// Constructor of the Not... |
namespace MataFome_NET.Model
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Orders
{
[System.Diagnostics.CodeAnalysis.SuppressMe... |
using HaloSharp.Model.Metadata;
namespace HaloHistory.Business.Entities.Metadata
{
public class ImpulseData : BaseDataEntity<long, Impulse>
{
public ImpulseData()
{
}
public ImpulseData(long id, Impulse data) : base(id, data)
{
}
}
}
|
// -----------------------------------------------------------------------
// <copyright file="CSharpProxyCompareKeyCodeWriter.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license informati... |
using System;
namespace ConsoleProcessRedirection
{
using System.Diagnostics;
using System.Threading;
using System.IO;
using System.Text;
using SystemInterface;
/// <summary>
/// Summary description for RedirectedProcess.
/// </summary>
public class RedirectedProcess
{
... |
/*
* OpenAPI definition
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Xunit;
using System;
using System.Linq;
using S... |
/* **********************************************
* 版 权:亿水泰科(EWater)
* 创建人:zhujun
* 日 期:2019/5/28 15:56:58
* 描 述:IRvavService
* *********************************************/
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using EWF.Entity;
using EWF.Util;
using EWF.Util.P... |
using System;
using System.Dynamic;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace TheGoodReturnModel
{
/// <summary>
/// Async Wrapper Extensions.
/// </summary>
public static class RunAsyncExtensions
{
public static object Metadata { get; private set; }
... |
using UnityEngine;
using System.Collections;
public class ShapeLookAt : MonoBehaviour {
public GameObject target;
public Mesh mesh;
public int[] indices;
public Vector3[] Verices;
public Vector2[] UvMaps;
// Use this for initialization
void Start()
{
this.mesh = new Mesh... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace StarLight_Ticket.Controllers
{
public class MapController : Controller
{
// GET: Map
public ActionResult Index()
{
return View();
}
//// GET... |
using BPiaoBao.DomesticTicket.Domain.Models.Orders;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.EFRepository.OrdersMap
{
public class TicketCarrierMap : EntityTypeConfiguration<Ticket_Carrier>
... |
using System;
namespace Degree.Models.WebApi
{
public class ApiRequest
{
public int page { get; set; }
public int itemPerPage { get; set; }
public string[] hashtags { get; set; }
public OrderSentiment OrderSentiment { get; set; }
}
public enum OrderSentiment
{
... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
[Attribute38("TransformOverride")]
public class TransformOverride : MonoBehaviour
{
public TransformOverride(IntPtr address) : this(address, "TransformOverride")
{
... |
using MesPublish.Properties;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.DirectoryServices;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace MesPublish
{
public partial class Form1 :... |
namespace JT7SKU.Lib.Twitch
{
public enum ChannelStatus
{
Online,
Offline
}
} |
using FluentNHibernate.Mapping;
using Psub.Domain.Entities;
namespace Psub.DataAccess.Map
{
public class DataParameterMap : ClassMap<DataParameter>
{
public DataParameterMap()
{
Table("DataParameter");
Id(m => m.Id).Column("Id");
Map(m => m.Name).Column("Nam... |
using System;
namespace Agenda.API.Helpers
{
public class ViolationUniqueKeyConstraintException : Exception
{
public ViolationUniqueKeyConstraintException()
{
}
public ViolationUniqueKeyConstraintException(string message) : base(message)
{
}
public Vio... |
using System;
using System.Collections.Generic;
namespace BLL.Validator
{
public static class BracketsValidator
{
const int invalidSumIndeces = -1;
const int validSumIndeces = 1;
const char openBracket = '(';
const char closeBracket = ')';
public static bool IsValidBr... |
using System;
class DivideBy7And5
{
static void Main()
{
//Write a Boolean expression that checks for given integer if it can be divided
//(without remainder) by 7 and 5 at the same time.
Console.WriteLine("Write a number and i will chack if it can be devi... |
// Copyright 2021 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using System;
using System.Collections.Generic;
using FluentAssertions;
using Xunit;
namespace LeeConlin.ExtensionMethods.Tests.DateTimeExtensions
{
public class Between_Should
{
[Fact]
public void Return_True_For_Test_Equals_Start_Of_Range()
{
var sut = new DateTime(1982, ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace LePapeo.Models
{
public class NotificacionGenericaViewModel
{
[ScaffoldColumn(false)]
public int Id { get; set; }
[Display(Prompt = "Tipo de Notif... |
using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Utilities.Enums;
using Utilities.Implementation.FileManagement.Result;
using Utilities.Interface;
using Utilities.Implementation.FileManagement;
namespace UtilitiesUnitTest.FileManagerTest
{
/// <summary>
/// Clase de pru... |
using Prospects.Cross.Infrastructure.Interfaces;
using Prospects.Cross.Infrastructure.Models.Reponses;
using Prospects.Cross.Infrastructure.Models.Responses;
using Prospects.Cross.Infrastructure.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
usin... |
// Install-Package MsgPack.Cli -Pre
// Install-Package Newtonsoft.Json -Pre
// Install-Package protobuf-net -Pre
// Install-Package ZeroFormatter -Pre
// Install-Package FsPickler.CSharp -Pre
// Install-Package FSharp.Core -Pre
// Install-Package Jil -Pre
// Install-Package Google.Protobuf -Pre
// Install-Package Wire... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SkillsGardenApi.Models
{
public class Exercise
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
... |
using HelperExtensionSample.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HelperExtensionSample.Controllers
{
public class HtmlHelperController : Controller
{
// GET: HtmlHelper
public ActionResult StringBuilderExte... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Mat : MonoBehaviour
{
static readonly int matVarientsCount = 4;
public enum Kind { Wood, Rock, Metal, Food };
public static Mat I;
private void Awake()
{
I = this;
C... |
namespace Contoso.Spa.Flow.Requests
{
public class NavBarRequest
{
public string? InitialModuleName { get; set; }
public int TargetModule { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OC.JQGrid
{
public class JQGridRequest
{
public string sidx { get; set; }
public string sord { get; set; }
public int page { get; set; }
public int rows { get; set; }
}
publ... |
using System.IO;
using System.Collections.Generic;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.World.Generation;
using Microsoft.Xna.Framework;
using Terraria.GameContent.Generation;
using Terraria.ModLoader.IO;
using System;
using System.Linq;
using Malum.Items;
namespace Ma... |
using Fairmas.PickupTracking.Shared.Services;
using Fairmas.PickupTracking.Shared.ViewModels;
using System;
using System.Windows.Input;
namespace Fairmas.PickupTracking.Shared.Commands
{
public class LoginCommand : ICommand
{
public event EventHandler CanExecuteChanged;
public Boolean CanExec... |
using CoffeeAutomat.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoffeeAutomat.Services
{
public class AutomatService : IAutomatService
{
private const int minimalMoney = 300; // минимальная сумма для сдач, р
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Turbomix;
using Moq;
using Turbomix;
namespace TurbomixTest
{
[TestClass]
public class RecetaServiceTest
{
[TestMethod]
public void TestGuardar()
{
var MockRecetaRepository = new Mock<IRece... |
using System;
using System.Reflection;
namespace Arch.Data.Orm.sql
{
public class SqlTrigger
{
public SqlTrigger(MethodInfo method, Timing timing)
{
Method = method;
Timing = timing;
}
public MethodInfo Method { get; private set; }
... |
//-----------------------------------------------------------------------
// <copyright file="ResultChangedEventArgs.cs" company="None">
// Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace TQVau... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppBuilder.Shared
{
public class ZipService
{
public async Task<List<ProjectFile>> ExtractFiles(Stream f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UDM
{
public class GroupCommand : Command
{
protected List<Column> groupingColumns;
protected Dictionary<Column, Aggregation> aggregatedColumns;
public class AllColumnsShouldBeSelectedForGr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
namespace FlexLabs.Glimpse.Linq2Sql
{
internal static class LogItemHandler
{
internal const string HttpItemID = "Glimpse.Linq2Sql";
private static read... |
//using System;
//using System.ComponentModel;
//namespace TreeStore.PsModule.PathNodes
//{
// public class TagNodeItemDescriptionProvider : TypeDescriptionProvider
// {
// private static readonly TypeDescriptionProvider parentProvider;
// private readonly TypeDescriptionProvider provider;
// ... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ConfigDemo.Models;
namespace ConfigDemo.Controllers
{
public class HomeController : BaseController<HomeController>
{
//Navigate to... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using Caliburn.Micro;
using Frontend.Core.Common;
using Frontend.Core.Navigation;
using Frontend.Core.ViewModels.Interfaces;
namespace Frontend.Core.ViewModels
{
/// <summary>
/// Base class for the viewmodel ... |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class RewindableReplayDemo : ModuleRules
{
public RewindableReplayDemo(TargetInfo Target)
{
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "UnrealEd" });
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using FixyNet.Clases;
namespace FixyNet.Clases
{
class Discovery : Pinguear
{
// declaro LISTA
publ... |
using GalaSoft.MvvmLight.Command;
using Project.Model;
using Project_CelineGardier_2NMCT2.model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Wind... |
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 MySql.Data.MySqlClient;
using System.Globalization;
namespace BalayPasilungan
{
public partial... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace homeless_pets.Models
{
public class New
{
[HiddenInput(DisplayValue = false)]
public long NewID { get; set; }
[Required(Err... |
using System;
using LaiendusMeetodid;
public class LaiendusProov2{
public static void Main(string[] arg){
Console.WriteLine("Tere".Pikkus());
Console.WriteLine("5 pirni ja 12 õuna".ArvudeSumma());
Console.WriteLine(3.astmes(2));
int[] arvud={2,4,5};
arvud.Tyhjenda();
Console.WriteLine(String.Join(... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Text;
namespace Hotel.Data.Models
{
public class RezervisanSmjestaj
{
public int Id { set; get; }
//jedan smjestaj
public int SmjestajId { get; set; }
[ForeignKey(na... |
using Examination.Models;
using Examination.Shared;
using RepoDb;
using System;
using System.Data.SqlClient;
using System.Linq;
namespace Examination.Insert
{
partial class Program
{
static void Main(string[] args)
{
while (true)
{
// Header
... |
using System;
namespace UrTLibrary.Server.Repositories
{
public class CommandInfoRepository : JsonRepository<CommandInfo, CommandInfoList>
{
public CommandInfoRepository(string filepath)
: base(filepath)
{
}
internal override CommandInfoList GetDefaults()
{
... |
using Array;
using System;
namespace DataSturctures.Demos
{
public class ArrayDemo : IShowDemo
{
private Array<string> array;
public string DefineDataStructure()
{
return @"
Array is the basic data structure which holds the items in contigous memory. It gives basic operatio... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.AspNetCore.Identity;
namespace LifeReelAPI.Models
{
public class User : IdentityUser
{
[Required]
public string FirstName {get; set;}
[Required]
public... |
using System.Linq.Expressions;
namespace ExpressionsSerialization
{
public interface ITransitionMap
{
void EnsureValidTransition(ExpressionType parent, ExpressionType child);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _9.ExtractMiddleElements
{
class Program
{
static void Main(string[] args)
{
var numbers = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
... |
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_01
{
class LineCount
{
static void Main()
{
int lineCount;
string files;
DisplayHelpText();
files = GetFiles();
lineCount = CountLines(files);
DisplayLine... |
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Networking;
public class MathsCollectible : NetworkBehaviour
{
public Animation CollectedAnimation;
[SyncVar] public string Operation;
private Text _text;
p... |
using System.Data;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO.Compression;
namespace TLF.Framework.Compaction
{
/// <summary>
/// 데이터 압축/압축해제를 담당하는 Class 입니다.
/// </summary>
/// <remarks>
/// 2009-12-29 최초생성 : 황준혁
/// 변경내역
///
/// </remarks>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
{
class Program
{
/*
The Hamming distance between two integers is the number of positions at which the corresponding bits are different.
Given two i... |
using System;
using System.Diagnostics;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Generation
{
/// <summary>
/// Used by source generation to identify the capability type to use
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
[Conditional("CodeGeneration")]
public class Cap... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Lab_EDI_3.Models
{
public class Cliente
{
private int NumeroCliente;
private string nombre;
private string direccion;
private string nit;
public string Nombre { get => nombre... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace MediaManager.DAL.DBEntities
{
public class ParticipantContent
{
[Key, Column(Order = 0)]
public int... |
namespace KompasKeyboardPlugin
{
/// <summary>
/// Уровень клавиши.
/// Bottom - нижняя часть синтезаторного типа клавиш.
/// Middle - используется для фортепианного типа клавиш,
/// а так же для средней части синтезаторного типа клавиш
/// Top - верхняя часть клавиш обоих типов.
/// </summ... |
using System;
namespace Nmli.Managed
{
public class ManagedVml : IVml
{
#region Single
public void Ln(int n, float[] x, float[] y)
{
for (int i = 0; i < n; i++)
y[i] = (float)(Math.Log(x[i]));
}
public void Exp(int n, float[] x... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
public class LanguageScrollList : MonoBehaviour
{
public List<LanguageToggle> toggles = new List<LanguageToggle>();
private List<System.String> languageList = new List<System.String>();
pr... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NodeNavigation : MonoBehaviour {
[SerializeField] GameObject PlayerMovementGameObject;
PlayerMovement playerMovementManager;
public static NodeNavigation instance;
public TextAsset textFile... |
using Microsoft.AspNetCore.Identity;
using System;
namespace ImmedisHCM.Data.Identity.Entities
{
public class WebUser : IdentityUser<Guid>
{
public virtual long? LockoutEndUnixTimeSeconds { get; set; }
public override DateTimeOffset? LockoutEnd
{
get
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using K_Systems.Data.Core.Domain;
using K_Systems.Data.Core;
using K_Systems.Data.Persistance;
using K_Systems.Presentation.Web.Models.ViewModel;
using System.Net;
namespace K_Systems.Presentation.Web.Areas.HR.C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlueSportApp.Services.Banner
{
public interface IBannerService
{
public List<Models.BannerModel> GetAll();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class BouncyButton : MonoBehaviour, IPointerEnterHandler, IPointerDownHandler, IPointerExitHandler, IPointerUpHandler {
private bool hovered, pressed;
private Color initialCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace RiversideHealthCare.Models
{
[MetadataType(typeof(VolunteerValidation))]
//name of database table
public partial c... |
using System;
using System.Collections.Generic;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Views;
using Android.Widget;
using StudyEspanol.Droid;
using StudyEspanol.Utilities;
namespace StudyEspanol.UI.Dialogs
{
public class ErrorListDialog : DialogFragment
{
... |
using System;
using System.Timers;
namespace ReDefNet.Sys
{
/// <summary>
/// Represents a component that generates recurring events.
/// </summary>
public interface ITimer : IDisposable
{
/// <summary>
/// Occurs when the timer has elapsed.
/// </summary>
event E... |
using System;
using System.Collections.Generic;
namespace CVBuilder.Core.Models
{
public class CurriculumVitae
{
public CurriculumVitae(string firstName, string lastName, string phoneNumber, string emailAddress)
: this()
{
FirstName = firstName;
LastName = l... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CloudinaryDotNet.Actions;
using NUnit.Framework;
namespace CloudinaryDotNet.Test
{
class AsyncMethodsTest : IntegrationTestBase
{
[Test]
public void TestUploadLocalImageAsync()
{
var u... |
using System;
using System.Collections.ObjectModel;
using Xamarin.Forms;
namespace ClassLibrary1
{
public class App : Application
{
public App()
{
MainPage = new MyPage();
}
}
public class MyPage : ContentPage
{
ListView listView = new ListView();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Redback
{
public class MemberInfoList : List<MemberInfo>
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EarthPiece : MonoBehaviour
{
public bool shrinking = false;
Vector3 initialScale;
// Start is called before the first frame update
void Start()
{
shrinking = false;
initialScale = transform.... |
using CVBuilder.Core.Models;
using System;
namespace CVBuilder.Core
{
/// <summary>
/// The CVbuilder Options
/// </summary>
public interface ICvOptionalValues : IEducation, IFinishable<CurriculumVitae>
{
ICvOptionalValues WithBirthday(DateTime date);
ICvOptionalValues AddPhoto(str... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// https://github.com/Unity-Technologies/UnityCsReference
//
// https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/GUI/EditorToolbar.cs
// https://github.com/Unity-Technologies/UnityCsRefer... |
using Hangfire;
using bringpro.Web.Classes.Tasks.HangFire;
using bringpro.Web.Services;
using bringpro.Web.Services.Interfaces;
using System;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Microsoft.Practices.Unity;
using Hangfire.SqlServer;
using System.Web.... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Kers.Models.Entities.KERScore
{
public partial class LadderImage : IEntityBase
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using CatAndDogServer.Data;
using CatAndDogServer.Models;
using Microsoft.AspNetCore.Cors;
namespace CatAndDogServer.Co... |
using Godot;
using System;
using Godot.Collections;
public class Enemies : Node2D
{
public delegate void endRound(int waveNumber);
private Node2D enemies;
private RandomNumberGenerator rng;//Random Number generator
private Camera2D camera;
private Vector2 cameraPos;
private Vector2 windowSize;... |
using FatCat.Nes.OpCodes.AddressingModes;
namespace FatCat.Nes.OpCodes.Arithmetic
{
public class DecrementValueAtMemory : OpCode
{
public override string Name => "DEC";
public DecrementValueAtMemory(ICpu cpu, IAddressMode addressMode) : base(cpu, addressMode) { }
public override int Execute()
{
Fetch();... |
using System;
namespace Polynomials
{
/// <summary>
///
/// A monomial M(x) is a product of powers of the variable x
/// having nonnegative integer exponents and a real coefficient.
///
/// This class represents a monomial and has the following:
///
/// PROP... |
using System;
using System.CodeDom.Compiler;
using System.Collections.Specialized;
namespace Unicorn
{
public class CCTVBehaviour : UniBehaviour
{
// Variables
public bool activate = false;
public int player_ID;
public int cam_ID;
public int p_CamPos;
public int p_SpawnPos;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.