text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Mover : MonoBehaviour
{
public Rigidbody rb;
public float speed;
void Start()
{
rb = GetComponent<Rigidbody>();
// Setting an object in motion requires modifying its Rigidbody's transform.
rb.velocity =... |
using Microsoft.AspNetCore.Components;
using SimpleBlogBlazor.Shared.Models;
using SimpleBlogBlazor.UI.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleBlogBlazor.UI.Pages.Posts
{
public partial class Edit
{
public Post post { g... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Security.Policy;
using uFrame.Kernel;
using UniRx;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.SceneManagement;
using Zenject;
using Object = UnityEngine.Object;
namespace Kernel
{
public static class Kern... |
using Ludotek.Api.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ludotek.Api.ViewModels
{
public class Ludotheque : GlobalModel
{
/// <summary>
/// Nom item
/// </summary>
public string NomItem { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TravelBuddySite.DAL;
using TravelBuddySite.Models;
/*
* The only function that rellevent is the profile creating page
*/
namespace TravelBuddySite.Controllers
{
public class ProfileController : Cont... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.ComponentModel;
namespace KartSystem
{
public class InvoiceGoodSpecRecord:DocGoodSpecRecord
{
static public event OnNeedLoadDelegate<InvoiceGoodSpecRecord, List<InvoiceAssortSpecRecor... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
namespace TravelMate
{
public part... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace Integer.Api.Models
{
public class GrupoModel
{
public GrupoModel()
{
Grupos = new List<ItemModel>();
}
public bool leaf { get;... |
using Microsoft.master2.rules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TinyMessenger;
namespace Microsoft.master2.messagebus
{
public class MethodMessageReceiver
{
TinyMessengerHub messageHub;
Rule... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.Collections;
using System.Data;
using System.Xml;
using System.Text.RegularExpressions;
using System.IO.Compression;
using Newtonsoft.Json;
using WpfBu.Models;
using System.Data.SqlClient;
using Sy... |
using System.ServiceModel;
using Phenix.Core.Mapping;
using Phenix.Core.Rule;
using Phenix.Core.Security;
namespace Phenix.Services.Contract.Wcf
{
[ServiceContract]
public interface IDataRule
{
#region PromptCode
[OperationContract]
[UseNetDataContract]
object GetPromptCodes(string name, UserId... |
using log4net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Web.Configuration;
using System.Web.Http;
using CEMAPI.Models;
nam... |
using NSchedule.Helpers;
using NSchedule.ViewModels;
using NSchedule.Views;
using Plugin.Toast;
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace NSchedule
{
public partial class AppShell : Xamarin.Forms.Shell
{
public AppShell()
{
InitializeComponent()... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// This source code is licensed under Microsoft Shared Source License
// Version 1.0 for Windows CE.
// For a copy of the license visit http://go.microsoft.com/?linkid=2933443.
//
#region Using directives
using System;
using System.Net.Sockets;
... |
//
// GTK# impressions:
// - there are no convinience functions, like new FooWidget (parent)
// - the generated sources are hard to read because the API functions are
// mixed with internal functions, export directives etc.
// - the app is slow to start up, slower than Qt#. Afterwards, it is faster.
// - the ope... |
using Newtonsoft.Json;
namespace Justa.Job.Backend.Api.Application.Services.DataValidation.Models
{
public class EmialValidatorResponse
{
[JsonProperty("email")]
public string Email { get; set; }
[JsonProperty("user")]
public string User { get; set; }
[JsonProperty("d... |
using System.Windows.Controls;
namespace Restaurant.View
{
public partial class LoginView : UserControl
{
private string _pinPressed = "";
public LoginView()
{
InitializeComponent();
}
private void number_Click(object sender, System.Windows.RoutedEventArgs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RogueDungeonCrawler.Classes
{
public class Player
{
Room CurrentRoom;
public Player(Room startingRoom)
{
this.CurrentRoom = startingRoom;
}
... |
using Refactoring_08_Calculator.DiscountStrategy.Base;
namespace Refactoring_08_Calculator.DiscountStrategy
{
public class Context : IContext
{
private BaseDiscountStrategy _strategy;
// Constructor
public Context(BaseDiscountStrategy strategy)
{
this._strategy =... |
using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
partial class InputDevice : InputDeviceBase
{
public static bool SystemButton
{
get
{
//前进加开火
return inputDevice.ButtonSystem();
}
}
public static bool ControlPane... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoinsMovement : MonoBehaviour
{
public float downSpeed;
private void Update()
{
this.transform.Translate(new Vector3(0f, -downSpeed, 0f) * Time.deltaTime);
}
}
|
using DigitalFormsSteamLeak.Entity.Models;
using DigitalFormsSteamLeak.Entity.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DigitalFormsSteamLeak.Repository
{
public class LeakDBContext : DbContext
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using SqlServerRunnerNet.ViewModel;
namespace SqlServerRunnerNet.Infrastructure.Commands
{
public class DelayableCommand : NotifyPropertyChangedBase
{
private Timer _timer;
private CancellationTokenSource _cts;
pri... |
namespace Sentry.Tests;
public class ScopeTests
{
private readonly Scope _sut = new();
[Fact]
public void OnEvaluate_FiresOnlyOnce()
{
var counter = 0;
_sut.OnEvaluating += (_, _) => counter++;
_sut.Evaluate();
_sut.Evaluate();
Assert.Equal(1, counter);
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04_Files_new
{
public class _04_Files_new
{
public static void Main()
{
var n = int.Parse(Console.ReadLine());
var result = new List<Files>();... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sind.Model;
namespace Sind.BLL.Test.Integration
{
[TestClass]
public class ManterGrupoVisaoComVisoesTest
{
private GrupoVisao _grupoVisao;
private static Visao _visa... |
using TMPro;
using UnityEngine;
public enum TrashType { Bag, Plastic, Paper, Glass, Food, Metal }
public class TrashManager : MonoBehaviour
{
public static TrashManager instance;
[NaughtyAttributes.ShowNativeProperty] public int plasticCollected { get; protected set; } = 0;
[NaughtyAttributes.ShowNative... |
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
#region singleton
public static GameManager instance;
private void Awake() {
if (instance == null)
instance = this;
}
#endregion
public List<Item> itemList = new List<Item>();
public List<Item> cra... |
using System;
using System.Collections.Generic;
namespace Dimension_Data_Collab.Models
{
public partial class Salary
{
public string SalaryId { get; set; }
public decimal? HourlyRate { get; set; }
public string OverTime { get; set; }
public decimal? MonthlyIncome { get; set; }
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.MD
{
[Serializable]
public partial class ItemDiscontinue : EntityBase, IAuditable
{
#region O/R Mapping Properties
//[Display(Name = "Id", ResourceType = typeof(Resources.MD.ItemDiscontinue))]
public Int32... |
namespace _2015webapi.Models
{
using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
public partial class Fooddb : DbContext
{
public Fooddb()
: base("name=Fooddb")
{
}
public virtual DbSet<Foo... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace WorkScheduleManagement.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder... |
namespace SubC.Attachments.ClingyEditor {
using UnityEditor;
using UnityEngine;
using ClingyPhysics2D;
[CustomPropertyDrawer(typeof(AttachStrategyJointDescription2D), true)]
public class AttachStrategyJointDescription2DPropertyDrawer : PropertyDrawer {
static string[] fixedJoint2DProps = new st... |
namespace Fuzzing.Tests.TestTypes
{
public class TypeWithNoParameterlessConstructor
{
public string Arugment { get; private set; }
public TypeWithNoParameterlessConstructor(string arugment)
{
Arugment = arugment;
}
}
}
|
using System;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DtCms.Common;
namespace DtCms.Web.Admin.Products
{
public partial class Add : DtCms.Web.UI.ManagePage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.Is... |
using System;
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
[Migration(201503241646)]
public class RemoveSourceExportTables : Migration
{
public override void Down()
{
}
public override void Up()
{
if (Schema.Table("PRF... |
using UnityEngine;
using System.Collections;
public class BallOperator : MonoBehaviour
{
//The ball changes color everytime it spawns.
public Sprite[] balls = new Sprite[6];
private Rigidbody2D rb;
public float minSpeed;
public float maxSpeed;
public float minVerticalMovement = 0.1f;
[H... |
using Uintra.Infrastructure.TypeProviders;
namespace Uintra.Features.Permissions.TypeProviders
{
public interface IPermissionResourceTypeProvider : IEnumTypeProvider
{
}
}
|
using System;
using System.Collections.Generic;
using System.Text.Json;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using RestDDD.Application.DTOS;
using RestDDD.Application.Interfaces;
public class Page
{
public int pagina { get; set; }
public ContatoDTO contato { get; set; }
}
... |
using System.Collections.Generic;
using Podemski.Musicorum.Dao.Entities;
namespace Podemski.Musicorum.Dao
{
public abstract class Context
{
protected Context()
{
Artists = new List<Artist>();
Albums = new List<Album>();
Tracks = new List<Track>();
}... |
//
// DataContextExtensions.cs
//
// Author:
// nofanto ibrahim <nofanto.ibrahim@gmail.com>
//
// Copyright (c) 2011 sejalan
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free So... |
using System.Configuration;
using Properties.Core.Engines;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Core.Services;
using Properties.Infrastructure.Advertising;
using Properties.Infrastructure.Data;
using Properties.Infrastructure.Data.Factories;
using Properties.Infrastructure.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class TitleScreenController : MonoBehaviour
{
// Start is called before the first frame update
public AudioSource audioSource;
private bool starting;
[SerializeField] Animator anima... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using WordTree.Model;
namespace APP_Form
{
public partia... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Tkhm1_Str1_Frm0_PlayStory : MonoBehaviour {
public AudioSource audioSource;
public GameObject scenePrefab;
public GameObject scenePrefabLoad;
public GameObject Can_Menu;
Camera MainCamera;
GameObject ObjAnim;
void S... |
namespace PhotoShare.Client.Utilities
{
using Models;
using System.Linq;
class Authorization
{
private static Authorization instance;
private User currentUser;
private Authorization()
{
}
public static Authorization Instance
{
get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleAppJoinDemo
{
class Program
{
static void Main(string[] args)
{
JoinDemo app = new JoinDemo();
app.InnerJoin();
app.GroupJoin... |
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 Apache.NMS;
using Apache.NMS.ActiveMQ;
using Apache.NMS.ActiveMQ.Commands;
namespace IRAP.TPM.SIM.PWOBuilder
{
... |
using System;
namespace Problems
{
public class Program
{
public string Prefix(string input)
{
if(input == null)
{
return null;
}
int x = input.Length;
string[] words = input.Split(new[] { ' ' }, StringSplitOptions... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GDS.Comon
{
public class ConnectionManager
{
/// <summary>
/// 数据库链接字符串
/// </summary>
public static string LY
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using techtalk2;
using System.Web.Http.Cors;
namespace techtalk2.C... |
using System.Collections.Generic;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
using SharpMap.Layers;
namespace SharpMap.UI.Snapping
{
public interface ISnapRule
{
ILayer SourceLayer { get; set; }
int PixelGravity { get; set; }
bool Obligatory { get; set; }
ISnapRe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VBRepo
{
public class MedarbejderFac : AutoFac<Medarbejder>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TestApp
{
public class Program
{
public static void Main(string[] args)
{
var client = new SolrDotNet.SolrClient();
var k = client.Query<AScanModel>("").Result;
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CG.MovieApp.DataAccess.Interfaces.Dal
{
public interface IGenericDal<TEntity> where TEntity:class,new()
{
Task<List<TEntity>> GetAll();
Task<TEntity> GetById(int id);
Task Add(T... |
using System;
using System.Data.Common;
using StackExchange.Profiling;
using System.Reflection;
namespace StackExchange.Profiling.Data
{
/// <summary>
/// Wrapper for a db provider factory to enable profiling
/// </summary>
public class EFProfiledDbProviderFactory<T> : DbProviderFactory, IServiceProvi... |
using System.Net;
using System.Collections.Generic;
using Newtonsoft.Json;
using AGL.DeveloperTest.Contracts.DataProviders;
using AGL.DeveloperTest.Models;
namespace AGL.DeveloperTest.Test.DataProviders
{
/// <summary>
/// JosnDataProvider class
/// </summary>
public class MockedJosnDataProvider : I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Diagnostics;
namespace Optymalizacja_wykorzystania_pamieci
{
class Current_Process
{
public static ProcessThread GetCurrentProcessThread()
{
... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CIPMSBC;
using CIPMSBC.Eligibility;
public partial... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoodMachine
{
class Component
{
public String name {get; private set;}
public Component(String name)
{
this.name = name;
}
... |
using System;
using System.Text;
using System.IO;
namespace Classes.General
{
public class FileAccess : IDisposable
{
public void Dispose()
{
// Disposing Objects...
}
public bool SaveConfigFile(Models.RegDataModel reg, string filePath)
{
bool re... |
using System.Text;
namespace DocDiff {
/// <summary>
/// A class to wrap up document changes.
/// </summary>
public class Fragment {
public Differences.FragmentType Type { get; set; }
public string TypeString {
get {
switch (Type) {
case Differences.FragmentType.Deleted: return "d";
... |
// File Prologue
// Name: Darren Moody
// CS 1400 Section 005
// Project: CS1400 Lab 13
// Date: 10/15/2013
//
// I declare that the following code was written by me or provided
// by the instructor for this project. I understand that copying source
// code from any other source constitutes cheating, and that I wi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.Node
{
class BlockSyncTask
{
public BlockSyncTask()
{
this.LastMsgTime = null;
//this.Status = BlockSyncStatus.Wait;
//this.Data = new List<byte>();
}
pub... |
using CarsIsland.MailSender.Infrastructure.Services.Integration;
using CarsIsland.MailSender.Infrastructure.Services.Integration.Interfaces;
using Microsoft.Extensions.DependencyInjection;
namespace CarsIsland.MailSender.FuncApp.Core.DependencyInjection
{
internal static class MessagingServiceCollectionExtensions... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace VyBestilling.Models
{
public class VyContext
{
}
public class jsBestilling
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CNWTT.Models.DO
{
public class Accessories
{
public int id { get; set; }
public string Manufacturer { get; set; }
public string Color { get; set; }
public string Product_Id { get; set... |
using Microsoft.Owin.Security.OAuth;
using SimpleInjector;
using System;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using prmToolkit.Validation;
using Fbtc.Infra.Helpers;
using Fbtc.Domain.Entities;
using Fbtc.Application.Services;
using Fbtc.Do... |
using ChatTest.App.Services.Database.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace ChatTest.App.Services.Database.Configuration
{
internal class ConversationConfiguration : IEntityTypeConfiguration<Conversation>
{
public void Configure(... |
using gView.Framework.Globalisation;
using gView.Framework.UI;
using System;
using System.Collections.Generic;
namespace gView.Plugins.Snapping
{
[gView.Framework.system.RegisterPlugIn("B903AF52-4CA7-4286-A596-775C4690C93D", Obsolete = true)]
class Toolbar : IToolbar
{
private List<Guid> _guids;
... |
using Effigy.Service;
using Effigy.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Effigy.Entity.DBContext;
using System.Web.Services;
using Effigy.Entity.Entity;
namespace Effigy.Web.MasterPage
{
... |
using Cottle;
using Cottle.Functions;
using Cottle.Stores;
using EddiSpeechResponder.Service;
using JetBrains.Annotations;
using System;
namespace EddiSpeechResponder.CustomFunctions
{
[UsedImplicitly]
public class OneOf : ResolverInstance<ScriptResolver, BuiltinStore>, ICustomFunction
{
public st... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEditor;
public class BoomerMovesTowardsPlayer
{
private GameObject boomer = AssetDatabase.LoadAssetAtPath<GameObject>("Assets/Prefabs/BoomerEnemy.prefab");
private Game... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SocialSite.Models
{
public class ImageDisplayMod
{
public IEnumerable<string> Images { get; set; }
}
} |
using System;
using System.Globalization;
using System.Windows.Data;
namespace Shimakaze.Toolkit.Csf.Converters
{
public class Int32ToStringValueConverter : IValueConverter
{
public static IValueConverter Instance { get; } = new Int32ToStringValueConverter();
public object Convert(object valu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
//using UniversitySystem.Data;
namespace UniversitySystem.Controllers
{
//[Authorize(Roles = "Admin")]
... |
using UnityEngine;
using System.Collections;
public class SpacePowerUpController : MonoBehaviour
{
/// <summary>
/// Ref dos PowersUps
/// </summary>
public GameObject[] powerUps;
void Start()
{
StartCoroutine(shootPowerUp());
}
/// <summary>
/// Criar Power Ups/ Testes
... |
using RestDDD.Domain.Core.Interfaces.Repositories;
using RestDDD.Domain.Entities;
namespace RestDDD.Infraestructure.Data.Repositories
{
public class RepositoryContato : RepositoryBase<Contato>, IRepositoryContato
{
private readonly SqlContext sqlContext;
public RepositoryContato(SqlContext sq... |
# region Includes
using System;
using System.Collections.Generic;
# endregion
// ReSharper disable UnusedMember.Global
namespace RobX.Library.Robot
{
/// <summary>
/// Class that implements a queue for maintaining robot commands.
/// </summary>
public class CommandQueue
{
# region Privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OverloadingOperators
{
class SixthEx
{
private int number;
public SixthEx( int number)
{
this.number = number;
}
public static bool... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PatrolPositions : MonoBehaviour {
public static PatrolPositions _Instance;
public List<Transform> m_PatrolPositions;
private void Awake()
{
if (_Instance == null)
{
_Instance = thi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SA
{
[CreateAssetMenu(menuName ="Turns/Battle Phase Player"]
public class BattlePhase : Phase
{
public override bool IsComplete()
{
if (forceExit)
{
forceExit =... |
namespace Mediator
{
public abstract class Mediador
{
public abstract void Enviar(string mensagem, IColega colega);
}
}
|
using CarManageSystem.helper;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
namespace CarManageSystem.handler
{
/// <summary>
/// GetDrivers 的摘要说明
/// </summary>
public class GetDrivers : IHttpHandler,IRe... |
using Apache.Shiro.Subject;
namespace Apache.Shiro.Authc
{
public interface IAuthenticationInfo
{
object Credentials
{
get;
}
IPrincipalCollection Principals
{
get;
}
}
}
|
using System;
using static System.Console;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpLight
{
class WorkWithString
{
public static void Run()
{
WriteLine("Hi! I need some information about you.");
Write("That is your name? - ");
... |
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.Data.SqlClient;
using Cinema.DAO;
namespace Cinema
{
public partial class fStaff : Form... |
using System.Collections.Generic;
using ElectronicInvoice.Produce.Helper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ElectronicInvoiceTests.Infrastructure.Helper
{
[TestClass()]
public class ParameterHelperTests
{
private Dictionary<string, string> dict;
[TestInitialize... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class FriendInformation : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["user"] == null || Session["friend... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;
namespace GETMOO
{
class Program
{
static void Main(string[] args)
{
string strCode = ""; //影片代码
... |
namespace TeamBuilder.Client
{
using Data;
using System;
using System.Linq;
public class Startup
{
static void Main(string[] args)
{
//Utility.InitDB();
Console.WriteLine("You can:");
Console.WriteLine();
Console.WriteLine($"[1]. Reg... |
namespace Battleships.Ships
{
using System;
public class Yacht : Ship
{
private string name;
private double lengthInMeters;
private double volume;
public Yacht(string name, double lengthInMeters, double volume) : base(name, lengthInMeters, volume)
{
}
}... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DA.Helpers;
namespace DA
{
partial class Pages
{
public ICollection<Pages> Children { get; set; }
/*public static ICollect... |
using System;
using System.IO;
//
using ComLib.log;
namespace ComLib
{
/// <summary>
/// ファイル操作
/// </summary>
public class FileControl
{
#region メンバ変数
/// <summary>
/// ロガー
/// </summary>
private ILogger vMlog;
#endregion
#region コンストラクタ
/// <summary>
/// コンストラクタ
/// </summary>
/// <param... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Object = UnityEngine.Object;
using Random = UnityEngine.Random;
public class RopeController : MonoBehaviour
{
public LayerMask ropeAnchorLayer;
public LayerMask rockLayer;
public float rockCheckRadius = 0.3f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clase
{
class Program
{
static void Main(string[] args)
{
Vehicul v1 = new Vehicul("VW", "Passat", 2002,
new Motor(4, 170, Combustibil.Dies... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Ports;
using AxisPosCore.EnvironmentObjects;
using KartObjects;
namespace AxisPosCore
{
/// <summary>
/// Предоставляет методы для считывания введённых пользователем штрихкодов через последовательный порт.
... |
using ClaimDi.DataAccess;
using ClaimDi.Intergration.Interface;
using ClaimDi.Intergration.K4KObject;
using log4net;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Web.Script.Serialization;
namespace ClaimDi.Intergration.InsurerLogic
{
public class De... |
using Common.Enums;
using Common.Model;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitTests.TestCommon
{
[TestFixture]
public class TestModel
{
[Test]
public void TestGeneratorConstru... |
using System.ServiceModel;
using Phenix.Core.Dictionary;
using Phenix.Core.Mapping;
namespace Phenix.Services.Contract.Wcf
{
[ServiceContract]
public interface IDataDictionary
{
[OperationContract]
[UseNetDataContract]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UseP... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.