text stringlengths 13 6.01M |
|---|
using Webpay.Integration.CSharp.Order.Create;
namespace Webpay.Integration.CSharp.Order
{
public interface ICreateBuilderCommand
{
CreateOrderBuilder Run(CreateOrderBuilder order);
}
} |
using System.Configuration.Provider;
namespace NopSolutions.NopCommerce.DataAccess
{
/// <summary>
/// Provides a base class for abstract provider classes
/// </summary>
[DBProviderSectionName("NotDefined")]
public partial class BaseDBProvider : ProviderBase
{
// TODO - add DBCommand o... |
using UnityEngine;
using UnityEngine.Experimental.Rendering;
using UnityEngine.Rendering;
[CreateAssetMenu(menuName = "Rendering/My Pipeline")]
public class MyPipelineAsset : RenderPipelineAsset {
[SerializeField]
bool dynamicBatching;
[SerializeField]
bool instancing;
protected override RenderPipeline Create... |
using System;
using System.Collections.Generic;
using System.Linq;
using CallCenter.Client.SqlStorage.Entities;
using CallCenter.Common;
using CallCenter.Common.Entities;
using CallCenterRepository.Controllers;
using NHibernate;
using NHibernate.Criterion;
namespace CallCenter.Client.SqlStorage.Controllers
... |
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;
nam... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QLTTHT.DAO
{
class HocVienLopHoc
{
public int MaLH { set; get; }
public int MaHV { set; get; }
public HocVienLopHoc() { }
public HocV... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Veeqo.Resources.Domain
{
public class Payment
{
public int id { get; set; }
public int order_id { get; set; }
public string payment_type { get; set; }
public object reference_number { get; set; }
... |
namespace SRTPluginProviderRE1
{
public enum CharacterEnumeration : int // mChangePlayerID
{
Chris = 0,
Jill = 1,
Rebecca = 2
}
}
|
namespace E05_RetrievingImages
{
using System;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
public class RetrievingImages
{
public static void Main(string[] args)
{
SqlConnection dbCon = new SqlConnection("Server=.\\SQLEXPRESS; " +
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Football.API.ViewModels
{
public class PlayerGetDto : PlayerDto
{
public int Goals { get; set; }
public int Assists { get; set; }
}
}
|
using System;
namespace Problem2
{
class Program
{
static void Main()
{
string x = Console.ReadLine();
double sum = 0, cnt = 0, i = 0;
foreach (var ch in x)
{
if ((i % 2 == 0) && char.IsDigit(ch))
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Reception.Domain.Entities
{
/// <summary>
/// Запасные чати для заказа на ремонт.
/// </summary>
public class PartOrderItem
{
/// <summary>
/// Идентифик... |
using FixyNet.Clases.Listas;
using FixyNet.fixynetDataSetTableAdapters;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FixyNet.Clases
{
class... |
using UnityEngine;
using System.Collections;
public class Items : MonoBehaviour {
[System.Serializable]
public class Item {
public Sprite menuSprite;
public GameObject prefab;
public Item(Sprite sprite, GameObject pref)
{
menuSprite = sprite;
prefab = pref;
}
};
private string prefabPath = ""... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Blazor.Browser.Interop;
namespace Blazorous
{
public static class BlazorousInterop
{
public static string Css(string css)
{
return Css(css, "false");
}
internal static string Css(string css,... |
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 MultiThreadAssignment
{
public partial class Form : System.Windows.Forms.Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HoraireAlpha
{
public class Ressource
{
private int id;
public Ressource()
{
}
public Ressource(int id)
{
setId(id);
}
... |
using FeedBackPlatformDatabase.Context;
using FeedBackPlatformDatabase.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FeedBackPlatformDatabase.DAL
{
public class QuestionTypeRepository : GenericRepository<QuestionType>
{
... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("MusicConfig")]
public class MusicConfig : MonoBehaviour
{
public MusicConfig(IntPtr address) : this(address, "Mus... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace API.Omorfias.Migrations
{
public partial class InclusaoTabelas : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilde... |
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// VisualNovelToolkit /_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;
/// <summary>
/// ViNo Config property is saved to PlayerPrefs.
/// </... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Newtonsoft.Json;
using OmniSharp.Extensions.JsonRpc.Serialization;
using OmniSharp.Extensions.JsonRpc.Serialization.Converters;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniS... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Data.Entity.Core;
namespace Marvolo.Data.Sync
{
/// <summary>
///
/// </summary>
public sealed class DbSyncEntry
{
internal DbSyncEntry(object targetEntity, EntityKey targetEntity... |
#region 版本说明
/*****************************************************************************
*
* 项 目 :
* 作 者 : 冯兴彬
* 创建时间 : 2010-5-27 10:23:16
*
* Copyright (C) 2008 - 鹏业软件公司
*
*****************************************************************************/
#endregion
/*
<daoFactory assembly="Peng... |
/*
* ProWritingAid API V2
*
* Official ProWritingAid API Version 2
*
* OpenAPI spec version: v2
* Contact: hello@prowritingaid.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
... |
using System;
using System.Data.Common;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace IDatabase.Database.providers
{
public class SqlServer : DatabaseConnection
{
/// <summary>
/// initialize New SqlServer Database Connection
/// </summary>
/// <param nam... |
using log4net;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Configuration;
namespace UploadFile.Lib
{
public class Logs
{
#region Log4net
public static readonly ILog LogCustomers = log4net.L... |
// Copyright 2018 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 day6.Collections;
namespace day6
{
class Program
{
static void Main(string[] args)
{
var c = new Candidates();
var S = c.AddCandidatesName();
Console.WriteLine(S);
c.AddCandidatesNames();
}
}
}
|
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using BillingAPI.DL.Data;
using BillingAPI.DL.Interfaces;
using BillingAPI.Models;
using Microsoft.EntityFrameworkCore;
namespace BillingAPI.DL.Services
{
public class ProductService : IProductService
{
... |
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 CMPT354_TermProject
{
public partial class CurrentCourseRegistration : Form
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Security
{
/**
* Store and retrieve credentials for external services
*
* @package OCP\Security
* @since 8.2.0
*/
public interface ICredentialsManager
{
/**
* Store a set of credenti... |
//
// Copyright 2014, 2016, 2020 Carbonfrost Systems, Inc. (https://carbonfrost.com)
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
... |
public interface INameFactory
{
IName Make(string firstName, string lastName);
}
|
using DatabaseConnection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace EPATEC.Controllers
{
[RoutePrefix("ProductosVentas")]
public class ProductosVentasController : ApiController
{
[Route("~/getAllProductosVentas")]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KillPlayer : MonoBehaviour {
public GameObject player;
public float respawnDelay;
public GameObject deathSparkles;
public GameObject respawnSparkles;
public GameObject respawnPoint;
public GameObject paper;
public Game... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Kinect;
using System.Drawing;
using System.Drawing.Imaging;
using ServerKinect.DataSource;
namespace ServerKinect.SKDMicrosoft
{
public class SDKDepthBitmapDataSource : SDKBitmapDataSource
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MJGame
{
class Place_yard : Place
{
public Place_yard()
{
introText= "A collection of cement dinosaurs stare balefully back at you from the yard.\n\nThey terrify you.";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace DAL
{
public class DAL_CTHD
{
Thaotac_CSDL thaotac = new Thaotac_CSDL();
//khai báo 2 mảng để truyền tên tham số và giá trị tham số vào Stored Proced... |
using System.Collections.Generic;
using System.Web;
using System.Net;
using Aqueduct.Extensions;
using Aqueduct.Net;
namespace Aqueduct.Web
{
/// <summary>
/// Static helper methods to do with Request
/// </summary>
public class RequestHelper
{
private static HttpRequest Req... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Admin_selTempList : System.Web.UI.Page
{
PDTech.OA.BLL.TEMPLATE_INFO tBll = new PDTech.OA.BLL.TEMPLATE_INFO();
PDTech.OA.BLL.USER_INFO uBll = new PDTe... |
using System;
using System.Collections.Generic;
namespace Templates.Framework
{
public interface ICodeBlock : IMultipleLines
{
IEnumerable<ILine> Lines { get; }
void Add();
void Add(string code);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
//
// 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.Web;
using System.Web.UI.WebControls;
using DotNetNuke.Common.Utilities;
#endregion
namespace DotNetNuke.UI.WebControls
{
... |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2010 Maurits Rijk
//
// DrawablePreview.cs
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DMIPrivateServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DMIPrivateServices.Model;
namespace DMIPrivateServices.Tests
{
[TestClass()]
public class DMIServiceTests
... |
using GraphQL.Types;
using System;
using System.Collections.Generic;
using System.Text;
using xAPI.Models;
namespace xAPI.Types
{
public class ObjectType : ObjectGraphType<Models.Object>
{
public ObjectType()
{
Field(x => x.UniqueId, type: typeof(GuidGraphType)).Descrip... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using _1_Presentacion_MVC.Models;
using _5_InterfazComun.Constantes;
namespace _1_Presentacion_MVC.WebClient
{
public class DimEmployeesClient
{
private static readonly HttpClient cl... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Microsoft.DataStudio.Diagnostics
{
public enum ComponentID // consumers of diagnostics
{
DataStudioService,
SolutionDeploymentWorker,
UxService,
HubService,
UxMonitoringService,
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace EBV
{
public partial class GuestHome : System.Web.UI.Page
{
BLL.BLL obj = new BLL.BLL();
static int id = 0;
protected ... |
namespace BibData.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class test3 : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.Carres", "image_id", "dbo.Images");
DropForeignKey("dbo.Carres", "page_id", "dbo.Pages... |
using ITQJ.Domain.DTOs;
using ITQJ.Domain.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using RestSharp;
using System;
using System.Linq;
namespace ITQJ.API.Controllers
{
[ApiController]
[Authorize]
[Route("api/[controller]")]
public cl... |
using System;
using ReadyGamerOne.View;
using SecondGame.Const;
using UnityEngine;
namespace SecondGame.View
{
public class PassNumUi:AbstractUI
{
private RectTransform rect;
private Transform content;
private float height;
private int currentIndex = 0;
private Vector3 s... |
namespace SGDE.Domain.Helpers
{
#region Using
using System.Globalization;
using System.Text;
#endregion
public static class Searcher
{
public static string RemoveAccentsWithNormalization(string inputString)
{
if (string.IsNullOrEmpty(inputString))
... |
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 Practice4
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PresenterLibrary.Views
{
public enum RemindRadioValues:short
{
Err=-1,
RemindInTime=0,
RemindBefore=1,
RemindAfter=2,
}
public enum EventRepeat... |
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 Computer_Graphics_Project
{
public partial class Form4 : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xadrez.TabuleiroEntities;
namespace Xadrez.PecasXadrez
{
class Rei : Peca
{
public Rei(Tabuleiro tabuleiro, Cor cor, PartidaXadrez partida) : base(tabuleiro, cor)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.DataStudio.Solutions.Queues.Entities
{
public enum DeploymentType
{
ARM = 0,
WorkFlow
}
}
|
using Moq;
using System;
using System.Linq;
using System.Management.Automation;
using TreeStore.Model;
using TreeStore.PsModule.PathNodes;
using Xunit;
namespace TreeStore.PsModule.Test
{
public class KosmographContainerCmdletProviderTest : TreeStoreCmdletProviderTestBase
{
#region New-Item /Tags/<nam... |
namespace Triton.Game.Mapping
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct Vector4
{
public float X;
public float Y;
public float Z;
public float W;
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Domain.Entities
{
public class HomeyMapping : EntityBase
{
public string TempTopic { get; set; }
public string HumTopic { get; set; }
public string MotionTopic { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
public Rigidbody2D rb;
public float thrust;
public float torque;
public float speed;
public GameObject thruster1;
public GameObject thruster2;
public List<Transform> Start... |
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 SW2ExplorerWV
{
public partial class TextEditor : Form
{
public TextEditor()
... |
namespace Azure.CosmosDB.Net.FluentAPI.CRUDOperation.Interface
{
public interface IInclude
{
IPage Page(int pageSize, int pageNumber);
}
} |
using System;
using System.Drawing;
using JasonJimenez.ClassicReport.Common;
namespace JasonJimenez.ClassicReport.Printing
{
class FontProvider
{
const string fontname = "Courier New";
public static Font GetFont(CPIEnum cpi)
{
System.Drawing.Font font = new Font(fontnam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServerKinect.OpenNI
{
public class OpenNISkeletonDataSource : NUISkeletonDataSource
{
public OpenNISkeletonDataSource(ISkeletonPointerDataSource skeletonDataSource)
: base(skeletonDat... |
using System.Data;
namespace TutteeFrame2.Reports.ReportModel
{
public class InfomationOfStudensResultOfClassPrepareToPrint
{
public DataSet BaseInforSchool = new DataSet();
public DataSet ds = new DataSet();
public string formalTeacher { get; set; }
public string classID { ge... |
using DG.Tweening;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIPrototype : MonoBehaviour
{
public MusicLayerController _controller;
public PowerUpController _puController;
public Canvas canvas;
public Image[] skills... |
namespace Enrollment.Spa.Flow.Cache
{
public static class TargetModules
{
public const int Admin = 0;
public const int Home = 1;
public const int Personal = 2;
public const int Admissions = 3;
public const int ContantInfo = 4;
public const int Residency = 5;
... |
using Microsoft.Win32;
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace ExecuteOnUnlock
{
class Program
{
/**
* @link https://pipiscrew.com
* @copyright Copyright (c) 2018 PipisCrew
* @l... |
using DotNetCore.AspNetCore;
using DotNetCoreArchitecture.Model.Models;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace DotNetCoreArchitecture.Web
{
[ApiController]
[RouteController]
public class ApplicationController : ControllerBase
{
[HttpGet]
public Task<Appl... |
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 System.Data.SqlClient;
using Excel = Microsoft.Office.Interop.Excel;
namespace Combina... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CoreComponents.Threading.SubThreading
{
public interface IIsolatedThread //<TID>
{
//TID Id
//{
// get;
//}
void Start();
bool IsActive
{
... |
namespace Darnton.Graphs
{
/// <summary>
/// A generic graph node.
/// </summary>
/// <typeparam name="T">The type of the node value.</typeparam>
public class GraphNode<T>
{
/// <summary>
/// The value of the node.
/// </summary>
public T Value { get; }
p... |
/* CTRADER GURU
Homepage : https://ctrader.guru/
Telegram : https://t.me/ctraderguru
Twitter : https://twitter.com/cTraderGURU/
Facebook : https://www.facebook.com/ctrader.guru/
YouTube : https://www.youtube.com/channel/UCKkgbw09Fifj65W5t5lHeCQ
GitHub : https://github.co... |
using GraphQL;
using GraphQL.Types;
using Im.Access.GraphPortal.Graph.OperationalGroup.Mutations;
namespace Im.Access.GraphPortal.Graph
{
public class IdentityMutation : ObjectGraphType
{
public IdentityMutation(IDependencyResolver dependencyResolver)
{
Name = "IdentityMutation";
... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_ParticleSystem_TrailModule : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int constructor(IntPtr l) {
try {
#if DEBU... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace App1
{
public partial class MainPage : ContentPage
{
TakePhotoPage takePhotoPage;
public MainPage()
{
InitializeComponent();
... |
using System;
using System.IO;
using System.Linq;
using System.Security.Claims;
using Common;
namespace Redux
{
public class ReduxControl: IDisposable
{
#region Свойства
public SteamAPI Steam { get; set; }
public ReduxSettings Settings { get; set; }
public ReduxMessages Mes... |
using System;
using Whale.Shared.Models.Meeting;
namespace Whale.SignalR.Models.Call
{
public class StartGroupCallDTO
{
public Guid GroupId { get; set; }
public MeetingCreateDTO Meeting { get; set; }
}
}
|
using System;
using UniRx;
using UnityEngine;
using UnityEngine.UI;
public sealed class SpawnBallButton : MonoBehaviour
{
[SerializeField] private GameState _gameState;
[SerializeField] private Button _button;
private void Start()
{
_gameState.LaunchNewBall
.BindTo(_button)
.AddTo(this)... |
using AspNetCoreSample.Models.Defaut;
using AspNetCoreSample.Models.Defaut.Dtos;
using Hybrid.Application.Services;
using System;
using System.Threading.Tasks;
namespace AspNetCoreSample.Services
{
public interface IDefaultService : IBaseService<Default, Guid, DefaultDto, CreateDefaultInput, UpdateDefaultInput>... |
using UnityEngine;
namespace FairyGUI
{
public class ShaderConfig
{
public delegate Shader GetFunction(string name);
public static GetFunction Get = Shader.Find;
public static string imageShader = "FairyGUI/Image";
public static string textShader = "FairyGUI/Text";
pu... |
//Given an array of numbers,
//write a method
//that only puts even numbers in a list and return that list
//Version 1
public List<int> Evens(int[] numbers)
{
var evenNumbers = new List<int>();
foreach(var num in numbers)
{
if(num % 2 == 0)
{
evenNumbers.Add(num);
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MMSdb.dbo.Tables
{
[Table("tbl_AccntReceivables")]
public class tbl_AccntReceivables
{
[Key]
public long recv_ID { g... |
using System;
using System.Collections.Generic;
using UnityEngine;
[SelectionBase]
[DisallowMultipleComponent]
[RequireComponent(typeof(PlayerInput))]
public sealed class PlayerWeaponManager : MonoBehaviour
{
[SerializeField] private Transform m_WeaponContainer;
[SerializeField] private Transform m_LookContain... |
using JKMWindowsService.Utility.Log;
using System;
using System.Configuration;
using System.ServiceProcess;
using System.Threading;
namespace JKMWindowsService
{
public partial class WindowsService : ServiceBase, IWindowsService
{
private Timer Scheduler;
private readonly MoveManager.IMoveDeta... |
/*
* Author: Konstantin Ivanov
*
* Official site: http://konstantini.data.bg/sharpbelot
*
* */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Belot;
using System.Reflection;
using System.T... |
using FirstWebApp.Services;
using FirstWebApp.Services.Scraping;
using FirstWebApp.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Thr... |
using System.Data.Entity;
using System.Net;
using System.Threading.Tasks;
using System.Web.Mvc;
using Web.Data;
using Web.Models;
namespace Web.Areas.Admin.Controllers
{
public class ManageResourceTypesController : Controller
{
private readonly ApplicationDbContext _db = new ApplicationDbContext();
... |
using System.Threading.Tasks;
using GraphQL.Client.Http;
using Indico.Mutation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Indico.Tests.Mutation
{
[TestClass]
public class ModelGroupQueryTest
{
GraphQLHttpClient _client;
[TestInitialize]
public void Initialize()... |
using LogicBuilder.Attributes;
using System;
namespace Enrollment.Forms.Parameters.Directives
{
public class DirectiveArgumentParameters
{
public DirectiveArgumentParameters
(
[Comments("Name of the argument for the directive method.")]
string name,
[Comments("Value of the argument for the direc... |
/*
* Author: Konstantin Ivanov
*
* Official site: http://konstantini.data.bg/sharpbelot
*
* */
using System.Collections.Generic;
namespace Belot
{
/// <summary>
/// Belot Game.
/// </summary>
public class BelotGame
{
#region Fields
private IList< Deal > _deals;
private Deal _currentDeal;
private ... |
using System.Collections.Generic;
using System.Linq;
using LifeReelAPI.Data;
using LifeReelAPI.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace LifeReelAPI.Controllers
{
[Route("api/[controller]")]
public class EventController : Controller
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BPiaoBao.AppServices.Contracts.SystemSetting;
using BPiaoBao.AppServices.Contracts.SystemSetting.DataObject;
using BPiaoBao.AppServices.DataContracts;
using BPiaoBao.AppServices.DataContracts.SystemSetting;
using BPiaoBao.Commo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MicrosoftQuestions
{
public class _004_BoltsAndNuts
{
/*
* A list of bolts and nuts, sort the both array match them. make all
* compare(bolts[i], nuts[i]) ==... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Storage;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Searchfight {
public interface ISearchEngine {
SearchEngineResult Search(string query);
}
}
|
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("EditorFacebookAccessToken")]
public class EditorFacebookAccessToken : MonoBehaviour
{
public EditorFacebookAccessToken(IntPtr address) : this(address, "EditorFacebookA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.