text stringlengths 13 6.01M |
|---|
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Runtime.x86;
namespace Mosa.Kernel.x86
{
/// <summary>
/// Screen
/// </summary>
public static class Console
{
private static uint column = 0;
private static uint row = 0;
private static byte color = 0;
/// <summary>
/// Th... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using Dnn.ExportImport.Components.Common;
using Dnn.ExportImport.Components.Entities;
using Dnn.ExportImpo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.AppFramework
{
public class QueryException : System.Exception
{
}
}
|
namespace Triton.Common
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct WpfVector2i : IEquatable<WpfVector2i>
{
[CompilerGenerated]
private int int_0;
[CompilerGenerated]
... |
namespace WMaper.Meta
{
/// <summary>
/// 瓦片信息类
/// </summary>
public sealed class Patch
{
#region 变量
// 瓦片级数
private int num;
// 瓦片所在行
private int row;
// 瓦片所在列
private int col;
// 瓦片标识
private string uid;
#endregion... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SidescrollCamera2 : MonoBehaviour {
public GameObject enemy;
PlayerController player;
private void Start()
{
player = FindObjectOfType<PlayerController>();
}
public void SpawnEnemy()
{
... |
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 Async_Inn.Data;
using Async_Inn.Models;
namespace Async_Inn.Controllers
{
public class RoomsControll... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_ParticleSystem_VelocityOverLifetimeModule : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int constructor(IntPtr l) {
tr... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using SprintFour.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SprintFour.Controllers
{
public class LevelSelectGamePadController
{
private readonly IDictionary<Buttons, ICo... |
using UnityEngine;
using System.Collections;
#if UNITY_IPHONE
using UWAPlatform = UWA.IOS;
#elif UNITY_ANDROID
using UWAPlatform = UWA.Android;
#elif UNITY_STANDALONE_WIN
using UWAPlatform = UWA.Windows;
#else
using UWAPlatform = UWA;
#endif
using System.Diagnostics;
[ExecuteInEditMode]
public class UWA_Launcher : Mo... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
[Attribute38("CollectibleCardClassFilter")]
public class CollectibleCardClassFilter : CollectibleCardFilter
{
public CollectibleCardClassFilter(IntPtr address) : this(address, "C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace aoc2019
{
public class Day16
{
public string Solve(string input, int phases)
{
var nums = input.ToCharArray().Select(c => int.Parse(c.ToString())).ToList();
for (var phase = ... |
using System.Linq;
using System.Web.Mvc;
using testxueji.Models;
using vuexueji.DAL;
namespace vuexueji.Controllers
{
public class UserController : Controller
{
// GET: User
public ActionResult Index()
{
return View();
}
public ActionResult Register()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IES.G2S.Resource.DAL;
using IES.Resource.Model;
using IES.AOP.G2S;
using IES.G2S.Resource.IBLL;
namespace IES.G2S.Resource.BLL
{
public class ChapterBLL:IChapterBLL
{
#region 列表
... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Fundamentals
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run(); // methods start the service, then wait for it to stop before returning
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarritoDeCompras
{
class CarritoCompra
{
private List<Camisa> Camisas = new List<Camisa>();
public void AgregarCamisa()
{
Camisas.Add(new Cami... |
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 A2CourseWork.Classes;
using A2CourseWork.Objects;
namespace A2CourseWork.Gui.ViewBooking... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LastSceneActivator : MonoBehaviour
{
public GameObject toActivate;
public GameObject GM;
public float timetospawn;
private float count;
public float endScene;
// Start is called before the first frame... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SolrNet.Attributes;
namespace TxHumor.Solr.Models
{
public class SolrHumorModel
{
[SolrUniqueKey("id")]
public string Id { get; set; }
[SolrField("humorid")]
public int HumorId { get; se... |
namespace CloneDeploy_Entities.DTOs.ImageSchemaBE
{
public class ImageSchema
{
public HardDrive[] HardDrives { get; set; }
}
} |
using Autofac;
using Autofac.Extensions.DependencyInjection;
using CryptoInvestor.Api.Framework;
using CryptoInvestor.Infrastructure.IoC;
using CryptoInvestor.Infrastructure.Mongo;
using CryptoInvestor.Infrastructure.Services.Interfaces;
using CryptoInvestor.Infrastructure.Settings;
using Hangfire;
using Hangfire.Mong... |
using System;
namespace Simon.Pattern.Library
{
public abstract class CashBase
{
public abstract double AcceptCash(double money);
}
public class CashNormal : CashBase
{
public override double AcceptCash(double money)
{
return money;
}
}
public... |
using System;
using System.Diagnostics;
using CallCenter.Client.Communication;
using CallCenter.Client.ViewModel.Helpers;
using CallCenter.Common;
using CallCenter.Common.Entities;
namespace CallCenter.Client.ViewModel.ViewModels
{
public class LoginWindowViewModel : OkCancelViewModel
{
pri... |
using WorkerService.Entities.Concrete;
using WorkerService.Entities.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
namespace WorkerService.Business.Abstract
{
public interface IExamService
{
Exam GetById(int examId);
Exam GetByTitle(string examTitle);
Exam Get... |
using DynamicsExtensions.Dynamics;
using DynamicsExtensions.Extensions;
using DynamicsExtensions.Models.Core;
using DynamicsExtensions.Models.View;
using Microsoft.Xrm.Sdk.Query;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Dynam... |
using System;
using ReadyGamerOne.Data;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace ReadyGamerOne.Rougelike.Item
{
public abstract class Slot<T,DataType> :
MonoBehaviour,
IPointerEnterHandler,
IPointerExitHandler,
IPointerClickHandler
wh... |
using System;
using System.Collections;
using BehaviorScripts;
using BehaviorScripts.ProjectileBehaviors;
using ManagerScripts;
using UnityEngine;
using Utilities;
namespace BehaviorScripts
{
public class PlayerScript : Entity
{
public static int absorbDuration = 2;
public static int absorbCo... |
using IES.Resource.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IES.G2S.Resource.IBLL
{
public interface IKeyBLL
{
List<Key> ExerciseOrFile_Key_List(string SearchKey, string Source, int UserID, int TopNum,int OCID)... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Praestigia
{
/// <summary>
/// This is the main type for your game.
/// </summary>
public partial class GameClass : Game
{
public bool Drawing { get; set; }
public ... |
using System.Data;
using TruongDuongKhang_1811546141.BussinessLayer.Entity;
using TruongDuongKhang_1811546141.DataAccessLayer;
using System.Data.SqlClient;
using TruongDuongKhang_1811546141.Lib;
using System;
namespace TruongDuongKhang_1811546141.BussinessLayer.Workflow
{
class BusProduct
{
public Pro... |
using HCL.Academy.Model;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using System.Net.Http;
using System.Threading.Tasks;
using HCLAcademy.Util;
using Microsoft.ApplicationInsights;
using System.Diagnostics;
namespace HCLAcademy.Controllers
{
public class SkillMasterController : BaseContr... |
using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.RazorPages.Compilation;
using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure... |
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Support.Design.Widget;
using Android.Support.V7.App;
using Android.Support.V7.Widget;
using Android.Views;
using Android.Widget;
using Firebase.Analytics;
using GabberPCL;
using GabberPCL.Resources;
using Android.Text.U... |
using HomeAutomationLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GUI_PRJ2_WINFORMS
{
public class AppAction
{
private bool onOffIsSelected_;
private bool dimmerIsSelected_;
/// <summary>
/... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank_HomeCode
{
//https://www.ideserve.co.in/learn/maximum-subarray-sum
public class MaximumSubArraySum
{
public void findMaxSuminSubArray()
{
int[] input = { 2, -9, 5, 1, -4, 6, 0, -7, 8 };
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HoverGroup : MonoBehaviour {
private List<CanvasGroup> cGroups;
private int hoveredIndex = -1;
// Use this for initialization
void Start () {
cGroups = new List<CanvasGroup>();
for (int i = 0; i < transform.childCou... |
using System.Data.Entity.ModelConfiguration;
using RMAT3.Models;
namespace RMAT3.Data.Mapping
{
public class TaskTypeMap : EntityTypeConfiguration<TaskType>
{
public TaskTypeMap()
{
// Primary Key
HasKey(t => t.TaskTypeId);
// Properties
... |
using EmployeeStorage.DataAccess.Configuration;
using EmployeeStorage.DataAccess.Entities;
using EmployeeStorage.DataAccess.Interfaces;
using System;
namespace EmployeeStorage.DataAccess.Repositories
{
public class UnitOfWork : IUnitOfWork
{
private readonly EmployeeStorageContext db;
private... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpToSQL
{
public class User
{
private static string CONNECT_STRING = @"server = STUDENT-FLEX\SQLEXPRESS; database = prsdb; trusted_connection =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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;
using System.Windows.Navigati... |
using Lab12_HotelDataBase.Data;
using Lab12_HotelDataBase.Data.Repositories;
using Lab12_HotelDataBase.Models;
using Lab12_HotelDataBase.Models.Api;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Lab12_H... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace RMS
{
public partial class PassDetails : Form
{
... |
using Newtonsoft.Json;
using System;
using System.IO;
using System.Net;
using System.Text;
namespace UpdateExecutableCommon.Utilities
{
public static class HttpHelper
{
///// <summary>
///// Send a GET request to the specified resource URL and return and object of type T
///// </summar... |
using System;
using System.Collections.Generic;
namespace Degree.Models.Dto
{
public class TweetDto
{
public long Id { get; set; }
public DateTime CreatedAt { get; set; }
public string Text { get; set; }
public long? InReplyToStatusId { get; set; }
public string InReply... |
using Java.Lang.Annotation;
using System;
using System.Collections.Generic;
using System.Text;
using Test2project.Models;
namespace Test2project.ViewModels
{
class ChartMainViewModel
{
public List<ChartMain> ChartsData { get; set; }
public ChartMainViewModel()
{
ChartsData... |
/************************************
** Created by Wizcas (wizcas.me)
************************************/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CatAction : MonoBehaviour
{
public float pickUpDistance = .4f;
public float stashDistance = 1.2f;
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YzkSoftWare.DataModel
{
/// <summary>
/// 数据字段引用表中的Id字段信息
/// </summary>
public interface IDataIdRefence
{
/// <summary>
/// 引用的数据模型类型
... |
using System.IO;
using System.Net.Http;
using Newtonsoft.Json.Linq;
namespace Indico.Storage
{
public class Blob
{
Stream _data = null;
/// <summary>
/// Blob constructor
/// </summary>
/// <param name="data"></param>
public Blob(Stream data)
{
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WordCount.Utils
{
public static class Instrument
{
private static IInstrumentationWriter _writer;
public static void Initialize(IInstrumentat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CTCT.Util;
using System.Collections.Specialized;
using System.Web;
namespace CTCT.Services
{
/// <summary>
/// Super class for all services.
/// </summary>
public abstract class BaseService : IBaseService
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CINProc
{
public class CINProc
{
}
}
|
using System;
namespace Catalogo.Domain.ValueObjects
{
public class Dinheiro : ValueObject
{
public Dinheiro(decimal value)
{
Value = value;
}
public decimal Value { get; private set; }
public static Dinheiro operator +(Dinheiro a) => a;
public sta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Planning.AdvandcedProjectionActionSelection.PrivacyLeakageCalculation.CalculateLeakageLocally
{
class LeakageCalculatorAllAgents
{
// Avg fraction (avg over all agents of prop/... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Task... |
using System;
using System.Collections.Generic;
using starkdev.spreadrecon.model;
using starkdev.spreadrecon.data;
using starkdev.spreadrecon.model.Enum;
namespace starkdev.spreadrecon.business
{
public class RelatorioBLL
{
private RelatorioDAL _dal;
public RelatorioBLL()
{
... |
using Model.Numbers;
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.W... |
using System;
using Sample.Domain.Shared;
namespace Sample.Domain.V4
{
public class Appointment
{
public Guid Id { get; private set; }
public Guid JobId { get; set; }
public TimeSlot TimeSlot { get; private set; }
public Guid? StaffMemberId { get; private set; }
public ... |
// Copyright (c) 2018 James Skimming. All rights reserved.
namespace Cbc.Identity
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
... |
using System;
namespace Tff.Panzer.Models.Campaign
{
public enum CampaignStepTypeEnum
{
MajorVictory = 0,
MinorVictory = 1,
Loss = 2
}
}
|
using System;
using System.Collections;
using UnityEngine;
using VavilichevGD.GameServices.AD.Unity;
namespace VavilichevGD.GameServices.AD {
public sealed class ADSService : GameServiceBase {
#region CONSTANTS
private const bool SUCCESS = true;
private const bool FAIL = false;
#endregion
#region EVENT... |
using Repository.Categories;
using Repository.Products;
using Repository.Purchases;
using System.Threading.Tasks;
namespace Repository.Manager
{
public interface IRepositoryManager
{
ICategoryRepository Category { get; }
IProductRepository Product { get; }
IPurchaseRepository Pur... |
using Mccole.Geodesy.Calculator;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Mccole.Geodesy.UnitTesting.Calculator
{
[TestClass]
public class CoordinateFactory_Tests
{
[TestMethod]
public void Create_Valid_Assert()
{
Func<ICoordinate> fun... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SpiderCore
{
public interface IDownloader
{
Response Download(Request request);
}
}
|
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Threading.Tasks;
using CriticalPath.Data;
using CriticalPath.Web.Models;
using System.Net;
using System.Web.Mvc;
using OzzUtils.Web.Mvc;
namespace CriticalPath.Web.Cont... |
using System;
namespace RollingStones
{
public class Exceptions : Exception
{
public Exceptions(string message) : base(message)
{
}
static public void CheckCondition(int condition)
{
if (condition == 0)
{
throw new Exceptions("Вв... |
using System;
using MonoFlash.Display;
using MonoFlash;
using System.Diagnostics;
using MonoFlash.Events;
using Microsoft.Xna.Framework;
using Lidgren.Network;
using PlanesGame.Network;
using Microsoft.Xna.Framework.Input;
using System.Collections.Generic;
using MonoFlash.Text;
namespace PlanesGame.Screens
{
publ... |
// *** WARNING: this file was generated by pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Types.In... |
#if UNITY_5 || UNITY_4 || UNITY_4_6 || UNITY_2017 || UNITY_2018
#define Unity
#endif
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Linq;
using cn.bmob.io;
using cn.bmob.http;
using cn.bmob.config;
using cn.bmob.exception;
using cn.bmob.response;
using Syste... |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using DotNetNuke.Entities;
using DotNe... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Project_GE.Framework.Input;
namespace LMPoser {
public class Camera3D {
public Vector3 Position {
get; set;
} = new Vector3(0f, 0f, 10f);
public Quaternion Orientation {
get; set;
} = Quaternion.Identity;
public float FieldOf... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Newtonsoft.Json;
namespace CommonCore.Config
{
public class PersistState
{
private static readonly string Path = CCParams.PersistentDataPath + "/persist.json";
public static PersistState Instance { get; priv... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using PDV.DAO.Entidades;
using PDV.CONTROLER.Funcoes;
using System.IO;
using System.Data;
namespace PDV.REPORTS.Reports.Email_Gestor
{
public partial class PosicaoDeEstoqueReport : DevExpres... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MediaManager.API.Models;
using Microsoft.AspNetCore.Mvc;
namespace MediaManager.API.Controllers
{
/// <summary>
/// A controller which
/// </summary>
public class RootController : Contro... |
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using XLua;
using XLua.LuaDLL;
namespace Assets.DebugTest
{
public class LuaManager : Singleton<LuaManager>
{
private readonly char[] pathSep = { '#', '.', '@' };
private readonly Dictionary<string, string> luaFilePa... |
using System;
using System.Globalization;
using System.Windows.Data;
using LandscapeBuilderLib;
namespace LandscapeBuilderGUI.Converters
{
class DrawingColorToThermalColor : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_SliderJoint2D : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
SliderJoint2D o = new SliderJoint2D();
LuaObject.pushValue(l, true);
LuaOb... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObstacleCube : MonoBehaviour {
Transform obstacle;
public float minDist, maxDist, initialPosition, speed = 1;
float distance;
void Start()
{
distance = maxDist - minDist;
}
// U... |
using Newtonsoft.Json;
using System.Collections.ObjectModel;
using System.IO;
namespace DropLogger
{
public class JSONDriver
{
public static string jsonpath = Directory.GetParent("Save").Parent.Parent.FullName + @"\Save\data.json";
public JSONDriver()
{
}
/// <summary>
... |
using ApplicationCore.Entities;
namespace ApplicationCore.Entities.PatientAggregate
{
public class PayForm
{
public string FormId{get; set;}
public string FormName{get; set;}
}
} |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using xy3d.tstd.lib.superTween;
namespace xy3d.tstd.lib.battleHeroTools
{
public class BattleHeroHpBarUnit
{
private const float hpChangeTime = 1;//血条变化需要时间
public Vector3 pos = new Vector3();
... |
using System;
/// <summary>
/// Options for dynamically playing sounds
/// </summary>
/// <seealso cref="AudioManager"/>
[Serializable]
public struct AudioOptions
{
/// <summary>
/// Repeat when complete.
/// </summary>
public bool loop;
/// <summar... |
/* 08. Write a program that extracts from a given text all sentences containing given word. */
using System;
using System.Text;
using System.Text.RegularExpressions;
class ExtractSentence
{
static void Main()
{
StringBuilder sb = new StringBuilder();
string str = "We are living in a yellow su... |
using FiveOhFirstDataCore.Core.Account;
using FiveOhFirstDataCore.Core.Data;
using FiveOhFirstDataCore.Core.Data.Roster;
using FiveOhFirstDataCore.Core.Structures;
using FiveOhFirstDataCore.Core.Structures.Updates;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Securi... |
using NCrontab;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Aix.TimerManage
{
/// <summary>
/// 废弃了,请使用CrontabTask
/// </summary>
public class CrontabByTimerTask : ITimerTask
{
public event Func<string, Task> OnException;
... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using MediatR;
using Npgsql;
namespace DDDSouthWest.Domain.Features.Account.Admin.ManageNews.ListNews
{
public class ListAllNews
{
public class Query : IRequest<Response>
{
... |
using System;
using System.Linq;
namespace _01._MatrixOfPalindromes
{
class MatrixOfPalindromes
{
static void Main(string[] args)
{
int[] colRow = Console.ReadLine().Split().Select(int.Parse).ToArray();
string[,] matrix = new string[colRow[0], colRow[1]];
cha... |
using System;
using System.Windows.Forms;
using System.Diagnostics;
using MathNet.Numerics.LinearAlgebra;
namespace Supervisoria___tcc
{
public partial class UCAutonoma : UserControl
{
public UCAutonoma()
{
InitializeComponent();
}
static int[] vet = new int[] { 12... |
using UnityEngine;
using System.Collections;
public class MenuScript : MonoBehaviour {
public Texture2D backgroundTexture;
public const int mainMenuWidth = 200;
public Game gameClass;
private int menuType = 0;
// Use this for initialization
void Start () {
if (!gameClass)
gameClass = GameObject.FindGam... |
/*Sorting an array means to arrange its elements in increasing order.
* Write a program to sort an array. Use the "selection sort" algorithm:
* Find the smallest element, move it at the first position,
* find the smallest from the rest, move it at the second position, etc.
*/
using System;
class Selectio... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace Journal
{
public partial class JournalTabbedView : TabbedPage
{
public JournalTabbedView()
{
InitializeComponent();
}
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq;
using System.Xml;
using System.Reflection;
using System.Data.OleDb;
namespace Twinfield_NewFramework
{
public class Sh... |
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.Windows.Forms.DataVisualization.Charting;
namespace Image_processing
{
public partial c... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game.Mono;
[Attribute38("TagDeltaSet")]
public class TagDeltaSet : MonoClass
{
public TagDeltaSet(IntPtr address) : this(address, "TagDeltaSet")
{
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Archimedes.Library.Message.Dto;
namespace Archimedes.Service.Ui.Http
{
public interface IHttpHealthMonitorClient
{
Task<IEnumerable<HealthMonitorDto>> GetHealthMonitor();
}
} |
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 WindowsFormsApp15
{
public partial class Form1 : Form
{
public Form1()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
//2018-11-17 宋柏慧
//---------------------------------------------------------
//这个脚本内包含:
// 小球控制
// 死亡判断
// ... |
namespace Domain.Entities
{
public class Image
{
public int Id { get; set; }
public string Path { get; set; }
public Post Post { get; set; }
}
}
|
using Microsoft.AspNetCore.Authorization;
namespace DDDSouthWest.Website.Framework
{
public class OrganiserAuthAttribute : AuthorizeAttribute
{
public OrganiserAuthAttribute() : base("IsValidUser")
{
}
}
} |
using FacebookFeeder.Helpers;
using Orchard.ContentManagement;
using System;
using System.ComponentModel.DataAnnotations;
namespace FacebookFeeder.Models
{
public class FacebookFeederPart : ContentPart
{
[Required]
public string Page
{
get { return this.Retrieve(r => r.Page... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.