text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
public class LolValues : MonoBehaviour {
public GameObject blast;
public GameObject fireSprite;
public GameObject idleSprite;
public GameObject shotSpawn;
private Transform player;
Vector3 target;
// Use this for initialization
void Start () {
StartCoroutine (bla... |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2010 Maurits Rijk
//
// Coordinate.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 of th... |
using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using PDTech.OA.Model;
namespace PDTech.OA.BLL
{
/// <summary>
/// VIEW_RISK_ORCHIVE_PROJECT
/// </summary>
public partial class VIEW_RISK_ORCHIVE_PROJECT
{
private readonly PDTech.OA.DAL.VIEW_RISK_ORCHIVE_PROJECT dal=new... |
using System.Diagnostics;
using Newtonsoft.Json;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
using OmniSharp.Extensions.LanguageServer.Protocol.Client;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Genera... |
using Lfs.Calculator.Models;
using System.Collections.Generic;
namespace Lfs.Calculator
{
/// <summary>
/// Используется для преобразования исходного набора токенов к валидному набору токенов в терминах шарпа.
/// </summary>
public class Simplifier
{
/// <summary>
/// Преобразует и... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("LOE10_Giantfin")]
public class LOE10_Giantfin : LOE_MissionEntity
{
public LOE10_Giantfin(IntPtr address) : this(address, "LOE10_Giantfin")
{
}
public LOE10_Giantfin(IntPtr address, string clas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DietFood.Models.Calculator
{
public class CalculateModel
{
public DayCalculation DayCalculation { get; set; }
public List<DishParam> Dishes { get; set; }
public Day Day { get; s... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PrimeNumberPrinter.Program
{
public class PrimeFactorRunner
{
/// <summary>
/// Main runner for the program
/// </summa... |
/**Rank.cs
*
* Description: This enumerate holds the rank values of a standard playing card
*
* @authors Matthew Cormier, Kyle Warner, Chris Hobday
* @version 1.0
* @since 1.0 (03/01/2016)
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Task... |
// Tokenizer.cs
// Author:
// Stephen Shaw <sshaw@decriptor.com>
// Copyright (c) 2009-2011 Stephen Shaw
using System;
using System.Collections.Generic;
using System.IO;
namespace Compiler.Tokens
{
public class Tokenizer : IDisposable
{
readonly StreamReader _stream;
readonly Queue<string> _tokens;
b... |
namespace TPLinCSharpSample.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
[TestClass]
public class SalesPersonTest
{
[TestMethod]
public void Ctor_AlwaysReturns_ValidInstance()
{
// Act
var fixture = this.CreateFixture("... |
namespace Sales_Report
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class SalesReport
{
public static void Main(string[] args)
{
//read the number of sales;
var numberOfS... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace TruYum.Models
{
public class MenuItemOperatio... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Alpaca.Markets
{
public sealed partial class AlpacaTradingClient
{
/// <summary>
/// Gets account information from Alpaca REST API endpoint.
/// </summary>
/// <param... |
using System;
namespace WeihanLi.EntityFramework.DbDescriptionHelper
{
/// <summary>
/// TableDescription
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class TableDescriptionAttribute : Attribute
{
/// <summary>
/// Tab... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace MvcMonitor.Data.Repositories
{
public static class ErrorRepositoryLocator
{
private static List<Type> _repoAssemblies;
public static IEnumerable<Type> GetErrorRepositories()
{
if (_repoAssemblies ... |
namespace BiPolarTowerDefence.Entities
{
public enum TowerType
{
Frosty,
Fiery,
Earthy,
Normal
}
} |
using FindSelf.Application.Configuration.Queries;
namespace FindSelf.Application.Configuration.Queries.Paging
{
public abstract class PaggingQueryBase<T> : IQuery<PaggingView<T>>
{
private int pageSize = 20;
private int index = 1;
public int PageSize
{
get => pageS... |
namespace OmniGui.Xaml
{
using System.Collections.Generic;
using Templates;
public interface ITemplateInflator
{
void Inflate(Layout layout, ICollection<ControlTemplate> controlTemplates);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace transGraph
{
public partial class listSuppConst : Form
{
dbFacade db = new dbFacade();
string t;
public listSup... |
using System.Collections;
using System.Collections.Generic;
using Photon.Pun;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;
using UnityEngine.UI;
public class PlayerControl : MonoBehaviour {
// Controll
public float accelerationForce = 10f;
public float d... |
using System;
namespace Shango.CommandProcessor.Parsing
{
using System.Text;
using ConsoleProcessRedirection;
/// <summary>
/// Summary description for Parser.
/// </summary>
public class DefaultCommandParser : IParser
{
public
string
Parse(
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DomainValueEdit.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------... |
using System;
using System.IO;
using OpenTK;
using OpenTK.Graphics.OpenGL4;
namespace Common.Graphics
{
public abstract class AbstractShaderManager
{
/// <summary>
/// main program
/// </summary>
public int ProgramId { get; set; }
/// <summary>
/// skybox
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class RandomLevelLoader : MonoBehaviour
{
public int levelGenerate;
public void LoadTheLevel()
{
levelGenerate = Random.Range(1, 5);
SceneManager.LoadScene(levelGenerate... |
namespace AIMA.Core.Util.DataStructure
{
using System;
using System.Collections.Generic;
/**
* Artificial Intelligence A Modern Approach (3rd Edition): pg 79.<br>
* The operations on a queue are as follows:<br>
* <ul>
* <li>EMPTY?(queue) returns true only if there are no elements in the ... |
using System;
using System.Linq;
using Microsoft.AspNetCore.Builder;
namespace Peppy.Swagger
{
public static class ApplicationBuilderExtensions
{
public static IApplicationBuilder UseSwagger(
this IApplicationBuilder app,
Action<SwaggerOptions> options
) => app.UseSwagg... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Security.Cryptography.X509Certificates;
using Sunny.Lib;
using System.Reflection;
namespace Sunny.Tools
{
public part... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grisaia.Utils {
/// <summary>
/// An array of disposable objects that can be cleaned up in one using statement.
/// </summary>
/// <typeparam name="T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using EatDrinkApplication.Data;
using EatDrinkApplication.Models;
using EatDrinkApplication.Contracts;
using Sy... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace MediaManager.DAL.DBEntities
{
public class Audio
{
public string Title { get; set; }
p... |
using System;
namespace Probelms.Kattis.Com.Core
{
public class NoMoreTokensException : Exception
{
}
} |
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using jcTM.PCL.Handlers;
using jcTM.PCL.Transports;
namespace jcTM.UWP.ViewModels {
public class DayOverviewReportModel : BaseModel {
private Visibility _showProgress;
public Visibility ShowProgress {
... |
using System.Collections.Generic;
using System.Linq;
using Faust.PetShopApp.Core.IServices;
using Faust.PetShopApp.Core.Models;
using Faust.PetShopApp.Domain.IRepositories;
namespace Faust.PetShopApp.Domain.Services
{
public class PetTypeService:IPetTypeService
{
private IPetTypeRepository _petTypeRep... |
using System;
namespace Employee_wage_2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("UC1 output");
UC1_EmployeeAttendance obj1 = new UC1_EmployeeAttendance();
obj1.GetAttendance();
... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using System.IO;
using System;
public class dataRecorder : MonoBehaviour {
public bool noOverwrite = true;
public bool compareToDock = true;
bool stopWriting = false;
public bool recordAngles = false;
... |
public interface ILuckResult<T>
{
T Ten { get; }
T Jin { get; }
T Ti { get; }
T Gai { get; }
T Sou { get; }
T Katei { get; }
T Syakai { get; }
T Nai01 { get; }
T Nai02 { get; }
IEnumerable<T> ToArray();
}
|
using System;
using Xamarin.Forms;
namespace AnimeViewer.Views.Partials
{
public partial class MenuItem : ContentView
{
private ImageSource _image;
private bool _isActive;
private string _text;
public MenuItem()
{
InitializeComponent();
Binding... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Bosdyn.Api;
using Grpc.Core;
using SpotServer.infrastructure;
using SpotServer.robot;
namespace SpotServer.services
{
public class SpotLeaseService : LeaseService.LeaseServiceBase
{
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace GameofLife_Problem
{
class Program
{
static void Main(string[] args)
{
int[,] array = new int[25, 25];
var inputRowsColumns = new List<(int, int)>();
int nextGenerationInput = Conve... |
using System.Xml.Serialization;
namespace PlatformRacing3.Web.Responses.Procedures;
public class DataAccessGetMyBlockCategorysResponse : DataAccessDataResponse<DataAccessGetMyBlockCategorysResponse.BlockCategory>
{
public DataAccessGetMyBlockCategorysResponse()
{
this.Rows = new List<BlockCategory>(0);
}
publ... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Practica3.Models
{
//[Table("Tb_Registrar")]
public class Registrar
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Column("id")]
public int id { get... |
namespace SGA.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Teste : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.Ementa", "EmentaId", "dbo.Aula");
DropIndex("dbo.Ementa", new[] { "EmentaId" });
... |
using System;
using System.IO;
using Dietando.Droid;
using SQLite.Net;
using SQLite.Net.Platform.XamarinAndroid;
[assembly: Xamarin.Forms.Dependency (typeof (SQLite_Android))]
namespace Dietando.Droid
{
public class SQLite_Android : ISQLite
{
public SQLite_Android ()
{
}
#region ISQLite implementation
... |
using System.Threading.Tasks;
using PMA.Store_Domain.Masters.Entities;
namespace PMA.Store_Domain.Masters.Repositories.Interface
{
public interface IMasterCommandRepository
{
void Add(Master master);
Task AddAsync(Master master);
Task<int> SaveChangesAsync();
int SaveChange();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PreiseScript : MonoBehaviour {
float result;
float finalresult;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (DrehungCountScript.drehnum == -1)
... |
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 PROJETOBDDEDE
{
public partial class frmExcProf : Form
{
Form1 f... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Invert.StateMachine;
/*
public class UnitStackState : UnitStackStateBase {
public UnitStackState(ViewModel vm, string propertyName) :
base(vm, propertyName) {
}
}
* */
|
using System;
namespace Psub.DataService.DTO
{
public class CommentDTO
{
public int Id { get; set; }
public string Text { get; set; }
public string Name { get; set; }
public string Guid { get; set; }
public DateTime Created { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using PheonixRt.DataContracts;
using PheonixRt.ResampleServiceContracts;
namespace PheonixRt.ResampleEngineService
{
[ServiceContract]... |
using UnityEngine;
using System.Collections.Generic;
public class SessionParameters : MonoBehaviour {
public string ScenarioName { get; set; }
public Session Session { get; set; }
public Dictionary<string, bool> BoolParameters { get; set; }
public Dictionary<string, int> IntParameters { get; set; }
... |
using Newtonsoft.Json;
/// <summary>
/// Scribble.rs ♯ data namespace
/// </summary>
namespace ScribblersSharp.Data
{
/// <summary>
/// A class that describes chat message data
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
internal class ChatMessageData : IValidable
{
/// <sum... |
using System;
using System.Linq;
using System.Globalization;
using System.Collections.Generic;
namespace Gen3EventLegality
{
public static class Program
{
private static string version = "2.0";
[Flags]
public enum Algo : ulong
{
Unknown = 0x00000000,
WSHMKR = 0x00000010,
Offset = 0x00000020,
For... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace GroceryStores.Pages
{
public class AutoCompleteModel : PageModel
{
[BindProperty]
private string Term { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fs6502.Assembler;
using Xunit;
namespace Fs6502.Emulator.Test
{
public class CpuTest
{
[Fact]
public void _Addressing_ZeroPage()
{
var program = new Ass... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls.Primitives;
usin... |
using AutoMapper;
using AutoMapper.Extensions.ExpressionMapping;
using Contoso.AutoMapperProfiles;
using Contoso.BSL.AutoMapperProfiles;
using Contoso.Common.Configuration.Json;
using Contoso.Contexts;
using Contoso.Domain.Json;
using Contoso.Repositories;
using Contoso.Stores;
using Contoso.Utils;
using Microsoft.AspN... |
using System;
namespace Logic.SupportClasses {
public class HelperMathFunctions {
public static double SphereArea(double radius) {
return 4 * Math.PI * Math.Pow(radius, 2);
}
}
public static class HelperRandomFunctions {
private static Random randomizer;
stati... |
using System.Collections.Generic;
using System.IO;
using System.Web.Http;
using CloneDeploy_App.Controllers.Authorization;
using CloneDeploy_Common;
using CloneDeploy_Entities;
using CloneDeploy_Entities.DTOs;
using CloneDeploy_Services;
namespace CloneDeploy_App.Controllers
{
public class FileSystemController : ... |
using System;
using Microsoft.Extensions.Logging;
namespace SharpDL.Graphics
{
public class TextureFactory : ITextureFactory
{
private readonly ILogger<TextureFactory> logger;
public TextureFactory(
ILogger<TextureFactory> logger = null)
{
this.logger = logger;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// A skeleton of a C# program
namespace ClassLearning
{
class YourClass
{
//在类中,可以创建方法、变量、事件的组合,从而自定义类型。
//如果该类没有生命为static,则该类可以通过创建对象或实例从而使用该类
//在对变量的所有引用都超出范围之前,该变量始终保... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class nextLevel : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D collision)
{
Debug.Log(gameObject.transform.parent.parent.name);
if (collision.gameObject.tag == "Player") {
Application.L... |
using FinalProject.Backend;
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 FinalProject.Frontend
{
public partial class FrmPrincipal : Fo... |
using UnityEngine;
using System.Collections;
public class PercentSizer : MonoBehaviour
{
///////////////////////////////////////////////////////////////////////////////////////////////
// PUBLIC VARS
public string Note = "";
public KeyCode TriggerKeyCode = KeyCode.Space;
public... |
using System.Data.Linq;
namespace GenerateNorthwindDBContext
{
public partial class Employee
{
private EntitySet<Territory> employeeTerritories = new EntitySet<Territory>();
public EntitySet<Territory> EmployeeTerritories
{
get
{
var resultSet =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Agenda.API.Controllers
{
[Produces("application/json")]
[Route("api/[controller]")]
public class UsersController : Controller
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.IO;
namespace P3DColourKey
{
public partial class P3D
{
public struct ImageDataStruct //Structure to hold basic universal chunk data
{
public string Name;
public int version;... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class StatusBox : MonoBehaviour
{
public enum StatusType
{
Hp,
Mp,
}
private Player targetPlayer;
private Image portraitImage;
private List<Image> heartImages = new List... |
using org.sola.services.boundary.wsclients;
using org.sola.webservices.administrative.extra;
using org.sola.webservices.search.extra;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LRB.Lib.Console
{
class SearchTest
{
publi... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using ControlLocalizer;
using BUS;
namespace GUI
{
public partial class r_pchi : DevExpress.XtraReports.UI.XtraReport
{
thuviendocso bangchu = new thuviendocso();
public r... |
using MediatR;
namespace OmniSharp.Extensions.JsonRpc
{
/// <summary>
/// A simple marker interface to use for storing handling's (which will be cast out later)
/// </summary>
public interface IJsonRpcHandler
{
}
/// <summary>
/// Marker interface for source generation to properly kn... |
using LuizalabsWishesManager.Domains.Models;
namespace LuizalabsWishesManager.Domains.Repositories
{
public interface IProductRepository : IRepositoryBase<Product>
{
}
}
|
using System.ComponentModel;
using System.Linq;
namespace Athena.Data.Categories {
public static class ExtensionMethods {
public static string GetDescription(this Category c) {
return ((DescriptionAttribute[]) c.Name.GetType()
.GetMember(c.Name.ToString())
.Firs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
using Entidades;
namespace Archivos
{
public class Sql : IArchivo<Queue<Patente>>
{
#region Atributos
static SqlConnection conexi... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_GL : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
GL o = new GL();
LuaObject.pushValue(l, true);
LuaObject.pushValue(l, o);
result =... |
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using Utility;
using Uxnet.Com.Security.UseCrypto;
using ... |
using ServerKinect.Shape;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServerKinect.HandTracking.Mouse
{
public class FingerCursorMode : ICursorMode
{
public Point GetPoint(HandCollection handData)
{
return handData.Han... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_AnchoredJoint2D : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
AnchoredJoint2D o = new AnchoredJoint2D();
LuaObject.pushValue(l, true);
... |
using EcobitStage.DataTransfer;
using GalaSoft.MvvmLight;
using System.Text.RegularExpressions;
namespace EcobitStage.ViewModel.DataViewModel
{
public class User : ViewModelBase, ITransfer
{
public int ID { get; set; }
public string FirstName { get; set; }
public string LastName { get;... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Configuration;
namespace Polite
{
public class FileHandler
{
public List<Contact> getFileContents()
{
List<Contact> fileContentList = new List<Contact>();
try
... |
using Student_Management.BL;
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 Student_Management.UI
{
public partial class GiaoVu : Form
... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Tools.Models
{
public class CarNumberModel
{
public string Name { get; set; }
public string Province { get; set; }
public... |
using RestSharp.Deserializers;
namespace GoogleDistanceMatrix.Entities
{
public class Distance
{
[DeserializeAs(Name = "text")]
public string Text { get; set; }
[DeserializeAs(Name = "value")]
public int Value { get; set; }
}
}
|
public class Characteristic
{
public string name;
public Measurement measurement;
public float weight;
public Characteristic()
{
name = "";
measurement = null;
weight = 0;
}
public Characteristic(string nName)
{
name = nName;
measurement = null;
weight = 0;
}
... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace PlebBot.Data.Repository
{
public interface IRepository<T>
{
//Add a new record to the database
Task<int> Add(IEnumerable<string> columns, IEnumerable<object> values);
//Find the first matching record from the da... |
namespace RecipeOcr
{
public enum OutputFormat
{
txt,
rtf,
docx,
xlsx,
pptx,
pdfSearchable,
pdfTextAndImages,
xml
};
} |
using AutoMapper;
using PrimeNumbers.API.Models.Requests;
using PrimeNumbers.Application.PrimeNumber.Queries.CheckIsPrimeNumber;
using PrimeNumbers.Application.PrimeNumber.Queries.GetNextIfNotPrimeOrCurrent;
namespace PrimeNumbers.API.Profiles
{
public class RequestToQueryProfile : Profile
{
public Re... |
namespace Vega.Services
{
using System.Collections.Generic;
using System.Linq;
using Contracts;
using Data.Common;
using Data.Models;
public class PhotosService : IPhotosService
{
private readonly IDbRepository<Photo> _photos;
public PhotosService(IDbRepository<Photo> phot... |
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using StructureMap;
using Pes... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GovermentApp
{
class SupremeConsil
{
private static SupremeConsil consil;
private SupremeConsil() { }
public static SupremeConsil GetConsil()
... |
using UnityEngine;
using System.Collections;
public class MenuLoader : MonoBehaviour {
public GameObject canvas;
void Start () {
UnityEngine.Cursor.visible = true;
((GameObject)Instantiate (canvas)).GetComponent<Canvas> ().worldCamera = Camera.main;
}
}
|
using System;
class Rectangles
{
static void Main()
{
//Write an expression that calculates rectangle’s perimeter and area by given width and height.
Console.WriteLine("Please, tell me your rectangle's width and height.");
Console.Write("Width: ");
... |
using System;
namespace Exemplo
{
class Program
{
static void Main(string[] args)
{
Exibir("Olá Mundo");
}
/// <summary>
/// Exibe uma mensagem na tela
/// </summary>
/// <param name="mensagem">Informe aqui a mensagem a ser exibida</param>
... |
using System;
using System.Net;
using System.Data;
using System.Linq;
using Microsoft.Data.SqlClient;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNet.OData;
using Microsoft.AspNet.OData.Routing;
using Microsoft.AspNet.OData.Query;
using Microsoft.En... |
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
us... |
namespace Searchfight {
class ReportEngineName : ReportType<string> {
public ReportEngineName(string value) : base(value) {
}
}
} |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class BossCorona : MonoBehaviour
{
public new Rigidbody2D rigidbody;
public Image healthBar;
public GameObject corona;
public GameObject bouncyCorona;
public GameObject deathParticles;
public Animator animator;
p... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace WebApplication1.Models
{
public class Ubication
{
[Key]
public int UbicationId { get; set; }
[Display(Name = "Descripcion")]
[StringLengt... |
using System;
using System.Globalization;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using MMSCAN;
namespace ScannerWinMobile
{
public partial class DMGetDocForm : Form
... |
using System;
using System.Collections.Generic;
using AjaxPro;
using AJAXdataHelper;
namespace SKT.MES.Web.Controls
{
/// <summary>
/// 用于无需面向对象操作数据时的轻量级数据库操作助手
/// 此文件非必要,无需再修改
/// </summary>
public class PageSQLService
{
[AjaxMethod]
public List<string> ExecuteNonQuery(String... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.