text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Breakable : InteractableComponent {
BodyPart[] parts;
public float breakSpeed;
public Rigidbody rb;
Transform self;
// Use this for initialization
void Start () {
rb = GetComponent<Rigidbody>();
self = GetCompone... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpEngine.Editor.ViewModel
{
public class MainViewModel
{
public DockManagerViewModel DockManagerViewModel { get; private set; }
public MenuViewModel MenuViewModel { ... |
namespace Merchello.UkFest.Web.Models.Checkout
{
using System;
using System.Collections.Generic;
/// <summary>
/// The delivery methods.
/// </summary>
public class DeliveryMethod : CheckoutStageBase
{
/// <summary>
/// Gets or sets the ship method key.
/// </summar... |
using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
float speed = 4f;
Vector3 start_position = Vector3.zero;
float max_distance = 5f;
float current_distance = 0f;
bool isMoved = true;
SpaceObject owner = null;
// Use this for initialization
void Awake()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem42 : ProblemBase {
private Dictionary<string, int> _alphabet = new Dictionary<string, int>();
private HashSet<decimal> _triangleN... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace DependencyInversionPrinciple
{
public enum Relationship
{
Parent,
Chield,
Siblings
}
public class Person
{
public string Name { get; set; }
}
// low-level module
public class... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Configuration;
using System.Threading;
namespace IRAP.Global
{
internal p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Template_Method
{
public class SecondChild : AbctractTemplate
{
protected override void OperationA()
{
Console.WriteLine("SecondChild.OperationB");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using appglobal.models;
using Microsoft.EntityFrameworkCore;
namespace appglobal
{
public class m_feature_groupModel : ScopePageModel
{
//... |
using gView.Framework.Data;
using Newtonsoft.Json;
using System;
namespace gView.Interoperability.GeoServices.Rest.Json
{
public class JsonField
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProp... |
using System;
using System.Collections.Generic;
using System.Reflection;
namespace JakePerry.Reflection
{
/// <summary>
/// A data structure containing an attribute and it's target.
/// </summary>
public readonly struct CustomAttributeDecoration<T> : IEquatable<CustomAttributeDecoration<T>>
wh... |
using System;
using System.Collections.Generic;
using System.Linq;
using Chess.Data.Entities;
namespace Chess.Data.Piece
{
public class Bishop : ChessPiece
{
public Bishop()
{
ScoreValue = 300;
}
public override IEnumerable<Move> GetValidMoves(Square[][] board)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Genesys.WebServicesClient.Resources
{
public class UserState
{
[ReadOnly(true)]
public string Id { get; set; }
[ReadOnly(true)]
public string State { ge... |
using System;
using System.Collections.Generic;
using DevEngine.Graphics;
using DevEngine.Levels.Tiles;
using Microsoft.Xna.Framework;
namespace DevEngine.Levels {
public class LevelEditor {
public Level Level { get; }
public bool OverLayVisible { get; set; }
private const int TileSize ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
private Animator m_animator;
void Start()
{
m_animator = GetComponent<Animator>();
}
public void Shake()
{
m_animator.SetTrigger("shake");
}
}
|
using UnityEditor;
using UnityEngine;
namespace AtomosZ.OhBehave.EditorTools
{
public class NodeEditPopup : EditorWindow
{
public static NodeEditPopup instance;
private static NodeEditorObject editing;
private static string newname;
private static string newdesc;
private Event currentEvent;
private ... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using GymWorkout.Application.Interfaces;
namespace GymWorkout.Entity.Foods
{
public class FoodPlanDetail : IBaseEntity
{
[Key]
public int Id { get; set; }
public int FoodPlanI... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour {
public Vector2 currentPositionID;
public int enemyHealth;
public Animator childAnimator;
public Animator heroAnimator;
public HeroController heroController;
public Gam... |
using System.Web.Mvc;
namespace Web.Test.Validation
{
/// <summary>
/// This allows for the testing of expected errors from ModelState
/// </summary>
internal class TestModelStateController : Controller
{
/// <summary>
/// Instantiate a new Controller Context
/// </... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VerifyParameter.Interface;
namespace VerifyParameter.Data.AttributeData
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public partial class PrimaryKeyAttribute : Attribute, IVerifyAttribute
{
... |
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.IO;
using System.Security.Cryptography;
namespace PasswortGen1._0
{
public partial clas... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Xamarin.Forms;
namespace LorikeetMApp
{
public partial class StartupPage : ContentPage
{
public StartupPage()
{
InitializeComponent();
}
protected override void OnAppearing()
{
base.OnAp... |
using System;
using System.Data;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.IO;
namespace Project
{
public partial class MainView : Form
{
public MainView()
{
InitializeComponent();
}
private void MainView_Load(object sender, EventArgs e)... |
using Microsoft.Extensions.Configuration;
namespace OdeToFood.Services
{
public interface IGreeter
{
string MessageOfTheDay();
}
public class Greeter : IGreeter
{
private IConfiguration _configeration;
public Greeter(IConfiguration configeration)
{
_co... |
using System;
using SharpDX;
using D3D = SharpDX.Direct3D;
using DX11 = SharpDX.Direct3D11;
using DXGI = SharpDX.DXGI;
namespace MDX
{
class GraphicDevice
{
private DX11.Device Device;
private DX11.Texture2D RenderTexture;
private DX11.Texture2D DepthTexture;
pub... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace EnsureThat
{
public static class EnsureThatCollectionExtensions
{
public static Param<T> HasItems<T>(this in Param<T> param) where T : class, ICollection
{
Ensu... |
using System;
class RandomNumbersInGivenRange
{
static void Main()
{
Console.WriteLine("Infinite loop. If you want to stop, pres CTRL+C !!!");
while (true)
{
int iN, iMin, iMax;
Console.Write("Enter n /integer/ : ");
var sN = Console.ReadLine();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerGetDMG : MonoBehaviour {
private float playerHp = 100;
private Animator anim;
private PlayerMove pm;
private SkinnedMeshRenderer bodyRenderer;
private float smoothTran = 5;
private void Start()
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraBars;
namespace SDI_LCS
{
public partial class Form_Setting_Charge : DevExpress... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PizzaBox.Domain.PizzaLib.Abstracts
{
interface IPizzaRepositoryDelete<T>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Nac.Common.Control {
[DataContract, Serializable]
public class NacTask : NacObjectWithChildren {
[DataMember]
public TimeSpan CycleTime { get; set; }
[DataMember]
public TimeSpan Cycl... |
using System.Collections.Generic;
using System.Linq;
using Vostok.Logging.Abstractions;
namespace SpaceHosting.Index
{
internal sealed class IndexStore<TId, TData, TVector> : IIndexStore<TId, TData, TVector>
where TId : notnull
where TVector : IVector
{
private readonly ILog log;
... |
using System;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.DataAccess.Repositories;
using DFC.ServiceTaxonomy.GraphSync.Recipes.Executors;
using DFC.ServiceTaxonomy.Title.Indexes;
using DFC.ServiceTaxonomy.Title.Models;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using OrchardCore.Conten... |
using System;
using System.IO;
using Baseline;
using Marten.Schema;
using Npgsql;
using StructureMap;
namespace Marten.Testing
{
public class ConnectionSource : ConnectionFactory
{
public static readonly string ConnectionString;
static ConnectionSource()
{
var path = AppDo... |
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Session;
using System;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Logging;
using MediaBrowser.Model.Threading;
using System.Linq;
namespace MediaBrowser.Controller.Session
{
/// <summary>
/// Class SessionInfo
/// </summary>
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Models
{
public class Sozialgruppe
{
public virtual int SozialgruppeID { get; set; }
public virtual string Bezeichnung { get; set; }
... |
namespace Zombie_Apocalypse_Tomaszek_Piotr
{
public abstract class Character
{
protected double _money;
protected int _valueY;
protected int _valueX;
public int X
{
get { return _valueX; }
set
{
if (value < 25 && value... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class npc_Script : MonoBehaviour
{
GameObject player1;
GameObject player2;
public Text myTextBox;
public bool questGiven;
public bool questDone;
public TextMeshProUGUI m... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameController : MonoBehaviour {
public List<GameObject> healthDisplays;
public Sprite fullHeart;
public Sprite emptyHeart;
public float restartDelay = 3f;
public... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Disco : MonoBehaviour
{
private Light lightSource;
public Gradient colorGradient;
public float duration = 1f;
private void Awake()
{
lightSource = GetComponent<Light>();
}
void Update()
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.System;
using Windows.UI;
using Windows.UI.Core;
using Windows.UI.Popups;
... |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Net.UdpServer.Echo
{
class Program
{
static void Main(string[] args)
... |
namespace Sentry.DiagnosticSource.IntegrationTests.EF;
public class TestDbContext : DbContext
{
public DbSet<TestEntity> TestEntities { get; set; } = null!;
public TestDbContext(DbContextOptions options) :
base(options)
{
}
protected override void OnModelCreating(ModelBuilder model)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SMN.Data.Entities
{
public class Mungesat
{
public Guid Id { get; set; }
public bool MeArsyje { get; set; }
public DateTime Data { get; set; }
public string? Arsyeja { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Entidades;
namespace WCF
{
// NOTA: puede usar el comando "Rename" del menú "Refactorizar" para cambiar el nombre de interfaz "ISRV_Proovedor" en el código y e... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Collections.Generic;
using System.Linq;
using ApartmentApps.Client.Models;
using Microsoft.Rest;
using Newtonsoft.Json.Linq;
namespace Apa... |
using MyHotel.Business.Entity.CustomChart;
using MyHotel.Utils;
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AjaxControlToolkit;
using System.Web.UI.DataVisualization.... |
#if DEBUG
using AsyncClasses;
using Contracts.Callback;
using System.Collections.Generic;
using System.ServiceModel;
using System.Threading.Tasks;
namespace Contracts.Promotions
{
[ServiceContract(SessionMode = SessionMode.Required, CallbackContract = typeof(IAsyncUpdateCallback),
Namespace = "http://www.noof.com/... |
namespace DFC.ServiceTaxonomy.ContentApproval.Models
{
public static class Constants
{
public const string SubmitSaveKey = "submit.Save";
public const string SubmitPublishKey = "submit.Publish";
public const string SubmitRequiresRevisionValue = "submit.RequiresRevision";
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Repl.Core;
namespace Repl.WebApi.Controllers
{
[Route("api/internal/replication")]
[ApiController]
public class ReplicationController : Controller
{
[HttpGet]
... |
using System;
using System.Text;
using System.Collections.Generic;
using Kattis.IO;
public class Program
{
const int MAX_MOVES = 10;
const int MAX_STONES = 1000000;
static public void Main ()
{
Scanner scanner = new Scanner();
BufferedStdoutWriter writer = new BufferedStdoutWriter();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SMN.Data.Entities
{
public class ParaleljaNxenesi
{
public Guid Id { get; set; }
public SmnUser Nxenesi { get; set; }
public Paralelja Paralelja { get; set; }
}
}
|
namespace Frank.Scheduler.Models.Messages
{
public enum Result
{
Success,
Failure,
PartialSuccess
}
} |
namespace DesignPatterns.Decorator.Example1
{
/// <summary>
/// Decorators can execute their behavior either before or after the call to a wrapped object.
/// </summary>
public class ConcreteDecoratorB : Decorator
{
public ConcreteDecoratorB(Component comp) : base(comp)
{
}
... |
using StackUnderflow.Domain.Core.Contexts.Question.CreateQuestion;
using StackUnderflow.EF.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace StackUnderflow.Domain.Core.Contexts.Question
{
public class QuestionWriteContext
{
public ICollection<Post> Questions { get; }... |
public class Solution {
public int[] Intersection(int[] nums1, int[] nums2) {
Array.Sort(nums1);
Array.Sort(nums2);
var lst = new List<int>();
for (int i = 0; i < nums1.Length; i ++) {
if (i != 0 && nums1[i] == nums1[i-1]) continue;
... |
#region MIT License
/*
* Copyright (c) 2009 University of Jyväskylä, Department of Mathematical
* Information Technology.
*
* 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 rest... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using MobilePhoneRetailer.DataLayer;
namespace MobilePhoneRetailer.BusinessLayer.Cart
{
//Concrete Component Class
public class Cart : ICart
{
public int CustomerID... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Welic.App.Models.Usuario
{
class UserInfo
{
public string NomeCompleto { get; set; }
public string Cpf { get; set; }
public byte[] ImagemPerfil { get; set; }
public string NomeImage { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace Formatter
{
public class ReceiptFormat5 : ReceiptFormat4
{
public ReceiptFormat5(Receipt receipt, int width, int posNumber, bool SlipInsideReceipt)
: base(receipt, width, posN... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace jaytwo.Common.Parse
{
public static partial class ParseUtility
{
public static decimal ParseDecimal(string value)
{
var styles = GetStyles(value);
var formatProvider = GetFormatProvider(styles);
ret... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.ML.Data;
using static Mic... |
using UnityEngine;
using UnityEngine.SceneManagement;
namespace GameManager
{
public class GameManager_GoToMenuScene : MonoBehaviour
{
private void OnEnable()
{
GameManager_Master.Instance.GoToMenuSceneEvent += GoToMenuScene;
}
private void OnDisable()
{
GameManager_Master.Instance.GoToMenuSceneEve... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Reflection;
using System.Web.Mail;
using System.Net.Mail;
namespace MvcApplication1.Models
{
public class Practitioner
{
glinttEntities gE;
glinttlocalEntities glE;
pri... |
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using WebUI.Entity;
using WebUI.Models;
namespace WebUI.Data.Concrete.EfCore
{
public class ApplicationIdentityDbContext : IdentityDbContext<ApplicationUser>
{
public App... |
using System.Collections.Generic;
using System.Linq;
namespace EPI.HashTables
{
/// <summary>
/// Write a function that takes as input a string ("sentence") and a list of strings ("words")
/// and returns all substrings of the sentence which are a concatenation of all the words.
/// Assume all words have equal le... |
namespace Serilog.PerformanceTests;
/// <summary>
/// Determines the cost of rendering an event out to one of the typical text targets,
/// like the console or a text file.
/// </summary>
[MemoryDiagnoser]
public class OutputTemplateRenderingBenchmark
{
const string DefaultFileOutputTemplate = "{Timestamp:yyyy-MM-... |
using Crystal.Plot2D.Common;
using Crystal.Plot2D.DataSources;
using System;
using System.Windows;
using DataSource = Crystal.Plot2D.DataSources.IDataSource2D<double>;
namespace Crystal.Plot2D.Charts
{
public abstract class IsolineGraphBase : ContentGraph
{
protected IsolineGraphBase() { }
private Isolin... |
// 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 FiiiCoin.Utility;
using FiiiCoin.Wallet.Win.Common.interfaces;
using System;
using System.Threading;
using System.Threading.Ta... |
namespace gView.GraphicsEngine
{
public struct CanvasRectangleF
{
public CanvasRectangleF(float left, float top, float width, float height)
{
this.Left = left;
this.Top = top;
this.Width = width;
this.Height = height;
}
public Can... |
using System;
using System.Collections.Generic;
using System.Text;
using MvvmCross;
using MvvmCross.Core.ViewModels;
namespace Trains
{
public class AppStart : MvxNavigatingObject, IMvxAppStart
{
public void Start(object hint = null)
{
//var userService = Mvx.Resolve<IUserDataServi... |
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core
{
public sealed partial class VlcMediaPlayer
{
private EventCallback myOnMediaPlayerEncounteredErrorInternalEventCallback;
public event EventHandler<VlcMediaPlayerEncounteredErrorEventArgs> EncounteredError;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Week_2_LAB_EX_HW
{
class Program
{
static void AnimalSound(string animal = "duck", string sound = "quack")
{
Console.WriteLine($"The {animal} goes \"{sound... |
using System;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DtCms.Common;
namespace DtCms.Web.Admin.Contents
{
public partial class Edit : DtCms.Web.UI.ManagePage
{
public int Id;
protected void Page_Load(object sender, EventArgs e)
{... |
using Pe.Stracon.SGC.Infraestructura.Core.Base;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using System;
using System.Collections.Generic;
namespace Pe.Stracon.SGC.Infraestructura.Core.QueryContract.Contractual
{
public interface IProveedorLogicRepository : IQueryRepository<ProveedorLogic>
{... |
using System.Linq;
using CameraBazaar.Models.EntityModels;
using CameraBazzar.Data;
namespace CameraBazaar.App.Security
{
public class AuthenticationManager
{
private CameraBazaarContext context;
public AuthenticationManager()
{
this.context = new CameraBazaarContext();
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.Eventing.Reader;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GDS.Entity
{
[Serializable]
public class BackUserInfo : ModelBase
{
/// <summary>
/// 对应数据库中的UserName,账号
/// </summary>
public string LoginName { ge... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using MobilePhoneRetailer.DataLayer;
namespace MobilePhoneRetailer.BusinessLayer
{
public class Customer
{
public int CustomerID { get; set; }
public String Name... |
using UnityEngine;
using System.Collections;
public class TileFloorController : TileController {
public Material materialMonster, materialTrap, materialBoth;
void Update() {
SetText (GetTileChar());
SetFontShader(GetTileCharShader());
}
public override void Interact()
{
base.Interact ();
}
v... |
using System;
//TODO: Add other using statements here
namespace com.Sconit.Entity.ISI
{
public partial class TaskReportView
{
public Int32? Id { get; set; }
public string TaskSubTypeCode { get; set; }
public string TaskType { get; set; }
public string TaskSubTypeDesc { get; se... |
using DChild.Gameplay.Combat.StatusEffects;
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using UnityEngine;
[OdinDrawer]
public sealed class StatusEffectDrawer : OdinAttributeDrawer<StatusEffectAttribute, string>
{
protected override void DrawPropertyLayout(IPropertyValueEntry<string> entry, StatusEffec... |
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Parts;
using FakeItEasy;
using Newtonsoft.Json.Linq;
using Xunit;
namespace DFC.ServiceTaxonomy.UnitTests.GraphSync.GraphSyncers.Parts.AutoroutePartGraphSyncerTests
{
public class AutoroutePartGraphSyncerValidateSyncComponentTestsBase ... |
using UnityEngine;
using System.Collections;
public class ObjectCache : MonoBehaviour
{
public GameObject prefab;
public int cacheSize;
private GameObject [] objects;
private int cacheIndex;
bool IsHiddenAllObj;
public void Initialize()
{
cacheSize = (int)(PlayerAutoFire.frequency * PlayerSimpleBullet.life... |
using GDS.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GDS.Dal
{
public interface ITemplatePhaseDao<T> : IDaoBase<T> where T : class
{
List<TemplatePhase> GetTemplatePhaseByTemplateId(int templateId);
bo... |
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 Mercadinho
{
public partial class Servicos : Form
{
public Servicos()
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace GucciBazaar.Models
{
public class Category : BaseModel
{
[StringLength(250)]
[Required(ErrorMessage = "Numele categoriei este obligatoriu")]
public string Name { get; set; }
public virtual... |
using fNbt;
public interface IAiMeta {
void writeToNbt(NbtCompound tag);
void readFromNbt(NbtCompound tag);
}
|
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Mvc;
using Tensorflex.Models;
using PagedList;
namespace Tensorflex.Controllers
{
public class ArticuloesController : Controller
{
private TensorflexEntities db = new TensorflexEntities();
// GET: Art... |
namespace BizApplication
{
/// <summary>
/// Contains a group of settings which describe how the application will be managed by the service.
///
/// SessionType : see ApplicationSessionMode description.
///
/// ResponseMode : see ResponseMode description.
/// ... |
using System.Collections.Generic;
namespace Algorithms.Lib.Interfaces
{
public interface IOrgraph : IPrintable
{
IReadOnlyCollection<INode> Nodes { get; }
IReadOnlyCollection<IArcs> Arcs { get; }
void RemoveNode(INode node);
void RemoveArc(IArcs edge);
}
} |
using System;
namespace Masuit.LuceneEFCore.SearchEngine
{
/// <summary>
/// 索引器选项
/// </summary>
public class LuceneIndexerOptions
{
/// <summary>
/// 索引路径
/// </summary>
public string Path { get; set; }
/// <summary>
/// 索引列IndexId的生成函数,(Type Enti... |
using System;
namespace Week04b
{
class MainClass
{
public static void Main (string[] args)
{
// In your own words/comment explain the difference between a while loop and a do while loop
// A while loop runs while a condition is true, where as a do while loop will run atleast once and then check... |
using gView.Framework.Data;
using gView.Framework.Data.Filters;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace gView.DataSources.GeoJson
{
class GeoJsonFeatureCursor : FeatureCursor
{
private readonly IFeature[] _features;
private readonly ISpatial... |
namespace Ecom.DataModel
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
/// <summary>
/// Gives the category of identity
/// </summary>
public class Category
{
/// <summary>
/// Gets or Sets the CategoryID
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChaseState : IStateBase
{
private static ChaseState instance = new ChaseState();
public static ChaseState Instance
{
get
{
return instance;
}
}
public void Init(Monster ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebApplication1.Helpers;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class InvoiceSearchController : ApiController
{
// GET: api/Inv... |
using System.Data.Entity;
using Modelos;
namespace AcessoDados
{
public class Contexto : DbContext
{
public DbSet<Produto> Produtos { get; set; }
public DbSet<Usuario> Usuarios { get; set; }
public DbSet<Categoria> Categorias { get; set; }
public DbSet<Cliente> Clientes { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using ProjectManagement.Entity;
using ProjectManagement.WebUI.Models;
namespace ProjectManagement.WebUI.Controllers
{
public class UserController : ... |
using System;
using System.Collections.Generic;
namespace _01
{
public class Solution{
private IList<string> result;
public IList<string> Permute(int n){
result=new List<string>();
DFS(n,1,0,"女");
DFS(n,0,1,"男");
return result;
}
pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.