content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
using ViceIO.Web.ViewModels.VicesCategories;
namespace ViceIO.Services
{
public interface IVicesCategoriesService
{
IEnumerable<VicesCategoriesModel> GetAll();
}
}
|
using UnityEngine;
namespace UI.Controllers
{
[RequireComponent(typeof(TMPro.TextMeshProUGUI))]
// ReSharper disable once InconsistentNaming
public class UIValueController : MonoBehaviour
{
[SerializeField]
private TMPro.TextMeshProUGUI value;
private void Awake()
{
... |
using Android.Content;
using LagoVista.Core.IOC;
using LagoVista.Core.PlatformSupport;
using LagoVista.XPlat.Droid.Services;
using LagoVista.Core;
namespace LagoVista.XPlat.Droid
{
public static class Startup
{
public static void Init(Context context, string key)
{
SLWIOC.RegisterS... |
using AssetsTools.NET;
using AssetsTools.NET.Extra;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
namespace UABEAvalonia
{
public partial class ExportBatch... |
namespace Adrenak.AirPeer {
public interface IPayload {
byte[] GetBytes();
void SetBytes(byte[] bytes);
}
}
|
using System;
using System.Collections.Generic;
using System.Configuration;
namespace Mash.AppSettings
{
/// <summary>
/// Loads the requested setting from the app configiguration file
/// </summary>
internal class AppConfigSettingLoader : ISettingLoader
{
/// <summary>
/// Loads t... |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace IdentitySe... |
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.Experimental.UIElements;
public class WingmanMenu : EditorWindow
{
static List<Wingman> wingmans;
static Wingman wingman = new Wingman();
static string[] selStrings;
static int sel... |
using GatherBuddy.Interfaces;
using GatherBuddy.Plugin;
namespace GatherBuddy.Alarms;
public partial class AlarmManager
{
public void ToggleAlarm(AlarmGroup group, int idx)
{
var alarm = group.Alarms[idx];
if (alarm.Enabled)
{
alarm.Enabled = false;
... |
using UnityEngine;
using System.Collections;
public class PlayerExplode : MonoBehaviour {
public GameObject explosion;
private GameObject player;
void Start()
{
player = GameObject.FindGameObjectWithTag("Player");
}
void Update()
{
if (GameManager.Instance.LoseCondition)
... |
using System;
namespace Praetorium.UnitTests.Utilities
{
class TypeExtensionSpecs
{
protected static Type NullType = null;
}
}
|
/*
* Copyright 2018 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license
*
* Unless required by appli... |
// 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.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Shell.Interop;
using M... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace AuxiliaryLibraries.WPF.Interactivity
{
public class ActionCollection : AttachableCollection<ActionBase>
{
public ActionCollectio... |
using Godot;
using System;
using static Godot.Mathf;
public class Starfield : Spatial
{
private MeshInstance SingleStar;
private static PackedScene StarScene;
static Starfield()
{
if(Engine.EditorHint) {return;}
StarScene = GD.Load<PackedScene>("res://World/Star.tscn");
}
public override void _Ready()... |
using System;
using MIDIKeyboard.dataFolder;
using MIDIKeyboard.Miscellaneous;
namespace MIDIKeyboard.Run
{
internal class Run
{
private static readonly InputPort midi = new InputPort();
public static void Run_(ref bool runPogram)
{
int chanel = 0;
bool error = false;
//load data
if (Program.v... |
using Creeper.Driver;
using Creeper.SqlServer.Test.Entity.Model;
using Microsoft.Data.SqlClient;
using Microsoft.SqlServer.Types;
using System;
using System.ComponentModel;
using System.Data;
using System.IO;
using System.Text;
using Xunit;
namespace Creeper.xUnitTest.SqlServer
{
public class CLRTest : BaseTest
{
... |
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
using CoreGraphics;
namespace Mailbox
{
partial class TableViewController : UITableViewController
{
EmailServer emailServer = new EmailServer();
public TableViewController (IntPtr handle) : base (handle)
{
}
public ov... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//using UnityEditor;
using System.Text.RegularExpressions;
public class PosEntry
{
public float time;
public Vector3 pos;
public int id;
public int meshnum;
}
public class CsvParser : MonoBehaviour {
public TextAsset csvFile... |
namespace RefactoringGuru.Creational.AbstractFactory.Interfaces
{
public interface IAbstractProductA
{
public string UsefulFunctionA();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Mecanim : MonoBehaviour
{
void Start()
{
}
public void SetupRagdoll(bool whatever)
{
Component[] components = GetComponentsInChildren(typeof(Transform));
foreach(Component c ... |
using Microsoft.AspNetCore.Http;
namespace AS91892.Data.Validation;
/// <summary>
/// Valites that a property meets a specified file size
/// </summary>
public class MaxFileSizeAttribute : ValidationAttribute
{
private readonly int _maxFileSize;
/// <summary>
/// Initializes a new instance of the <s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Paddle : MonoBehaviour {
[SerializeField]
float speed;
public string input;
private float height;
void Start() {
height = GetComponent<Collider2D>().bounds.size.y;
}
// Constructor
public void Init(string playe... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Dfe.Spi.HistoricalDataCapture.Domain.UkrlpClient
{
public interface IUkrlpClient
{
Task<byte[]> GetChangesSinceAsync(DateTime sinceTime, string status, CancellationToken cancellationToken);
}
} |
namespace AgroPlan.Property.AgroPlan.Property.Infrastructure.DbConnections
{
public sealed class QueryConnection
{
public QueryConnection(string connectionString)
{
this.Value = connectionString;
}
public string Value { get; private set;}
}
} |
namespace Turbo.Events.Model
{
public interface IOnScopedEvent
{
void On(ScopedEvent e);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TestPanda.Api.DomainEntities
{
public class TestRun
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int TestRunId { get... |
using System;
using System.Collections.Generic;
using System.Text;
public class InvalidSongLengthException : InvalidSongException
{
public InvalidSongLengthException()
{
}
public InvalidSongLengthException(int seconds , int minutes) : base(seconds , minutes)
{
this.Seconds = seconds;
... |
using ExplicitInterfaces.Contracts;
using System;
using System.Collections.Generic;
namespace ExplicitInterfaces
{
public class StartUp
{
static void Main(string[] args)
{
string text = string.Empty;
while ((text = Console.ReadLine()) != "End")
{
... |
namespace Assets.Scripts.Xml
{
public interface IXmlDataProvider
{
string SerializeObject<T>(object obj);
object DeserializeObject<T>(string xmlString);
void CreateXmlFileOutput(string fileLocation, string fileName, string data);
string LoadDataFromXml(string fileLocation, strin... |
namespace Genbox.SimpleS3.Core.Internals.Enums;
internal enum DateTimeFormat
{
Unknown = 0,
Iso8601Date,
Iso8601DateTime,
Iso8601DateTimeExt,
Rfc1123
} |
#region Using directives
using SimpleFramework.Xml;
using System;
#endregion
namespace SimpleFramework.Xml.Core {
public class NamespaceInheritanceTest : ValidationTestCase {
[Namespace(Reference="namespace1")]
private static class Aaa {
[Element(Name="bbb", Required=false)]
public Bbb ... |
using System;
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
namespace Ocelot.Configuration.Authentication
{
public class HashMatcher : IHashMatcher
{
public bool Match(string password, string salt, string hash)
{
byte[] s = Convert.FromBase64String(salt);
strin... |
using System.Windows;
namespace ModernWpf.Controls.Primitives
{
public static class ScrollViewerHelper
{
#region AutoHideScrollBars
public static readonly DependencyProperty AutoHideScrollBarsProperty =
DependencyProperty.RegisterAttached(
"AutoHideScrollBars",
... |
using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Timer.Web.Core.Models
{
public class KeyVM
{
public KeyVM(JobKey jobKey)
{
Name = jobKey.Name;
Group = jobKey.Group;
}
public KeyVM(... |
using System.Collections.Generic;
namespace GeoAPI.Geometries
{
public interface IGeometryCollection : IGeometry, IEnumerable<IGeometry>
{
int Count { get; }
IGeometry[] Geometries { get; }
IGeometry this[int i] { get; }
bool IsHomogeneous { get; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace EsriJson.Net.Geometry
{
[JsonObject(MemberSerialization.OptIn)]
public class Polyline : EsriJsonObject
{
[JsonProperty(PropertyName = "paths", Required = Required.Always)]
public List<RingPo... |
using System;
using System.Collections.Generic;
namespace RimuTec.Faker.Helper
{
internal static class IntHelper
{
public static IEnumerable<int> Repeat(int from, int to, Func<int, int> initializer)
{
var list = new List<int>();
for (var i = from; i <= to; i++)
{
... |
using System.Linq;
using System.Net.Http;
using System.Text.RegularExpressions;
namespace Raven.Yabt.TicketImporter.Infrastructure.DTOs
{
/// <summary>
/// Resolves "link" header
/// </summary>
/// <remarks>
/// Based on https://gist.github.com/pimbrouwers/8f78e318ccfefff18f518a483997be29
/// </remarks>... |
using System.Collections.Generic;
namespace SynologyClient
{
public class ListListShare
{
public int total { get; set; }
public int offset { get; set; }
public List<SharedFolder> shares { get; set; }
}
} |
namespace Qkmaxware.Astro.Control {
/// <summary>
/// Interface for any listeners that can subscribe to INDI connection events
/// </summary>
public interface IIndiListener {
/// <summary>
/// Listener to connection events
/// </summary>
/// <param name="server">server connected to</param>
void... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Touch;
namespace Touch.Custom_Forms
{
public partial class frmHistoryTouch : TouchUserControlBase
{
protected void Page_Load(object sender, EventArgs e)
... |
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 MenuStripDemo
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System.Threading.Tasks;
using System.Web.Mvc;
using MediatR;
namespace KenticoContrib.Features.Home
{
public class HomeController : Controller
{
private readonly IMediator mediator;
public HomeController(IMediator mediator)
{
this.mediator = mediator;
... |
using Newtonsoft.Json;
namespace Acklann.Plaid.Management
{
/// <summary>
/// Represents a response from plaid's '/link/token/create' endpoint. Create a link_token.
/// </summary>
/// <seealso cref="Acklann.Plaid.ResponseBase" />
public class CreateLinkTokenResponse : ResponseBase
{
//... |
using System;
using GSF.Snap;
using GSF.Snap.Storage;
using openHistorian.Collections;
using GSF.Snap.Tree;
using openHistorian.Snap;
namespace openHistorian
{
public class PointStreamSequentialPoints
: TreeStream<HistorianKey, HistorianValue>
{
private ulong m_start;
private int m_coun... |
namespace CryptoMiningSystem
{
public class LowPerformanceProcessor : Processor
{
public LowPerformanceProcessor(string model, decimal price, int generation) : base(model, price, generation, 2)
{
}
}
}
|
using System;
using ProSuite.Commons.Essentials.CodeAnnotations;
namespace ProSuite.Commons.Exceptions
{
/// <summary>
/// Helper class for throwing exceptions.
/// </summary>
public static class Ex
{
public static void Throw<T>(string message)
where T : Exception
{
var exception = (T) Activator.CreateI... |
using System.Threading.Tasks;
using Microservice.Core.Model;
namespace Microservice.Core.Service.Contracts
{
public interface IQuerableService<TServiceQuery, TSDO> : IService<TSDO>
where TServiceQuery : class
where TSDO : class
{
Task<ResourceMultipleResponse<TSDO>> Get(ResourceRequest... |
using ACadSharp.Attributes;
using ACadSharp.IO.Templates;
using CSMath;
namespace ACadSharp.Entities
{
public class Solid3D : Entity
{
public override ObjectType ObjectType => ObjectType.SOLID3D;
public override string ObjectName => DxfFileToken.Entity3DSolid;
//100 Subclass marker(AcDbTrace)
[DxfCodeValu... |
using System.Collections.Generic;
namespace ImaginationServer.Common
{
public class ZoneChecksums
{
public static readonly byte[] VentureExplorer = { 0x7c, 0x08, 0xb8, 0x20 };
public static Dictionary<ZoneId, byte[]> Checksums { get; } = new Dictionary<ZoneId, byte[]>
{ {ZoneId.Ventur... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoardManager : MonoBehaviour {
public static BoardManager Instance { get; set; }
public bool[,] allowedMoves;
public ChessPiece[,] ChessPieces { get; set; }
public ChessPiece selectedPiece;
private const... |
using System.Collections.Generic;
using PizzaCity.Domain.Abstracts;
namespace PizzaCity.Domain.Models
{
public class Pizza : PizzaModel
{
// public Crust Crust { get; set; }
// public Size Size { get; set; }
// public ICollection<Toppings> Toppings { get; set; }
public Pizza()
{
}... |
using System;
using System.Collections.Generic;
using System.Drawing;
#if NETCOREAPP2_1 || NETCOREAPP2_2 || NETCOREAPP3_0
using System.Drawing;
#endif
#if NET45
using System.Drawing;
#endif
using System.Globalization;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using Kugar.Core.... |
using System;
namespace Sawczyn.EFDesigner.EFModel
{
internal partial class EFModelExplorer
{
/// <summary>Raises the <see cref="E:System.Windows.Forms.Control.DoubleClick" /> event.</summary>
/// <param name="e">An <see cref="T:System.EventArgs" /> that contains the event data. </param>
prote... |
using OwlAndJackalope.UX.Runtime.Observers;
namespace OwlAndJackalope.UX.Runtime.DetailBinders.Appliers
{
/// <summary>
/// Inherit from this to flag certain binders as Appliers. Appliers are able to apply changes to the
/// Details that they bind to.
/// </summary>
public abstract class BaseDetail... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Trabalho.Modelo
{
public class Imovel
{
public int ID { get; set; }
public string Categoria { get; set; }
public string Status { get; set; }
public stri... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using LoginServer.Network;
namespace LoginServer {
public partial class FrmBlockList : Form {
/// <summary>
/// Quantida de colunas no grid.
/// </summary>
... |
using System;
using System.Data.SqlClient;
using System.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SQLServerCrypto;
namespace SQLServerCryptoTests
{
[TestClass]
[Ignore] // Set instance of SQL Server and remove this attribute.
public class SQLServerCryptoMethodsTestsWithSqlServer
... |
using Newtonsoft.Json.Linq;
using Psy.Owin.Security.Keycloak.IdentityModel.Extensions;
using System.Collections.Generic;
using System.Globalization;
using System.Security.Claims;
namespace Psy.Owin.Security.Keycloak.IdentityModel.Utilities.ClaimMapping
{
internal static class ClaimMappings
{
public st... |
using System;
namespace Nexus.Link.Libraries.Core.Platform.BusinessEvents
{
/// <summary>
/// Meta data present at publication of all Business Events
/// </summary>
public class BusinessEventMetaData
{
/// <summary>A unique id for this specific publication of the event</summary>
pu... |
namespace System.Web.ModelBinding {
using System;
/// <summary>
/// This attribute is the base class for all the value provider attributes that can be specified on
/// method parameters to be able to get values from alternate sources like Form, QueryString, ViewState.
/// </summary>
public abs... |
using System.Windows.Forms;
namespace Wuqi.Webdiyer
{
public partial class SPHelpForm : Form
{
public SPHelpForm()
{
InitializeComponent();
}
private void SPHelpForm_Load(object sender, System.EventArgs e)
{
textBox1.Select(0, 0);
}
... |
// -- FILE ------------------------------------------------------------------
// name : CalendarTimeRangeTest.cs
// project : Itenso Time Period
// created : Jani Giannoudis - 2011.02.18
// language : C# 4.0
// environment: .NET 2.0
// copyright : (c) 2011-2012 by Itenso GmbH, Switzerland
// -----... |
using System.Collections.Generic;
using Humanizer;
using Tewl.Tools;
namespace EnterpriseWebLibrary.EnterpriseWebFramework {
/// <summary>
/// A caption for a figure.
/// </summary>
public class FigureCaption {
internal class CssElementCreator: ControlCssElementCreator {
internal static readonly El... |
using ZXing;
using ZXing.QrCode;
using UnityEngine;
public class QRGen : MonoBehaviour {
private static QRGen _instance;
public static QRGen Instance {
get {
if (_instance == null) {
_instance = new QRGen ();
}
return _instance;
}
}
public void create(string inputString,Texture2D texture){
... |
using Microsoft.AspNet.WebHooks;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Customers;
using Nop.Core.Events;
using Nop.Core.Infrastructure;
using Nop.Plugin.Api.Services;
using Nop.Services.Events;
using Nop.Plugin.Api.DTOs.Customers;
using Nop.Plugin.Api.Constants;
using Nop.Plugin.Api.DTOs.Products;
using... |
using System;
using System.Xml.Serialization;
using MyToolkit.MachineLearning.WinRT.Activation;
using MyToolkit.Mathematics;
namespace MyToolkit.MachineLearning.WinRT.Feedforward
{
public class FeedforwardLayer
{
internal FeedforwardLayer() { } // used for serialization
public FeedforwardLayer(int neuronCount) ... |
using Unity.Collections;
namespace TinyMsgPack
{
public unsafe class MsgPackReader
{
private NativeSlice<byte> _buffer;
private int _offset;
public MsgPackReader(NativeSlice<byte> slice)
{
_buffer = slice;
_offset = 0;
}
public MsgPackR... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices.ComTypes;
using Car.Business.Interfaces;
using Car.Domain.Entities;
using Car.Services.Interfaces;
namespace Car.Services
{
public class CarServices : ICarServices
{
private readonly ICarBusiness _carBusiness;
... |
using SMA.Backup.Source.Model;
using SMA.Backup.Source.Framework;
using System.Threading.Tasks;
using SMA.Backup.Source.Configuration;
namespace SMA.Backup.Source.Handler
{
public class SourceHandler : ISourceHandler
{
private readonly ISqlServerSource _sqlServerSource;
private readonly IMongo... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Text;
using System.Text.Regu... |
using Masny.TimeTracker.Data.Models;
using Masny.TimeTracker.Logic.Interfaces;
using Masny.TimeTracker.WebApi.Contracts.Requests;
using Masny.TimeTracker.WebApi.Contracts.Responses;
using Masny.TimeTracker.WebApi.Settings;
using Masny.TimeTracker.WebApp.Shared.Models;
using Microsoft.AspNetCore.Identity;
using Microso... |
public class PhaseProgressEvent : GameEvent {
public float progress;
public PhaseProgressEvent(float progress) {
this.progress = progress;
}
} |
using UnityEngine;
using UnityEngine.TextCore;
using System.Collections.Generic;
using System.Linq;
namespace TMPro
{
public class TMP_SpriteAsset : TMP_Asset
{
internal Dictionary<uint, int> m_UnicodeLookup;
internal Dictionary<int, int> m_NameLookup;
internal Dictionary<uint, int> ... |
using UnityEngine;
using System.Collections;
public class FpsHudAmmo : MonoBehaviour
{
static FpsHudAmmo instance = null;
public static FpsHudAmmo Instance
{
get
{
if (instance == null)
{
instance = FindObjectOfType(typeof(FpsHudAmmo)) as FpsHudAmmo;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Draeger.Dynamics365.Testautomation.Common.Locators
{
public static class CaseLocators
{
public static string CustomerRaisedComplaint = "dw_customerraisedcomplaint";
pub... |
using System;
using FlexSoft.Infrastructure.Entites;
using FlexSoft.Infrastructure.Entites.IdentityModels;
using Microsoft.AspNet.Identity.EntityFramework;
namespace FlexSoft.Infrastructure
{
public class UserStore : UserStore<User, UserRole, Guid, UserLogin, UserRoleMembership, UserClaim>
{
public Us... |
namespace Arcus.EventGrid.IoTHub.Contracts.Events.v1.Data
{
public class TwinProperties
{
public PropertyConfiguration Desired { get; set; }
public PropertyConfiguration Reported { get; set; }
}
} |
//using ACTFoundation.Core.ViewModels.Shared;
//using ACTFoundation.Models.Generated;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using System.Web;
//using Umbraco.Core.Models.PublishedContent;
//namespace ACTFoundation.Core.ViewModel... |
using System;
namespace CCD.Enum
{
[Flags]
public enum DisplayConfigScanLineOrdering : uint
{
Unspecified = 0,
Progressive = 1,
Interlaced = 2,
InterlacedUpperfieldfirst = Interlaced,
InterlacedLowerfieldfirst = 3,
}
} |
//--------------------------------------------------
// Motion Framework
// Copyright©2019-2020 何冠峰
// Licensed under the MIT license
//--------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using MotionFramework.Utility;
using UnityEngine;
namespa... |
using UnityEngine;
using System.Collections;
public class DoorControllerAdvanced : MonoBehaviour {
[SerializeField] private float openAngle = 90.0f;
private float doorClickOpenAngle = 2.0f;
private float slightDoorOpenAngle = 10.0f;
private float maxDistance = 2.0f;
[SerializeField] private Audi... |
using System;
using Wizard.Cinema.Application.Services.Dto.EnumTypes;
namespace Wizard.Cinema.Application.Services.Dto.Request
{
public class ChangeProfilepReqs
{
public long WizardId { get; set; }
/// <summary>
/// 姓名
/// </summary>
public string NickName { get; set; ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Jump : MonoBehaviour
{
Character_Movement movement = null;
[Range(1, 20)]
public float jumpVelocity;
public int jumpLimit = 2;
int jumpValue = 0;
private void Start()
{
jump... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace FlappyBird
{
public class BulletData : EntityData
{
/// <summary>
/// 发射位置
/// </summary>
public Vector2 ShootPostion { get; private ... |
using Microsoft.Azure.ApplicationInsights.Query;
using Microsoft.Azure.ApplicationInsights.Query.Models;
using Microsoft.Extensions.Options;
using Microsoft.Rest;
using SSW.SophieBot.Components.Models;
using System;
using System.Threading.Tasks;
namespace SSW.SophieBot.Components.Services
{
public class AppInsigh... |
using System;
using System.Web.Mvc;
namespace Ext.Direct.Mvc {
public class DirectRouterController : Controller {
private readonly DirectProvider _provider = DirectProvider.GetCurrent();
[AcceptVerbs("POST")]
[ValidateInput(false)]
public ActionResult Index() {
// Pr... |
using System;
namespace Kunukn.XmlVisual.Core
{
public static class Reset
{
public static void Run()
{
}
}
}
|
// Copyright (c) Hugues Valois. All rights reserved.
// Licensed under the X11 license. See LICENSE in the project root for license information.
namespace Woohoo.Agi.Interpreter
{
using System.Collections.Generic;
/// <summary>
/// Menu hierarchical structure.
/// </summary>
public class Menu
... |
using System;
using System.Collections.Generic;
namespace GraphAlgorithms.D3
{
public struct D3Node
{
public readonly string id;
public readonly int groupColor;
public D3Node(string id, int groupColor = 1) {
this.id = id;
this.groupColor = groupColor;
}
... |
using System.Collections.Generic;
using System.Linq;
namespace Blueprint.Http
{
public class PagedApiResource<T> : ApiResource, IPagedApiResource
{
public PagedApiResource(IEnumerable<T> values)
{
this.Object = $"list.{GetTypeName(typeof(T))}";
// NB: It's important to... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DeckTester : MonoBehaviour
{
[SerializeField]
List<AbilityCardData> _abilityDeckConfig
= new List<AbilityCardData>();
[SerializeField] AbilityCardView _ability... |
using Bunit.Extensions;
namespace Bunit;
/// <summary>
/// <see cref="ComponentParameter"/> factory methods.
/// </summary>
public static class ComponentParameterFactory
{
/// <summary>
/// Creates a <see cref="ComponentParameter"/> with an <see cref="Microsoft.AspNetCore.Components.EventCallback"/> that will call ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
namespace NetBots.WebServer.Data.MsSql
{
using Model;
public class NetBotsDbContext : DbContext
{
public DbSet<PlayerBot> PlayerBots { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Factory
{
public interface IAnimalFactory
{
IAnimal FactoryMethod();// A method in which to build the product
}
}
|
using System;
using System.Threading.Tasks;
namespace Dalion.HttpMessageSigning.Utils {
internal class BackgroundTaskStarter : IBackgroundTaskStarter {
private readonly IDelayer _delayer;
public BackgroundTaskStarter(IDelayer delayer) {
_delayer = delayer ?? throw new ArgumentN... |
using System.Compiler;
using System.Diagnostics.Contracts;
namespace Microsoft.Contracts.Foxtrot.Utils
{
internal static class TypeNodeExtensions
{
// TODO: retire this method after moving to C# 6.0
public static int TemplateArgumentsCount(this TypeNode typeNode)
{
Contract... |
using Newtonsoft.Json;
using System;
namespace Smart.Web.Mvc.UI.FullCalendar
{
public class EventObject
{
/// <summary>
/// 可选,事件唯一标识,重复的事件具有相同的id
/// </summary>
[JsonProperty("id")]
public string Id { get; set; }
/// <summary>
/// 必须,事件在日历上显示的title
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Movie_Application.Client.Helper
{
public interface IHttpService
{
Task<HttpResponseWrapper<T>> Get<T>(string url);
Task<HttpResponseWrapper<object>> Post<T>(string url, T data);... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.