text stringlengths 13 6.01M |
|---|
using GardenControlRepositories.Entities;
using GardenControlRepositories.Interfaces;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GardenControlRepositori... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EX_2A___Calculating_Averages
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("This application will accept an arbitrary number of tes... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.ComponentModel;
namespace KartSystem
{
public class RestSaleReportRecord:Entity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
... |
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 VJBatangas.LomiHouse.Business;
using VJBatangas.LomiHouse.Common;
using VJBatangas.LomiHouse.Entity;
namespace VJBatangas.LomiHo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace CoherentSolutions.Extensions.Configuration.AnyWhere
{
public class AnyWhereConfigurationFileSearch : IAnyWhereConfigurationFileSearch
{
private readonly IAnyWhereConfigurationFileSystem fs;
public An... |
using mec.Common.Base;
using mec.Model.Apps;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace mec.Framework
{
publ... |
using ScheduleService.CustomException;
using ScheduleService.Model.Memento;
using System;
namespace ScheduleService.Model
{
public class Examination : IOriginator<ExaminationMemento>
{
private int Id { get; }
private Appointment Appointment { get; }
private ExaminationType ExaminationT... |
using System;
namespace AppForMigrationDataFromKmiacDB
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello 4World!");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.OleDb;
namespace CS350_BackendAPI
{
class Database
{
static string dataFileLocation = @"E:\1. University Of Northern Colorado\6. Fall 2017\Software Engineeri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : MonoBehaviour {
public enum States { idle,moving,hitStun,shocking,attacking}
public States state = States.idle;
public bool dead = false;
public bool hitStun = false;
public AudioSource audioSo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns.Singleton.Example1
{
//https://csharpindepth.com/Articles/Singleton
public sealed class SingletonLazy
{
private static readonly Lazy<SingletonLazy>
lazy =
new Lazy<SingletonLazy>
... |
using DataAccess.Entities;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace DataAccess
{
public class ApplicationUser:IdentityUser<Guid>
{
public ICollection<TblPurchaseOrder> PurchaseOrders { get; set; }
... |
using UnityEngine;
using System.Collections.Generic;
using System;
using System.Threading;
using System.Text;
using UnityEngine.Events;
#if (UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX || UNITY_IOS)
using AOT;
using System.Runtime.InteropServices;
#endif
namespace Ardunity
{
[AddComponentMenu("ARDUnity/CommSocket/H... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Car_service.Modells;
using Car_service.Repositories;
using Microsoft.AspNetCore.Mvc;
namespace Car_service.Controllers
{
[Route("api/work")]
[ApiController]
public class WorkController : ControllerBase
... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiChain.Framework;
using FiiiChain.IModules;
using System;
using System.Collections.Generic;
using System.Text;
namespace F... |
namespace CommandInterpreter
{
using System;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
Execute();
}
private static void Execute()
{
var arr = Console.ReadLine().Split(new[] { ' ' }, StringSplitOpt... |
using mec.Model.Entities;
using mec.Model.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace mec.Model.Interfaces
{
[ServiceContract]
public interface IOrder
{
[OperationContract]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace CS_2_HomeWork
{
class Program
{
public static void Start()
{
Form form = new Form();
... |
using System;
using System.Runtime.InteropServices;
using Vanara.InteropServices;
using FILETIME = System.Runtime.InteropServices.ComTypes.FILETIME;
namespace Vanara.PInvoke
{
/// <summary>Methods and data types found in Crypt32.dll.</summary>
public static partial class Crypt32
{
/// <summary>Private key pair t... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PalinLibrary;
namespace PalendromeTest
{
[TestClass]
public class PTest :PalinLibrary.PalenLib
{
[TestMethod]
public void TestMethod1()
{
PalenLib PTest = new PalenLib();
Assert.AreEqual(PTest.palendr... |
using System;
namespace AxiEndPoint.EndPointClient.Transfer
{
[Serializable]
public class CommandParameter
{
public string Name { get; set; }
public object Value { get; set; }
public int Direction { get; set; }
}
} |
namespace Ricky.Infrastructure.Core.Generic
{
public enum OrderDirection
{
/// <summary>
/// Represents an ascendant (A-Z) ordering.
/// </summary>
Ascendant = 0,
/// <summary>
/// Represents a descendant (Z-A) ordering.
/// </summary>
Descendant... |
/*
* MIT License
* Copyright (c) 2018 SPARKCREATIVE
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m... |
using Caliburn.Micro;
using Caliburn.Micro.Xamarin.Forms;
using RRExpress.AppCommon.Attributes;
using RRExpress.Seller.Entity;
using System.Collections.Generic;
using System.Windows.Input;
using Xamarin.Forms;
namespace RRExpress.Store.ViewModels {
[Regist(InstanceMode.Singleton)]
public class MyViewModel : ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace <%= domainTestsProjectName %>.Services
{
[TestClass]
public class ExempleServiceTests
{
[TestMethod]
public void... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class QuestionObject {
public Effect right;
public Effect left;
public string question;
public string rightChoice;
public string leftChoice;
public string rightResult;
public string leftResult;
publ... |
using UnityEngine;
public class HideController : MonoBehaviour
{
private bool didHideDefaultController;
void LateUpdate ()
{
HideDefaultControllerIfNeeded();
}
void HideDefaultControllerIfNeeded()
{
if (!didHideDefaultController)
{
Renderer[] renderers = transfo... |
using UnityEngine;
using System.Collections;
public class BeatsEngine : MonoBehaviour {
public static BeatsEngine Instance;
public float bpm = 60f;
public bool bpmIncreases = true;
private int beats;
public GameObject sun;
private SunScript sunScript;
private TerrainGeneration terrainGeneration;
private C... |
namespace P08MilitaryElite.Interfaces.Factories
{
public interface IPrivateFactory : IAbstractFactory<IPrivate>
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace SelectionCommittee.BLL.DataTransferObject
{
public class StatementDTO
{
public string EnrolleeId { get; set; }
public int SpecialtyId { get; set; }
public int Priority { get; set; }
}
}
|
using System;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual
{
/// <summary>
/// Representa el objeto request de Bien
/// </summary>
/// <remarks>
/// Creación : GMD 20150515 <br />
/// Modificación : <br />
/// </remarks>
public class BienRequest
... |
using System;
namespace ResilienceClasses
{
public class clsLoanTable
{
public clsLoanTable()
{
}
}
}
|
namespace Zinnia.Tracking.Collision.Active
{
using UnityEngine;
using UnityEngine.Events;
using System;
using System.Collections.Generic;
using Malimbe.MemberClearanceMethod;
using Malimbe.XmlDocumentationAttribute;
using Malimbe.PropertySerializationAttribute;
using Malimbe.BehaviourSt... |
using UnityEngine;
public struct ColorHSV {
float m_h; // 0..360
public float H {
get => m_h;
set => m_h = value % 360;
}
float m_s; // 0..100
public float S {
get => m_s;
set {
if (value < 0) m_s = 0;
else if (value > 100) m_s = 100;
else m_s = value;
}
}
float m_v; // 0..100
public f... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace MODEL.ViewPage
{
/// <summary>
/// 登陆用户 模型
/// </summary>
public class LoginUser
{
[Required(ErrorMessage="请输入用户名")]
... |
using ApiGetBooks.Controllers;
using ApiGetBooks.Entities;
using ApiGetBooks.Repositories;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
namespace ApiGetBooks.Test {
public class SearchBooksRepositoryTest {
protected readonly ISearchBooksRepository _SearchBooksrepo... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace BuildingGame
{
class BuildManager
{
Map map;
CellSelection cs;
BuildingType toBuild;
public enum BuildingType
{
Strasse,
... |
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.Collections;
using System.Runtime.InteropServices;
using System.Diagnostics;
using Microsoft... |
namespace Juicy.Core.UnitTest.Resources
{
class SomeClass
{
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
using System.Security.Policy;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using DataStrcture.Graph;
using DataStrcture.LinkedList... |
public class Solution {
public IList<string> FindRepeatedDnaSequences(string s) {
var res = new List<string>();
if (s.Length <= 10) return res;
var m = new Dictionary<int, int>();
int mask = 0x7ffffff;
int curr = 0;
for (int i=0; i<9; i++) {
curr = (curr<<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartSystem
{
public class LinkDocument:Entity
{
[DBIgnoreReadParam]
[DBIgnoreAutoGenerateParam]
public override string FriendlyName
{
get
... |
using System;
using System.Collections.Generic;
using System.IO;
namespace wsb
{
[System.Serializable]
public class VendingMachine
{
// unikatowy kod maszyny
public string Code { get; set; }
// adres miejsca gidze jest postawiona
public string Adress { get; set; }
... |
using UnityEngine;
using System.Collections;
public class ClownMovement : MonoBehaviour {
public GameObject Clown;
public bool setActive = false; // Clown is inactive to begin
public bool onScreen = false; // Clown is off screen to begin
public Transform Check;
private float Speed;
public bool Token = false;
... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Rollbar;
using Rollbar.DTOs;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressio... |
public interface IGenericRepository<TEntity>
where TEntity : class
{
IList<TEntity> GetAll();
TEntity GetById(string rowid);
void Create(TEntity entity);
void Update(string rowid, TEntity entity);
void Delete(string rowid);
}
|
namespace Models.Towers
{
public class PistolModel : IWeapon
{
public int Radius
{
get { return 2; }
}
public int Damage
{
get { return 1; }
}
public float RechargeTime
{
get { return 0.5f; }
}
p... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace HCBot.Runner.Schedule
{
public class FlatFileTrainingScheduleProvider : ITrainingScheduleProvider
{
readonly string filePath;
public FlatFileTrainingScheduleProvider(string path)
... |
namespace Pobs.Domain
{
public enum ReactionType
{
Upvote = 1,
ThisMadeMeThink = 2,
ThisChangedMyView = 3,
NotRelevant = 4,
YouBeTrolling = 5,
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HomeWork7_2
{
class Program
{
static void TestCh(double a)
{
if (a > 0)
{
Console.WriteLine("{0} положительное число",a);
... |
using ServiceQuotes.Application.DTOs.ServiceRequest;
namespace ServiceQuotes.Application.DTOs.Quote
{
public class GetQuoteWithServiceDetailsResponse : GetQuoteResponse
{
public GetServiceWithCustomerAndAddressResponse ServiceRequest { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using CSVHandler;
using System.Windows;
using System.Collections.ObjectModel;
namespace Tax_Time.DataModel
{
public class DataFactory
{
List<KeyValuePair<String, CSVHan... |
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.Fram... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using System.IO;
using System.Threading.Tasks;
namespace _7in14.Controllers
{
[Route("api/[controller]")]
public class FileController
{
private readonly IHostingEnvironment _environment;
public... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class EditorWindowDemo : EditorWindow
{
static EditorWindowDemo exampleWindow;
[MenuItem("Window/EditorWindowDemo")]
static void Open()
{
//var exampleWindow = CreateInstance<EditorWindowDe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Unity;
namespace _15.RegisterTypeNamed
{
class Program
{
static void Main(string[] args)
{
IUnityContainer container = new UnityContainer();
contai... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace ReqRaportsApp
{
public partial class MainForm
{
private void UpdateMaxValue()
{
double maxPriceVal = RapGenOps.maxPrice();
MaxM... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Linq;
[ExecuteInEditMode]
public class ObjectPool
{
public GameObject tempBuilding;
public GameObject rotateImage;
public Material rotateImageMat;
public List<GameObject> placedObjects = new... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace FoodGallery.Models
{
public class EntityDB : DbContext
{
public EntityDB() : base ("name = DefaultConnection")
{
}
public DbSet<Restaurent> Restaurents { g... |
using System;
using System.Globalization;
using Xamarin.Forms;
namespace XF40Demo.Converters
{
internal class FactionToLogo : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == null)
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace gView.Framework.Geometry
{
/// <summary>
/// An orderd collection of geometry objects.
/// </summary>
public sealed class AggregateGeometry : IAggregateGeometry, ITopologicalOperatio... |
using Framework.Core.Common;
using OpenQA.Selenium;
using Tests.Data.Drupal;
namespace Tests.Pages.FastAction
{
public class FastActionMyProfile : FastActionBase
{
public FastActionMyProfile(Driver driver) : base(driver) { }
#region Page Objects
public IWebElement TextBox... |
using Terraria.Audio;
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.ModLoader.IO;
using Terraria.GameInput;
using System.L... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using TransformBlock = System.Threading.Tasks.Dataflow.TransformBlock<WorldDominationCrawler.CrawlJob, WorldDominationCrawler.CrawlJob>;
using TransformManyBlock = System.Threading.Tas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.Common;
using System.Reflection;
namespace MVCHackathon.utilities
{
public class Common
{
private static Common _instance;
public static Common Instance
{
... |
namespace Aria.Core.Interfaces
{
public interface IUpdatable
{
/// <summary>
/// Call to provide logic update code when window ticks.
/// </summary>
/// <param name="elapsed"></param>
void Update(double elapsed);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GlobalBoolsDB : MonoBehaviour
{
public List<bool> globalBools = new List<bool>();
#region Singleton
public static GlobalBoolsDB instance; //call instance to get the single active GlobalBoolsDB for the game
pr... |
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Action of type `AtomBaseVariable`. Inherits from `AtomAction<AtomBaseVariable>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class AtomBaseVariableAction : AtomAction<AtomBaseVariable> { }
}
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using gMediaTools.Extensions;
using gMediaTools.Models;
namespace gMediaTools.Services.TimeCodes
{
public enum TimeCodesFileVersion
{
Unknown... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Networking;
class Client{
int conID { get; set; }
string ID { get; set; }
string userID { get; set; }
string password { get; set; }
}
class MessageBaseLoginServer : MessageBase {
public string... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CustomListClass
{
public class CustomListClass<T> : IEnumerable<T>
{
//member variables
T[] array;
private int count;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.ImageEffects;
public class ColorCorrectionUpdate : MonoBehaviour {
private ColorCorrectionCurves m_curves;
private void Awake()
{
m_curves = GetComponent<ColorCorrectionCurves>();
}
p... |
using System;
using System.Linq;
using System.Reflection;
using Autofac;
using CommonInterface;
using Microsoft.Extensions.DependencyInjection;
using SAAS.InfrastructureCore;
using SAAS.InfrastructureCore.Autofac;
namespace Demo.Service
{
/// <summary>
/// 实现依赖注入接口(autofac)
/// </summary>
public class... |
namespace LimitedMemory
{
using System.Collections.Generic;
using System.Collections;
public class LimitedMemoryCollection<K, V> : ILimitedMemoryCollection<K, V>
{
private readonly LinkedList<Pair<K, V>> pairNodes;
private readonly Dictionary<K, LinkedListNode<Pair<K, V>>> nodeByKey;
... |
namespace SciVacancies.WebApp.ViewModels
{
public class ResearchDirectionAggregationViewModel
{
public int Id { get; set; }
public decimal AverageSalary { get; set; }
public long Count { get; set; }
}
}
|
using System;
using System.Collections.Generic;
class CurrencyConvert
{
static void Main()
{
double amount = double.Parse(Console.ReadLine());
string inputCurrency = Console.ReadLine();
string outputCurrency = Console.ReadLine();
Dictionary<string, double> currency = new Dictio... |
using System;
namespace Grandma
{
public class State
{
public Action OnEnter;
public Action OnExit;
public virtual State TransitionTo()
{
return null;
}
public virtual void Enter()
{
OnEnter?.Invoke();
}
public... |
using System.Collections.Generic;
using System.Threading.Tasks;
using FamilyAccounting.Api.Controllers;
using FamilyAccounting.BL.DTO;
using FamilyAccounting.BL.Interfaces;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
namespace FamilyAccounting.Tests.ControllerTests
{
public class AuditsContro... |
using Compent.CommandBus;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Uintra.Core.Member.Commands;
using Uintra.Core.Member.Models;
using Uintra.Core.User;
using Uintra.Infrastructure.Extensions;
namespace Uintra.Core.Member.Services
{
public clas... |
using NGeoNames.Entities;
namespace NGeoNames.Composers
{
/// <summary>
/// Provides methods for composing a string representing an <see cref="ISOLanguageCode"/>.
/// </summary>
public class ISOLanguageCodeComposer : BaseComposer<ISOLanguageCode>
{
/// <summary>
/// Composes the sp... |
using BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace DAL
{
public class CompetitorRepository : ADORepository<Competitor>
{
protected override Competitor Construct(SqlDataReader r... |
using ConsoleApplication1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MarioKart
{
public class SkyFusion : Kart, IEquipamentos
{
public SkyFusion(Corredor corredor): base(corredor)
{
}
public in... |
using gView.Interoperability.GeoServices.Rest.Json;
namespace gView.Interoperability.GeoServices.Extensions
{
static internal class ImageFormatExtensions
{
static public GraphicsEngine.ImageFormat ToGraphicsEngineImageFormat(this ImageFormat imageFormat)
{
switch (imageFormat)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EasyDev.Taobao
{
public static class Constants
{
public static readonly string ERROR_XML = @"<error_response>
<args list=""true""><arg><key>post</key><value>{2}</value></arg></args>
... |
using System.Data;
using System.Windows.Controls;
namespace MMDB.Utils
{
public static class TableToFromDb
{
#region Constants
private const string CONNETION_S = "";
#endregion
#region Public static methods
public static DataTable GetDataFromDb(DataGrid dataGrid, str... |
namespace Dixin.IO
{
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using Dixin.Common;
internal static class Video
{
private const string Separator = ".";
internal static void RenameAllAlbums(string root, bool ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.AskMyName
{
class AskName
{
static void Main()
{
Console.WriteLine("Please enter your name: ");
string userName = Console.ReadLine();
... |
using System;
using System.Text;
using System.IO;
using System.Collections.Generic;
namespace Sudoku
{
class SudokuGrid
{
public const int SudokuDimension = 9;
private const int SudokuGroupDimension = 3;
public const int EmptyCellValue = 0;
private static readonly Random randG... |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace BassClefStudio.GameModel.Input
{
/// <summary>
/// Represents a single, abstracted input detected by an <see cref="IInputWatcher"/>, of any kind.
/// </summary>
public interface IInput
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YourContacts.Models
{
public class Contact
{
public int ID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
publ... |
using jaytwo.Common.Extensions;
using jaytwo.Common.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks... |
using AtendimentoProntoSocorro.Repositories;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace AtendimentoProntoSocorro.Models
{
public class Ficha : BaseModel
{
public new int Id { get; set; }... |
using SharpDX;
using SharpDX.Toolkit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProtoCar
{
class GameOver : IGameState
{
int points1;
int points2;
string gameOverString;
public GameOver(int pl... |
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Item", menuName = "Inventory/Item")] //to create scriptable object for items. used to display in menus
public class Item : ScriptableObject
{
public Sprite icon = null;
new public string name = "New Item";
public string ... |
using UnityEngine;
public class ShopkeeperScript : MonoBehaviour
{
// base components
[HideInInspector] public Transform myTransform;
[HideInInspector] public GameObject myGameObject;
// eyes
[Header("eyes")]
public GameObject[] eyeNormalObjects;
public GameObject[] eyeBlinkObjects;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Vehicles
{
public abstract class Vehicle
{
private double fuelQuant;
public Vehicle(double fuelQuantity, double fuelConsumption, double tankCap)
{
this.FuelConsumption = fuelConsumption... |
using System.Xml.Linq;
namespace LoneWolf.Migration.Files
{
public class Heading : ISubTransformer
{
public XElement Transform(XElement element)
{
// <h3>
var heading = element.Element("h3");
if(heading != null) heading.Name = "h1";
// <h2>
... |
using System.Runtime.CompilerServices;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Org.Common.DataProvider;
using Org.Common.Model;
using Org.DAL.MySql.DataProvider;
[assembly:InternalsVisible... |
using UnityEngine;
using System.Collections;
public class singleBulletScript : MonoBehaviour
{
private int health = 1;
void Start ()
{
}
void Update ()
{
if (health <= 0)
{
Destroy (gameObject);
}
}
void removeHealth(int damage)
{
health -= damage;
}
void setHealth(int newHealth)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerWaterBubble : MonoBehaviour
{
[SerializeField]
private GameObject playerWater;
private void Start()
{
StartCoroutine(BubbleExplor());
}
IEnumerator BubbleExplor()
{
yield ret... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.