text stringlengths 13 6.01M |
|---|
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using Microsoft.PowerShell.EditorServices.Services.TextDocument;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
nam... |
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Web.UI.WebControls;
using DataAccessLayer.basis;
using Utility;
using Uxnet.Web.WebUI;
namespace Uxnet.Web.Module.DataModel
{
public abstract partial class Enti... |
namespace FingerprintRecognitionApp.Helpers
{
public static class CharNormalizationHelper
{
private static char NormalizeChar(char c)
{
switch (c)
{
case 'ą':
return 'a';
case 'ć':
return 'c';
... |
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 f
{
public partial class Form1 : Form
{
public Form1(string[] args)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class GUIItem : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler, IPointerDownHandler, IPointerEnterHandler, IPointerExitHandler
{
public int pos;
... |
using System;
namespace InternalRectangleApp {
class InternalRectangle {
internal double length;
internal double width;
double GetArea () {
return length * width;
}
public void Display () {
Console.WriteLine ("internal 长度为{0}", length);
Co... |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_AudioAutoDestroy : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int Destroy(IntPtr l)
{
int result;
try
{
AudioAutoDestroy audioAutoDestroy = (AudioAutoDestroy)LuaObject.checkSelf(l);
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SFA.DAS.Notifications.Infrastructure.Configuration
{
public static class NotificationConfigurationKeys
{
public const string Notifications = "SFA.DAS.Notifications.MessageHandlers";
public static string NServiceBusCon... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using RestSharp;
using Riverside.Cms.Utilities.Net.RestSharpExtensions;
namespace Riverside.Cms.Services.Element.Client
{
public class ShareElementSettings : ElementSettings
{
... |
using Library.Domain.Concrete;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using System;
namespace Library.Domain.Entities
{
public class AppRoleManager : RoleManager<AppRole>, IDisposable
{
p... |
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
namespace MeetingRoomBot.Helpers
{
public... |
namespace Stundenplan.Models
{
public class DateOperation
{
public enum DateToDo
{
add,
sub,
nothing
}
}
} |
using Caliburn.Micro;
using Frontend.Core.Model.Interfaces;
using Frontend.Core.Navigation;
namespace Frontend.Core.ViewModels.Interfaces
{
public interface IWelcomeViewModel : IStep, IHandle<IConverterSettings>
{
}
} |
// Copyright (C) 2019 Kazuhiro Fujieda <fujieda@users.osdn.me>
//
// 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 re... |
using System.Windows;
namespace Modscleo4.WPFUI.Sample
{
/// <summary>
/// Interação lógica para App.xaml
/// </summary>
public partial class App : Application
{
private void Application_Startup(object sender, StartupEventArgs e)
{
}
}
}
|
using UnityEngine;
public class CameraControl : MonoBehaviour
{
public float sensitivity = 4f;
public float panBorderThickness = 30f;
public GameObject map; //Public variable to store a reference to the player game object
public float followSpeed = 5f;
private Vector3 offset; /... |
using EatDrinkApplication.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EatDrinkApplication.ViewModel
{
public class FoodViewModel
{
public Meals Meals { get; set; }
public RecipeInfo... |
namespace QAToolKit.Auth.Keycloak
{
/// <summary>
/// Keycloak client credential flow parameters
/// </summary>
public class KeycloakOptions : DefaultOptions
{ }
}
|
using System;
using FluentAssertions;
using Xunit;
namespace LeeConlin.ExtensionMethods.Tests.UriExtensions
{
public class ToCommonUrlString_Should
{
[Theory]
[InlineData("https://www.google.co.uk", "https://www.google.co.uk/")]
[InlineData("http://www.google.co.uk", "http://www.google... |
using UnityEngine;
using System.Collections;
public class NextTile : MonoBehaviour {
private SpriteRenderer _r;
void Awake () {
_r = GetComponent<SpriteRenderer>();
}
// Update is called once per frame
void Update () {
_r.sprite = Board.Current.Textures[Board.ShowingBoard2 ? Board.NextTile2 : Board.NextT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Biblioteca.Models
{
class Ejemplar
{
public long NroEdicion { get; set; }
public string Ubicacion { get; set; }
public Libro Libro { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace indoor_navigation_backend.Entities
{
public class PointInfo
{
public int id { get; set; }
public string annotation { get; set; }
public Nullable<int> buildingId { get; set; }
public s... |
namespace EventStoreWinServiceWrapper
{
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Sockets;
internal class ProcessMapper
{
public ProcessStartInfo GetProcessStartInfo(string execut... |
namespace MoneyTransfer.Services
{
public class CustomerService:ICustomerService
{
public CustomerService()
{
}
}
public interface ICustomerService:IService
{
}
} |
using System;
using IMDB.Api.Core.Interfaces;
using IMDB.Api.Repositories.Interfaces;
using IMDB.Api.Services.Interfaces;
using System.Threading.Tasks;
namespace IMDB.Api.Services.Implementations
{
public class ContentRatingService : EntityService<Entities.ContentRating>, IContentRatingService
{
reado... |
//
// 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.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using DotNetNuke.ComponentModel.Dat... |
using System.Diagnostics;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
public record FileSystemWatcher
{
/// <summary>
/// The glob pattern to watch.
///
/// Glob patterns can have the following sy... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using BuildFeed.Auth;
namespace BuildFeed.Areas.admin.Controllers
{
[Authorize(Users = "hounsell")]
public class usersController : Controller
{
// GET: admin/users
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PreSkill : MonoBehaviour {
private GameObject player;
private bool isOpened = false;
private float timer = 0;
public IUnityEvent ievent;
private void Start()
{
player = GameObject.FindGame... |
namespace SRP._1_before
{
public class AreaCalculator
{
public AreaCalculator()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dinner_Project.Project.Testing;
using System.Threading;
namespace Dinner_Project.Project
{
public class ProducerAndConsumer
{
Queue<Consumer> container = new Queue<Consumer>();
... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System;
using System.Collections.Generic;
#region UnityEditor
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.Events;
[CustomEditor(typeof(UIPointerDownUpElements))]
public class UIPointerDownUpElementEditor : Editor
{
public ov... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using lianda.Component;
using System.IO;
using System.Data.Sq... |
using MultiCommentCollector.Extensions;
using MultiCommentCollector.Helper;
using MultiCommentCollector.Models;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
using System;
using System.Windows.Media;
namespace MultiCommentCollector.ViewModels
{
internal class OptionWindowViewModel : ViewModelBase
... |
using System;
using System.Net.Http.Headers;
namespace Heap
{
class Program
{
static void Main(string[] args)
{
Heap heap = new Heap();
heap.Insert(5);
heap.Insert(45);
heap.Insert(1);
heap.Insert(90);
heap.Display();
... |
namespace GitlabManager.Enums
{
/// <summary>
/// Each page is associated with a navigation section.
/// This enum lists all available sections.
/// </summary>
public enum AppNavigationSection
{
Operation,
Administration
}
} |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NewsConcentratorSystem.Models;
namespace NewsConcentratorSystem.Controllers
{
public class SettingsController : Controller
{
private readonly NewsConcentratorDbContext... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Lab12_HotelDataBase.Migrations
{
public partial class SeedRoomsTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Name",
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPD.Entities.Domain
{
public partial class UserType
{
public UserType()
{
UserLogin = new HashSet<UserLogin>();
}
... |
namespace Timesheet.Api.ResourceModels
{
public class LoginRequest
{
public string LastName { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace CapaNegocio
{
[Serializable()]
public class pedido : ISerializable
{
public String nombre { get; set; }
public String ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Accounting.Entity
{
public class Shade : BaseObject
{
public Shade() : base() { }
#region Fields
private int intShadeID = 0;
private string strShadeNo = "";
#endregion
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank
{
public class RoundGrades
{
public void RoundedGrades()
{
Console.WriteLine("Enter number of grades ");
int gradesCount = Convert.ToInt32(Console.ReadLine().Trim());
Li... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities;
namespace Voronov.Nsudotnet.BuildingCompanyIS.Logic.Impl.DbImpl
{
class EngineerCrudService: CrudServiceBase<Engineer>
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenuManager : MonoBehaviour
{
public void onStartButton()
{
SceneManager.LoadScene("OriginPlain");
}
public void onSettingButton()
{
SceneManager.Loa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem02
{
class Program
{
static string ExtractWords(string[] str)
{
StringBuilder s = new StringBuilder();
bool LeftWords = true;
... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Tff.Panzer.Models.Geography;
using Tff.Panzer.M... |
// Copyright 2020 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... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("TutorialLesson1")]
public class TutorialLesson1 : MonoBehaviour
{
public TutorialLesson1(IntPtr address) : this(address, "TutorialLesson1")
{
}
public TutorialLesson1(IntPtr address, string cla... |
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlazAdmin.ServerRender
{
public class UserService : UserServiceBase<IdentityUser, IdentityRole>
{
publ... |
using Sunny.Lib;
using Sunny.Lib.CustomeAttribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace LotterySSQ
{
[TableName("ssq_filter_solution")]
public class FilterSolution
{
[PrimaryKey]
... |
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 DAL;
using BUS;
using DevExpress.XtraEditors;
using System.Data.Linq;
using DevExpress.XtraReports.... |
using UnityEngine;
using UnityEditor;
namespace Assets.Scripts
{
public class Hammer : InventoryItem
{
public Animator armAnimator;
public Animator placeholderArmAnimator;
public Animator bodyAnimator;
public GameObject placeHolderPlayerArms;
public GameObject cameraPla... |
using Microsoft.Build.Locator;
using Microsoft.Extensions.Logging;
namespace PackageVersionUpdater
{
public class Registrar
{
private readonly VisualStudioInstance _instance;
private readonly ILogger<Registrar> _logger;
public Registrar(ILogger<Registrar> logger)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Physics
{
class Triangle : Polygon
{
public Triangle(Vector p1, Vector p2, Vector p3)
{
PushBack(p1);
PushBack(p2);
... |
using System;
namespace RO
{
public class RaidNPCPoint : NPCInfo
{
protected override string namePrefix
{
get
{
return "Raid";
}
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mad_Bot_Discord.Core.UserAccounts
{
public class UserAccount
{
// name value for debug purposes
public string Name { get; set; }
public ulong ID { get; set; }... |
using System;
using System.Collections.Concurrent;
using Carrot.Configuration;
namespace Carrot
{
internal class OutboundChannelPool : IOutboundChannelPool
{
private readonly RabbitMQ.Client.IConnection _connection;
private readonly EnvironmentConfiguration _configuration;
private reado... |
using System;
using System.Buffers;
using System.Collections.Concurrent;
using System.IO;
using System.IO.Pipelines;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reactive.Threading... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HTMLRenderer
{
public class HTMLTable : HTMLObject, ITable
{
private IElement[,] elements;
public HTMLTable(int rows, int cols)
:base("table")
{
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using CrazyPost.Contexts;
using CrazyPost.Models;
using Microsoft.EntityFrameworkCore;
namespace CrazyPost.Repository
{
public class CommentRepository : ICommentRepository
{
private readonly ApiDbContext _context;
public CommentR... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Arrow : MonoBehaviour
{
// Public Movement Members
public float velocityX = 20f;
public static int arrowsCountInAir = 0;
// Private Movement Members
private float velocityY = 4f;
... |
namespace Plus.Communication.Packets.Outgoing.Marketplace
{
internal class MarketplaceItemStatsComposer : MessageComposer
{
public int ItemId { get; }
public int SpriteId { get; }
public int AveragePrice { get; }
public MarketplaceItemStatsComposer(int itemId, int sprit... |
using RestauranteHotel.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestauranteHotel.Infrastructure.Data.ObjectMother
{
public static class ProductoMother
{
public static ProductoSimple CreateProducto(strin... |
using Microsoft.Azure.EventHubs;
using Microsoft.Azure.EventHubs.Processor;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using Orleans;
using Orleans.Configuration;
using DeviceInterface;
using Newtonsof... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Mvc;
namespace ZiZhuJY.Web.Controllers
{
/// <summary>
/// Contains common controller helper methods, and cannot be defined as extension methods.
/// </summary>
public abstra... |
/*
* Copyright (c) 2021 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
*
* Unless ... |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Common;
using Mosa.Compiler.Common.Exceptions;
using Mosa.Compiler.Framework.CIL;
using Mosa.Compiler.Framework.Linker;
using Mosa.Compiler.MosaTypeSystem;
using System;
using System.Collections.Generic;
using System.Text;
namespac... |
using API.Omorfias.Data.Enumerator;
using System;
namespace API.Omorfias.Data.Models
{
public class Card
{
public int Id { get; set; }
public decimal Number { get; set; }
public string CardHolder { get; set; }
public DateTime ExpirationDate { get; set; }
public int Sec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TabGroup : MonoBehaviour
{
public List<TapButtom> tabButtom;
public Sprite tabIdlde;
public Sprite tabHover;
public Sprite tabActive;
public TapButtom selectedTab;
public List<Game... |
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades.Estoque.PedidoDeCompra;
using PDV.DAO.Enum;
using PDV.DAO.QueryModels;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesPedidoCompra
{
... |
namespace Plus.Communication.Packets.Outgoing.Help
{
internal class SendBullyReportComposer : MessageComposer
{
public SendBullyReportComposer()
: base(ServerPacketHeader.SendBullyReportMessageComposer)
{
}
public override void Compose(ServerPacket packet)
... |
using System.ServiceModel;
using EPiServer.Events.ServiceModel;
using HansKindberg.ServiceModel;
namespace HansKindberg.EPiServer.Events.Remote.Communication
{
public class EventPublisherServiceProxy : ClientBase<IEventReplication>, ICommunicationObject<IEventReplication>
{
#region Constructors
public EventPub... |
namespace MusicShopManager.Interfaces
{
using System;
public interface IInstrument : IArticle
{
string Color { get; }
bool IsElectronic { get; }
}
}
|
using System;
using System.Linq;
using System.Threading.Tasks;
using W3ChampionsStatisticService.Ports;
using W3ChampionsStatisticService.Services;
namespace W3ChampionsStatisticService.ReadModelBase
{
public class ReadModelHandler<T> : IAsyncUpdatable where T : IReadModelHandler
{
private readonly IM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using eIVOGo.Module.Base;
using Model.DocumentFlowManagement;
using Uxnet.Web.WebUI;
namespace eIVOGo.Module.Flow
{
public partial class DocumentFlowList : EntityItemActionLis... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShowAndHide : MonoBehaviour {
public GameObject targetOne;
private bool flag = true;
public void HideAndShow()
{
targetOne.SetActive(flag);
flag = !flag;
Debug.Log("自定义类");
}
... |
using System;
using TacticalMaddiAdminTool.Models;
namespace TacticalMaddiAdminTool.Services
{
public interface IMaddiService
{
CollectionInfo[] GetCollections();
FragmentInfo[] GetFragments();
SetInfo[] GetSets();
void Save(string entityXml);
}
}
|
using System;
namespace KissCore
{
class Program
{
static aync void Main(string[] args)
{
var client = new HttpClient();
var hrm = await client.Get
}
}
}
|
namespace PaderbornUniversity.SILab.Hip.EventSourcing.EventStoreLlp
{
/// <summary>
/// Specifies the configuration fields that are required for <see cref="EventStoreService"/> to work.
/// </summary>
public sealed class EventStoreConfig
{
/// <summary>
/// Endpoint of the Event Sto... |
using System;
using System.Runtime.InteropServices;
using System.Text;
using Grisaia.Extensions;
namespace Grisaia.Asmodean {
/// <summary>
/// A static class for extracting the Grisaia executable or bin file's V_CODE2.
/// </summary>
public static partial class VCode2 {
#region FindVCode2
/// <summary>
/... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using System.Web;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using IO.Swagger.Model;
using BotAuth.AADv2;
using BotAuth.Dialogs;
using BotAuth.Models;
using BotAuth;
using System.Configuration;
... |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class SkillContainer : MonoBehaviour
{
public string skillName;
public bool triggered;
public bool skillUsed;
public Button related;
UnityAction Act;
public void SkillRegi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace N2.Edit
{
public class MetaInfo
{
public string Name { get; set; }
public string ToolTip { get; set; }
public string Text { get; set; }
}
}
|
using DocuSign.eSign.Client;
using DocuSign.eSign.Client.Auth;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Web;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FastSQL.Core.ExtensionMethods
{
public static class OptionsExtensions
{
public static string GetValue(this IEnumerable<OptionItem> options, string key, string defaultValue = "")
{
... |
using System;
using System.Collections.Generic;
namespace OCP.Authentication.TwoFactorAuth
{
/**
* Nextcloud 2FA provider registry for stateful 2FA providers
*
* This service keeps track of which providers are currently active for a specific
* user. Stateful 2FA providers (IStatefulProvider) ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Media.Animation;
namespace UserAuth
{
class VMuserauth : INotifyPropertyChanged
{
modelUserAuth... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank_HomeCode
{
public class FindDigits
{
public void CountNoOfDiv()
{
//enter the number
int n = Convert.ToInt32(Console.ReadLine());
var digCount = 0;
foreach(v... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
#region Singleton
private static GameManager instance;
public static GameManager GetInstance()
{
return instance;
}
private void Awake()
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Emitter : MonoBehaviour
{
public Transform asteroids;
public float minDelay, maxDelay; // задержка между запусками
private float nextLaunchTime; // время следующего запуска
// Update is called once p... |
/* DinoNuggets.cs
* Author: Ben Hartman
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace DinoDiner.Menu
{
/// <summary>
/// Class to represent the DinoNuggets entree.
/// </summary>
public class DinoNuggets : Entree, IMenuItem, IOrderItem, ... |
namespace Core.Captcha {
public enum CaptchaServiceType {
DvachCaptcha
}
} |
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... |
using DietFood.Models.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DietFood.Models
{
public class Meal
{
public int Id { get; set; }
public decimal MinProteins { get; set; }
public decimal MaxProteins { get; set; }
... |
using Microsoft.Data.Sqlite;
using NLog;
using System;
namespace TNBase.Repository
{
public abstract class SqlMigration : ISqlMigration
{
private readonly Logger log = LogManager.GetCurrentClassLogger();
protected readonly SqliteConnection connection;
public SqlMigration(SqliteConnect... |
using Android.App;
using Android.Widget;
using Android.OS;
namespace Borders
{
[Activity(Label = "Borders", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity
{
int count = 0;
FrameLayout frameLayout;
protected override void OnCreate(Bundle savedInstanceS... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PlayerController : MonoBehaviour
{
#region Initializations
[HideInInspector] public bool facingRight = true;
[H... |
using System;
using System.Collections.Generic;
using System.Json;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Args;
using Telegram.Bot.Types.ReplyMarkups;
namespace TelegramBotNew
{
class OnInlineCallBackHandler
{
internal static void Ha... |
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Luis;
using Microsoft.Bot.Builder.Luis.Models;
using Microsoft.Bot.Connector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Configuration;
using Newtonsoft.Json;
using Newt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.