text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
namespace project
{
public static class ImageFilter
{
public static Image FilteredImage(this Image inp... |
using BPiaoBao.Common;
using BPiaoBao.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket
{
/// <summary>
/// 售后申请
/// </summary>
[KnownType(typeof(ResponseAnnulOrder))]
[Kn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace console
{
public class _031_AllCombinationCoins
{
public List<string> res = new List<string>();
/// <summary>
/// Given a change amount, print all possible combinations using different sets... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LRUCacheV1
{
public static class ArrayHelper
{
/// <summary>
/// <see cref="https://referencesource.microsoft.com/#mscorlib/system/collections/generic/list.cs,9808f1f5ef16c436"/>
/// </summary>
public ... |
using MicroQuiz.Services.Auth.Core.Nodels;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace MicroQuiz.Services.Auth.Infrastructure.EntityFramework
{
public class IdentityDbContext : IdentityDbContext<ApplicationUser>
{
public IdentityDbContext(DbC... |
namespace UmbracoMapperified.Web.ViewModels
{
public class PagingDetail
{
public PagingDetail(int pageNumber, int pageSize)
{
PageNumber = pageNumber;
PageSize = pageSize;
}
public int PageNumber { get; set; }
public int PageSize { get; set; }
... |
namespace Triton.Game
{
using System;
using System.Runtime.CompilerServices;
using System.Threading;
public abstract class PerCachedValue<T>
{
private bool bool_0;
private readonly Func<T> func_0;
private T gparam_0;
[field: CompilerGenerated]
public event ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SC601_Semana01.Views
{
public partial class Clients : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ELearning
{
public class KorisnikSaFakultetskimEmail : Korisnik
{
}
}
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.TestModels.Northwind;
using M... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Turnamentor.Core.Loading
{
interface ITypeLoader
{
IList<Type> LoadTypes<T>(IEnumerable<string> directories);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Envision.MDM.Facility.Service.Interfaces
{
public interface IUserService
{
Task<Location.Domain.AggregatesModel.UserInfo> GetUserDetail(string UserName, string Password);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;
using Grisaia.Categories;
using Grisaia.Mvvm.Commands;
namespace Grisaia.Mvvm.ViewModel {
partial class InstallDirsGameViewModel {
public IRelayCommand OpenCustomLocation =... |
using KRF.Core.Entities.ValueList;
using KRF.Core.Entities.Master;
using System.Collections.Generic;
namespace KRF.Core.DTO.Master
{
/// <summary>
/// This class does not have database table. This class acts as a container for below products classes
/// </summary>
public class FleetDTO
{
pu... |
using System;
namespace Channel.Mine.IMDB.Abstraction
{
public abstract class BaseFileParser<T> : Framework.Abstraction.BaseAction<T>
{
internal enum ParserStateEnum
{
Seeking = 0,
Parsing = 1,
Closing = 2
}
internal String[] FileNames { get... |
using System.Windows;
using NVRCsharpDemo;
namespace WpfApplication1.HK
{
public class HKUserManagement
{
public static void Login(string DVRIPAddress, int DVRPortNumber, string DVRUserName, string DVRPassword)
{
if (CHCActivityData.m_lUserID < 0)
{
CH... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ex03.GarageLogic
{
internal sealed class ElectricMotorCycle : MotorCycle
{
private const float k_MaxBatteryHours = 1.6f;
internal ElectricMotorCycle(string i_Model, string i_LicenseNumber, eLiceseType i_LicenseType, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem03AnimalHierarchy
{
class Frog : Animal
{
public Frog() { }
public Frog(string name, int age, SexType gender)
: base(name, age, gender)
{
... |
using Newtonsoft.Json.Schema;
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades;
using PDV.DAO.Entidades.NFe;
using PDV.DAO.Enum;
using System.Linq;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesNFe
{
public static NFe GetNFe(decimal IDNFe)
{
using ... |
#if !UNITY
using System;
using ZeroFormatter.Internal;
using ZeroFormatter.Segments;
namespace ZeroFormatter.Formatters
{
// Layout: [hasValue:1][T1, T2...]
[Preserve(AllMembers = true)]
internal class TupleFormatter<TTypeResolver, T1> : Formatter<TTypeResolver, Tuple<T1>>
where TTypeResolver ... |
using AzureFunctions.Extensions.Swashbuckle;
using AzureFunctions.Extensions.Swashbuckle.Settings;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.EntityFramew... |
using NSubstitute;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using Assert = NUnit.Framework.Assert;
namespace SWT_20_ATM.Test.Unit
{
[TestFixture]
internal class UnitTestKonsol
{
private Konsol _uut;
private StringWriter _writer;
priva... |
namespace AIMA.Core.Logic.Propositional.Parsing.Ast
{
/**
* @author Ravi Mohan
*
*/
public abstract class AtomicSentence : Sentence
{
}
} |
#region Copyright Syncfusion Inc. 2001-2015.
// Copyright Syncfusion Inc. 2001-2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// a... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraOrbit : MonoBehaviour
{
// Update is called once per frame
void Update()
{
if (Input.touchCount == 1 && Input.GetTouch(0).phase == TouchPhase.Moved)
{
Vector2 touchDelta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
namespace TimeSheet_BL.timesheet
{
public class ts_Status
{
public ts_Status()
{
// TODO: Add constructor logic here
}
string _EmpName = string.Empty;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Collections.Specialized;
using System.Web;
using System.IO;
using System.Runtime.Serialization.Json;
using ExactMVPForms.JsonData;
name... |
using Liddup.Models;
using Xamarin.Forms;
using Liddup.Pages;
namespace Liddup.TemplateSelectors
{
class RoomInformationDataTemplateSelector : DataTemplateSelector
{
public DataTemplate HostTemplate = new DataTemplate(() => new RoomInformationPage());
public DataTemplate NotHostTemplate = new ... |
using System;
namespace Aqueduct.Utils
{
public class GeoSearchService
{
public static bool IsInRange(double latFrom, double lonFrom, double latTo, double lonTo, double range)
{
if (DistanceInMilesBetween(latFrom, lonFrom, latTo, lonTo) <= range) return true;
... |
// Copyright (c) 2007 - Dave Kerr
// http://www.dopecode.co.uk
//
//
// This file is part of SharpGL.
//
// SharpGL is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the L... |
using System.Drawing;
public abstract class DoubleDimensional : Shape {
private Color fillColor;
private Pen fillPen;
public DoubleDimensional(){
fillColor = new Color();
}
protected Pen FillPen { get { return fillPen; } }
public Color getFillColor(){
return fillColor;
}
///
/// <par... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyGame.Enemies
{
class Worm : Enemy
{
public Worm()
{
SetDefault();
}
public override void SetDefault()
{
Name = "Worm"... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Linq;
using System.Data.SqlClient;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Web;
usi... |
namespace AlienEngine
{
public enum LightType : int
{
Spot = 1,
Directional = 2,
Point = 3
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bioscoop_Website_2021.Database
{
public class Film
{
public int id { get; set; }
public string Titel { get; set; }
public int Leeftijdsgrens { get; set; }
public string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace Theater
{
class NoChangesHandler : LoginChangeHandler
{
public override void Handle(LoginChangeReciever reciever)
{
if (recie... |
using System;
using GraphQLSampleAPI.Data.Interfaces;
namespace GraphQLSampleAPI.UnitOfWorkPattern
{
public interface IUnitOfWork : IDisposable
{
ICosmosCarRepository CosmosCarRepository { get; }
ICosmosGadgetRepository CosmosGadgetRepository { get; }
}
} |
using System;
using System.Threading.Tasks;
using DDDSouthWest.Domain.Features.Account.Admin.ManageEvents.CreateNewEvent;
using DDDSouthWest.Domain.Features.Account.Admin.ManageEvents.ListEvents;
using Shouldly;
using Xunit;
namespace DDDSouthWest.UnitTests.ManageEvents.ListEventsTests
{
public class ListEvents
... |
//
// 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.Web.UI;
namespace DotNetNuke.Web.DDRMenu.TemplateEngine
{
internal interface ITemplateProcessor
{
bool LoadDefinition(Template... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace BaldrSky_SPMTool
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 3 || args[0][0] != '-')
{
Console.WriteLine("usage:\n... |
using LuizalabsWishesManager.Data.Repositories;
using LuizalabsWishesManager.Domains.Models;
using LuizalabsWishesManager.Domains.Repositories;
using LuizalabsWishesManager.Domains.Services;
using System;
using System.Collections.Generic;
namespace LuizalabsWishesManager.Services
{
public class ServiceBase<TEntit... |
//
// 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.Entities.Users;
using DotNetNuke.Services.Analytics.Config;
using DotNetNuke.Services.Tokens;
#endregion
namespace DotN... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Rinsen.IdentityProvider.ExternalApplications
{
public interface IExternalApplicationStorage
{
Task CreateAsync(ExternalApplication externalApplication);
Task<ExternalApplication> GetFromApplicationNameAndHo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Planning
{
class ComparerList : IEqualityComparer<List<Predicate>>
{
public int code = -1;
// Products are equal if their names and product numbers are equal.
public boo... |
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using OpenTK;
using OpenTK.Graphics.OpenGL4;
namespace OcTreeRevisited
{
class SkyBoxRenderer
{
private const float SIZE = 580f;
public static Vector3[] VERTICES = {
new Vector3(-SIZE, SIZE, -SIZE),
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace QuestTextToSpeechGeneration
{
public class WebPageQuery
{
public WebPageQuery()
{
ServicePointManager.Expect100Continue =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FFXVCharacterSwitcher
{
class ServerInterface : MarshalByRefObject
{
//Called when DLL is injected
public void IsInstalled(int clientPID)
{
Console.... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Xml.Serialization;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Security.Permissions;
#endregion
name... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Turbomix;
using Moq;
using Microsoft.Practices.Unity;
namespace TurbomixTest
{
[TestClass]
public class RecetaServiceIntegrationTest
{
private IUnityContainer container;
private IRecetaRepository RecetaRepository;
... |
using UnityEngine;
using System.Collections;
[System.Serializable]
public partial class LineBeam : MonoBehaviour
{
public float maxLength;
private LineRenderer lineRenderer;
private float closestPoint;
private Gradient gradient;
private float prototypeLength;
public Vector3 target;
pr... |
using System;
using System.Net;
using System.Net.Http;
using DemoDotNet.Calculos.Api;
using DemoDotNet.Calculos.Testes.Fixtures;
using Microsoft.AspNetCore.Mvc.Testing;
using Newtonsoft.Json;
using Xbehave;
using Xunit;
namespace DemoDotNet.Calculos.Testes.Controllers
{
public class JurosControllerTestes : HostSt... |
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
internal sealed class JsonStopQuickJoinIncomingMessage : JsonPacket
{
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Dapper;
using EpicenterV2.Data.Dtos;
namespace EpicenterV2.Data.Queries
{
public class GetEpisodesQuery : Base
{
private readonly int _showId;
private const string SelectQue... |
using Caliburn.Micro;
using Frontend.Core.Common;
namespace Frontend.Core.Converting.Operations
{
public class OperationViewModel : ViewModelBase, IOperationViewModel
{
private IOperation operation;
private OperationState state;
public OperationViewModel(IEventAggregator eve... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HarmPlayer : MonoBehaviour
{
[SerializeField] private Transform CurCheckpoint;
[SerializeField] private GameObject Player;
[SerializeField] private GameObject LevelManager;
// Start is called befor... |
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 CCD_Validator
{
public partial class ProgressDialog : Form
{
public ProgressDi... |
using System.Linq;
using System.Threading.Tasks;
using TestApplicationDomain.Entities;
namespace TestApplicationInterface.Repository
{
public interface IHotelImageRepository : IRepository<HotelImage>
{
Task<IQueryable<HotelImage>> GetHotelImages(string hotelId);
}
}
|
using AmWell.Resources.Logging.Logger;
using AmWell.Resources.Services;
using AmWell.Resources.Services.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace AmWell... |
namespace ns17
{
using ns20;
using System;
using System.Collections.Generic;
using System.Xml.Linq;
internal class Class99 : Class98, Interface10, Interface11
{
public Class99(XDocument document) : base(document)
{
}
public override Interface10 imethod_0(Interf... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace PESWeb.Profiles.Interface
{
public interface IUploadAvatar
{
void ShowMessage(string Message);
void ShowCropPanel();
void HideCropPanel();
//void ShowApprovePanel();
... |
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using Meet_and_Copmete_Capstone.Models;
namespace Meet_and_Copmete_Capstone.Data
{
public class ApplicationDbContext... |
using Braspag.Domain.DTO;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Braspag.Domain.Entities
{
public class Adquirentes
{
[BsonRepresentation(BsonType.ObjectId)]
public string _id { get; private set; }
public string adquirentes { get; private set; }
... |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using System;
using System.Collections.ObjectModel;
using System.Data;
using System.Threading;
using System.Windows;
using Tai_Shi_Xuan_Ji_Yi.Classes;
using Tai_Shi_Xuan_Ji_Yi.Classes.HistoryShow;
using Tai_Shi_Xuan_Ji_Yi.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using bot_backEnd.DAL.Interfaces;
using bot_backEnd.Models;
using bot_backEnd.Models.DbModels;
using bot_backEnd.Models.ModelsWithPictures;
using bot_backEnd.Models.ViewModels;
using bot_backEnd.UI.Interfaces;
using Micros... |
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;
namespace steven
{
public partial class Login : Form
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(LineRenderer))]
[ExecuteAlways]
public class CableProceduralMultipoint : MonoBehaviour
{
LineRenderer line;
// The Start of the cable will be the transform of the GameObject that has this compone... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISKlinike
{
public class KartonNalazi
{
public int Id { get; set; }
public string LicnaAnamneza { get; set; }
public string PorodicnaAnamneza { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccess;
using Model;
using System.ComponentModel;
namespace BussinessLogic {
public class LegalClientBL {
private LegalClientDA dataAccess;
public LegalClient... |
namespace LiskovSubstitutionMovementBefore.Contracts
{
public interface IMovable
{
void Translate();
void Rotate();
void Move();
}
} |
using System;
namespace InstagramMVC.Globals
{
public static class AppEnums
{
public enum SQLExecResult : int
{
Success = 0,
SyntaxError = -1,
RollBack = -2,
Unknown = -100
}
public enum Role : int
{
Admin = 1... |
using LuaInterface;
using SLua;
using System;
public class Lua_E_ShareType : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "E_ShareType");
LuaObject.addMember(l, 0, "Text");
LuaObject.addMember(l, 1, "Image");
LuaDLL.lua_pop(l, 1);
}
}
|
using UnityEngine;
using System.Collections;
using System.IO;
using System;
using UnityEngine.UI;
using System.Runtime.InteropServices;
/**
* Controls the "meta" of multiple databases.
* Instantiates CinemaDatabase objects and assembles the play area
*/
public class DatabaseManager : MonoBehaviour {
public GameO... |
/*
* Copyright (c) 2022 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (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 requi... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Mentors.Models
{
public class Tecnology
{
public int Id { get; set; }
[Required]
public string Name { get; set; }
public ICollection<StudentTecnology> StudentTecnology { get; set; }
... |
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using SampleFunctionApplication;
using SampleFunctionApplication.Configuration;
using System... |
namespace Hardcodet.Wpf.TaskbarNotification.Interop
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct NotifyIconData
{
public uint cbSize;
public IntPtr WindowHandle;
public uint TaskbarIconId;
public IconDataM... |
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Options;
using Yeasca.Metier;
namespace Yeasca.Mongo
{
public class MappingMongo
{
public void enregistrer()
{
mapperLesUtilisateurs();
mapperLesParties();
mapperLesConstats();
ma... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MonoEngine.Gameplay
{
public class Behaviour
{
private Texture2D texture;
private Vector2 position;
private Color colour;
private float rotation;
private float scale;
private Sprite... |
using System.Collections.Generic;
using System.IO;
namespace Frontend.Core.Common.Proxies
{
public class FileProxy : IFileProxy
{
public bool Exists(string path)
{
return File.Exists(path);
}
public void Copy(string sourceFileName, string destFileName, ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace AddUserSharp
{
class Program
{
[DllImport("Netapi32.dll")]
extern static int NetUserAdd([MarshalAs(Unman... |
using UnityEngine;
using System.Collections;
using Infated.Tools;
namespace Infated.CoreEngine
{
/// <summary>
/// Add this class to a character and it will be able to use ice magic
/// Mana component is required
/// </summary>
[AddComponentMenu("Core Engine/Character/Abilities/Character Ability M... |
namespace SSU.CompetitiveTest {
using System.Windows;
public partial class App : Application {
public App() : base() {
this.Dispatcher.UnhandledException += (esnder, e) => {
MessageBox.Show("Unknown error :(");
e.Handled = true;
};
}
}
}
|
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using UnityEngine;
namespace EnhancedEditor {
/// <summary>
/// Contains multiple <see cref="Component"/>-related extension met... |
using Foundation;
using UIKit;
[assembly: Xamarin.Forms.Dependency(typeof(BlackPearl.Xamarin.iOS.ImageAnalysis))]
namespace BlackPearl.Xamarin.iOS
{
public class ImageAnalysis : IImageAnalysis
{
public Coin FindCoin(byte[] jpg)
{
var ia = new global::ImageAnalysis.Bindings.ImageAna... |
using Vaccination.Models.Enums;
namespace Vaccination.Models
{
public class Vaccine
{
public Vaccine()
{
}
public Vaccine(int id, string name, string laboratory, Posology posology, int intervalBetweenDoses)
{
Id = id;
Name = name;
Labo... |
using Xamarin.Forms;
namespace fictionalbroccoli.Views
{
public partial class PageExample : ContentPage
{
public PageExample()
{
InitializeComponent();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL
{
public class ShoppingCart {
private int UkupnaCijena ;
private Igrica[1..*] IzabraneIgrice ;
public int DajUkupnuCijenu(Igrica[1..*] IzabraneIgrice){
}
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using QuanLyBanHang.BUS;
using System.Text.RegularExpressions;
using QuanLy... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;
using UnityEngine.Analytics;
[RequireComponent(typeof(Rigidbody))]
public class PushInteraction : Interactable
{
private bool pushing = false;
private Rigidbody body;
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using JarmonMeisseliPc.models;
namespace JarmonMeisseliPc.viewModels
{
class ToolsViewModel
{
ObservableCollection<Tool> tools = new ObservableColle... |
using System;
namespace CheckStringsConsoleClient
{
public class CheckStringsConsoleClient
{
private const string Substring = "test";
private const string FullText = "test test test test test";
public static void Main()
{
var serviceClient = new CheckStringsClient(... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BorderControl
{
public class Citizen:IIdentifiable,IBirthable,IBuyer
{
public Citizen(string name,string age,string id,string birthdate)
{
this.Name = name;
this.Age =int.Parse( age);
... |
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades.PDV;
using System.Collections.Generic;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesDuplicataDAC
{
public static bool SalvarDuplicataDAC(DuplicataDAC Duplicata)
{
using (SQLQuery oSQL = new SQLQuery... |
using System;
using System.Collections.Generic;
class Dictionary
{
public static int NumberOfKeys(Dictionary<string, string> myDict)
{
int c = 0;
foreach (string element in myDict.Keys)
c++;
return (c);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Uxnet.Web.Module.jQuery
{
public partial class EnumSelector : HtmlSelector
{
[Bindable(true)]
public String TypeName... |
using System;
using System.Linq;
namespace Documentation_v1_0
{
public static class DocumentTypeExt
{
public static void AddHeader(this DocumentType document, HeaderType header)
{
if(document == null)
throw new ArgumentNullException("document");
if (head... |
using MongoDB.Driver;
using stottle_shop_api.Categories.Data;
using stottle_shop_api.Categories.Models;
using System.Net.Http;
using tests.TestingFixtures;
namespace tests.Extensions
{
public static class CategoryTestingFixtureExtensions
{
public static CategoryTestingFixture Given_the_categories_colle... |
using HCL.Academy.DAL;
using HCL.Academy.Model;
using HCLAcademy.Util;
using System;
using System.Collections.Generic;
using System.Web.Http;
using Microsoft.ApplicationInsights;
using System.Diagnostics;
namespace HCL.Academy.Service.Controllers
{
/// <summary>
/// This service provides all the training rela... |
using System;
namespace DCL.Maths
{
/// <summary>
/// A static class that contains several common mathematical methods
/// and extends the functionality of Math.Round.
/// </summary>
public static class Common
{
/// <summary>
/// Rounds a number in mathematical rules.
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.