text stringlengths 13 6.01M |
|---|
namespace Cs_Notas.Infra.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Inicial : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Usuario",
c => new
{
... |
using System.Threading.Tasks;
using ContactsDirectory.Domain.Models;
using MaterialDesignThemes.Wpf;
namespace ContactsDirectory.Ui.ViewModels
{
public class EditContactViewModel:ContactViewModelBase
{
public EditContactViewModel(Contact contact)
{
Contact = contact;
Ti... |
using TexturePacker.Editor.Publishing;
using UnityEditor;
using UnityEngine;
namespace TexturePacker.Editor.Windows
{
public class PublishSettingsPreferences : EditorWindow
{
[PreferenceItem("Texture packer")]
public static void DrawPublishSettingsPreferences()
{
EditorGUILayout.LabelField("Publish setting... |
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 suspliers
{
public partial class Form1 : Form
{
Model1 db = new ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo
{
public class Rootobject
{
public List<Station> stations { get; set; }
}
public class Station
{
public string id { get; set; }
public string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Application.DTO
{
/// <summary>
/// 创建班次消息
/// </summary>
public class CreatedWorkScheduleMessage
{
public int Id { get; set; }
public int S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ORM.ResourceParameters
{
public class ParentParameters
{
public string searchQuery { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EventDepartmentManager
{
public class Manager
{
public string _lastName;
public string LastName
{
get { return _lastName; }
se... |
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.Windows.Media.Imaging;... |
using System;
using Backend.DataAccess;
namespace Backend.Services
{
public class Service : IDisposable
{
protected Service()
{
DataContext = new DataContext();
}
~Service()
{
Dispose(false);
}
protected DataContext DataContext ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System.ComponentModel.DataAnnotations;
using SocialWorkout.Models;
namespace SocialWorkout.Models
{
public class User
{
[BsonRepresentation(BsonTy... |
namespace SFA.DAS.ProviderCommitments.Web.Models.Cohort
{
public class ReviewApprenticeDetailsForExistingCohort
{
public string Name { get; set; }
public string TrainingCourse { get; set; }
public string ULN { get; set; }
public string DateOfBirth { get; set; }
public st... |
public enum EnumZMoveDirection {
NEITHER = 0,
UP = 1,
DOWN = 2,
BOTH = 3,
}
|
using System;
using System.Linq;
using System.Threading.Tasks;
using FrontDesk.Infrastructure.Data;
using UnitTests.Builders;
using Xunit;
namespace IntegrationTests.AppointmentTests
{
public class Appointment_EfRepositoryCreate: BaseEfRepoTestFixture
{
private readonly EfRepository _repository;
public A... |
using MySql.Data.MySqlClient;
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 Final
{
public partial class loginForm : Form
{
... |
using System;
using O2.ToolKit.Core.Commands;
namespace PFRCenterGlobal.ViewModels.Interfaces
{
internal interface IMainItem
{
string Title { get; set; }
string UrlSite { get; set; }
string Content { get; set; }
DateTime OpenDate { get; set; }
IAsyncCommand OpenUrlComma... |
using DataImporter.Business;
using SimpleInjector;
using SimpleInjector.Integration.WebApi;
using System.Web.Http;
namespace DataImporterApi.Web
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
InitializeIocContainer();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartSystem
{
public class TradeReportSixSection : Entity
{
[DBIgnoreReadParam]
[DBIgnoreAutoGenerateParam]
public override string FriendlyName... |
using System;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
public class Tutorial : MonoBehaviour
{
public bool OpenBrowser = true;
public Text PickupText;
public GameObject Reminder;
static bool OpenOnce = true;
int mNumPickups = 0;
// exposed event fo... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using RunPath.Models;
using RunPath.HttpClients;
using System.Linq;
namespace RunPath.Services
{
public interface IPhotoService
{
Task<RunPathApiResponse<IEnumerable<RunPathAlbum>>> GetRunPathPhotos(int? userId = null);
}... |
using Common.DbTools;
using Common.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LokalniKontroler
{
public static class Data
{
public static DbGenerator Dbg = new DbGenerator();
public static DbLocalControll... |
using System;
using DelftTools.Hydro.CrossSections.DataSets;
using DelftTools.TestUtils;
using NUnit.Framework;
namespace DelftTools.Tests.Hydo.DataSets
{
[TestFixture]
public class FastZWDataTableTest
{
readonly Random random = new Random();
[Test]
[Category(TestCategory.... |
using System;
using Xamarin.Forms;
using Kuromori;
namespace Kuromori
{
public class MenuTableView : TableView
{
}
}
|
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Configuration;
namespace CodeCampAPI.Controllers
{
public abstract class BaseController : Controller
{
public const string URLHELPER = "URLHELPER";
public override void OnActionExecuting(Action... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess.Object
{
public class AccidentLocationSearch
{
public AccidentLocationSearch()
{
AccidentLocation = new List<AccidentLocation>();
... |
using UnityEngine;
/// <summary>
/// This class is used for collision between Player and Angry Customers' Projectiles in GameLevel and Tutorial Scenes.
/// This class is also used for easy access to Main Camera(Child) in GameLevel and Tutorial Scenes.
///
/// Can be found attached in Player.
/// </summary>
public cl... |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//! 스프라이트
//[RequireComponent(typeof(SpriteRenderer))]
public class CSprite : MonoBehaviour {
private SpriteRenderer _spriteRenderer = null;
//! 초기화
public void Awake()
{
_spriteRenderer = Function.AddComponent<SpriteRenderer>(this... |
using Framework.Core.Common;
using Framework.Core.Config;
using Tests.Pages.Oberon.ManageUsers;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.User
{
public class UserCreate :UserBasePage
{
#region Page Objects
private static string _u... |
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 Negocio;
using Globales;
namespace AerolineaFrba.Registro_de_Usuario
{
public partial class fr... |
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace UnityChan
{
public class FaceUpdate2 : MonoBehaviour
{
public SkinnedMeshRenderer BlwDef;
public SkinnedMeshRenderer EyeDef;
public SkinnedMeshRenderer ElDef;
public SkinnedMeshRenderer MthDef;
... |
using System;
using System.Net;
using System.Web;
using System.Threading;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
using System.Globalization;
using System.Windows;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
// Please see https://count.ly/resources/ref... |
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public abstract class VlcEventManagerInstance : InteropObjectInstance
{
private readonly VlcManager myManager;
internal VlcEventManagerInstance(VlcManager manager, IntPtr pointer) : base(pointer)
... |
using System;
namespace CIS016_2.Week2.Exercise_1
{
public static class VolumeExercise
{
public static void RunExercise()
{
Console.Write("Enter diameter of cylinder: ");
var diameter = Convert.ToDouble(Console.ReadLine());
Console.WriteLine();
... |
using LoowooTech.Stock.Common;
using LoowooTech.Stock.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Tool
{
/// <summary>
/// 作用:对质检路径进行命名规范、行政区代码、行政区名称是否一致
/// 作者:汪建龙
/// 编写时间:2017年5月2日14:45:17
/// </summar... |
using BitirmeParsing.DBConnection;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace BitirmeParsing.SoundTrackP... |
namespace NetStash.Core.Log
{
public enum NetStashLogLevel
{
/// <summary>
/// Qualquer coisa e tudo que você pode querer saber sobre um bloco de código em execução.
/// </summary>
Verbose = 0,
/// <summary>
/// Eventos internos do sistema que não são necessari... |
using Framework.Core.Common;
using Tests.Pages.Van.Main.Common;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Van.Main.VirtualPhoneBankPages
{
public class CanvasStatusesNextRoundPage : VanBasePage
{
#region Page Element Declarations
public... |
using lsc.Model.Enume;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace lsc.Model
{
/// <summary>
/// 企业客户
/// </summary>
[Serializable]
public class EnterCustomer
{
[Key]
public int ID { get; set; }
... |
namespace Odd_Lines
{
using System;
using System.IO;
class Program
{
static void Main()
{
var lines = File.ReadAllLines("../../../Input.txt");
var outputFile = File.CreateText("../../../Output.txt");
for (int i = 0; i < lines.Length; i++)
... |
using System;
using System.Data;
using iTextSharp.text.pdf;
using iTextSharp.text;
using System.IO;
namespace CoVID
{
class PdfConverter : IConverter
{
FileStream fs;
Document document;
PdfWriter writer;
Table dataTable;
String path;
String header... |
using UnityEngine;
using UnityEngine.AI;
using System.Collections;
public class Player : MonoBehaviour
{
public NavMeshAgent _agent;
private Animator _animator;
public Vector3 _target;
[SerializeField] GameObject _coinPrefab;
[SerializeField] AudioClip _coinSoundEffect;
private bool _hasThrown;... |
using System;
class PointInRectangle
{
static void Main()
{
double rectangleX1 = double.Parse(Console.ReadLine());
double rectangleY1 = double.Parse(Console.ReadLine());
double rectangleX2 = double.Parse(Console.ReadLine());
double rectangleY2 = double.Parse(Console.ReadLine(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CloudSalesEntity.Manage;
using CloudSalesDAL.Manage;
using System.Data;
namespace CloudSalesBusiness.Manage
{
public class ModulesProductBusiness
{
#region 增
public static... |
using Otiport.API.Data.Entities.Patient;
using System.ComponentModel.DataAnnotations.Schema;
namespace Otiport.API.Data.Entities.ProfileItem {
[Table ("ProfileItemsToPatients")]
public class ProfileItemToPatientEntity : BaseEntity<int> {
public int ProfileItemId { get; set; }
public int Patie... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Pobs.Web.Migrations
{
public partial class CreateNotificationsForQuestion : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(@"
CREATE PROCEDURE CreateNotificationsFor... |
using System.Collections.Generic;
using Xunit;
#nullable enable
namespace NW.ManyQueues.Test {
public interface IPluginStep1: IPlugin {
public bool Step(int number);
}
public class PluginTest {
readonly static IManager M = new Manager();
readonly static ILog LOG = new LogFile();
... |
using System;
namespace Pe.Stracon.Politicas.Infraestructura.CommandModel.Base
{
/// <summary>
/// Clase base para las entidades
/// </summary>
/// <remarks>
/// Creación: GMD 20150107 <br />
/// Modificación: <br />
/// </remarks>
public abstract class Entity
{
... |
using System;
using Compiler.FrontendPart;
namespace Compiler.Exceptions
{
public class UnexpectedTokenException: Exception
{
public UnexpectedTokenException(string message) : base(message)
{
Message = message;
}
public UnexpectedTokenException(int line, int positi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Library.DataProcessing.Implementation;
using Library.DataStorage.EF;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Depend... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace _06.SortStringsFile
{
class SortStrings
{
static List<string> strArr;
static string result;
static void Main()
{
string pa... |
namespace Sales.Views
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Plugin.Geolocator;
using Sales.Common.Models;
using Sales.Helpers;
using Sales.Services;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
public part... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OurClassLibrary
{
public class clsSaleItem
{
//private data members for the class
private Int32 itemID;
private decimal itemPrice;
private Int32 quant... |
namespace Non_Digit_Count
{
using System;
using System.Text.RegularExpressions;
public class Startup
{
public static void Main(string[] args)
{
Console.WriteLine(Execute());
}
private static string Execute()
{
var input = Console.ReadLin... |
using System;
using System.Security;
using System.Windows.Forms;
using Windows.Core.BaseForms;
using Windows.Core.DxExtensions;
using DevExpress.XtraBars;
using DevExpress.XtraTreeList;
using PhuLiNet.Plugin;
using PhuLiNet.Plugin.Contracts;
using PhuLiNet.Plugin.Menu;
using PhuLiNet.Window.MainApplication.E... |
using DChild.Gameplay;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public abstract class MoveHandler
{
[SerializeField]
protected float m_maxSpeed;
[SerializeField]
protected float m_acceleration;
[SerializeField]
protected float m_decce... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class MenuScript : MonoBehaviour {
public void OnStartPressed(){
UnityEngine.SceneManagement.SceneManager.LoadScene ("game");
}
public void OnCreditsPressed(){
UnityEngine.SceneManagement.SceneManager.LoadScene("credi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class collisionShip : MonoBehaviour
{
void OnTriggerEnter2D(Collider2D collider)
{
if (collider.tag == "asteroid")
{
Debug.Log("Le vaisseau a rencontrer "+colli... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
namespace PROG1_PROYECTO_FINAL
{
class S_Cliente : Cliente
{
private Connection conexion = new Connection();
SqlDataReader leer;
... |
using System;
using System.Collections.Generic;
using CSConsoleRL.Enums;
namespace CSConsoleRL.Events
{
public class MoveTargetingCursorEvent : IGameEvent
{
public string EventName { get { return "MoveTargetingCursor"; } }
public List<object> EventParams { get; set; }
public MoveTargetingCursorEvent(... |
using System;
using CIS016_2.Week2.Exercise_3.Base;
namespace CIS016_2.Week2.Exercise_3.Clocks
{
class TokyoClock: BaseClock
{
public TokyoClock()
{
this.TimeDifference = TimeDifferenceEnum.Tokyo;
}
public override DateTime GeTime()
{
... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
using FiiiChain.Consensus;
using FiiiChain.Data;
using FiiiChain.Data.Accesses;
using FiiiChain.DataAgent;
using FiiiChain.Entities;
us... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Parking_Lot_Project
{
public partial class addSpecForm : Form
{
... |
using BusVenta;
using DatVentas;
using EntVenta;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Management;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VentasD1002
{
pu... |
using System;
using System.IO;
using ServiceStack.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Aquamonix.Mobile.Lib.Environment;
namespace Aquamonix.Mobile.Lib.Utilities
{
/// <summary>
/// Interface for serializing/deserializing JSON.
/// </summary>
public interface IJsonUtil... |
namespace DataAccess.SampleDataBase
{
public class SampleAspNetUsers
{
public System.Guid Id { get; set; }
public string NickName { get; set; }
public string JobTitle { get; set; }
public string StaffNo { get; set; }
public System.DateTime LastModifyTime { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace ConsoleVendingMachine
{
public class VendingMachine
{
public decimal MoneyPaid { get; set; }
public decimal CurrentBalance { get; set; }
public... |
using System;
namespace NextteamBr
{
public class Game
{
public bool connected { get; set; }
public bool paused { get; set; }
public string time { get; set; }
public double timeScale { get; set; }
public string nextRestStopTime { get; set; }
public string versio... |
namespace CodeFirstFromDatabase
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public partial class Address
{
private ICollection<Employee> employees;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMetho... |
using Model.EF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PagedList;
namespace Model.DAO
{
public class UserDao
{
PinwhellDbContext db = null;
public UserDao()
{
db = new PinwhellDbContext();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;
namespace TwiBo.Components.Model
{
public class RetweetHistory : TableServiceEntity
{
public const string TableName = "RetweetHistory";
public static string GetPar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameIsOn.Classes
{
class Character
{
/// <summary>
/// Luokan sisällä toimivat ominaisuudet.
/// </summary>
private string name;
private static ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Week_3_InClass_Quiz
{
class Program
{
static void Main(string[] args)
{
try
{
Console.Write("Enter an integer between 0 and 255:... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using System.Linq;
using WxShop.Manager.Models;
using WxShop.Model;
namespace WxShop.Manager.Pages
{
public class LoginModel : PageModel
{
private readonly WxShopContext _context;
public LoginModel(WxShopContext contex... |
using System;
using KeepTeamAutotests;
using KeepTeamAutotests.Model;
using NUnit.Framework;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.IO;
using KeepTeamAutotests.AppLogic;
namespace KeepTeamTests
{
[TestFixture()]
public class EditAddressRegistationTests : InternalPageTests
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightingBook.Tests.Api.Dto.Dto.GetFinalItinerary.Response.Passenger.Car
{
public class Car
{
public Supplier Supplier { get; set; }
public Vehicle Vehicle { get; set; }... |
// 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.ObjectModel;
using Richasy.ExpanderEx.Uwp;
using Windows.UI.Xaml.Controls;
... |
using SolidPrinciples.SingleResponsibility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
System.ComponentModel.DataAnnotations;
namespace SolidPrinciples.S
{
class Userinfo
{
public void UserRegistration(string username... |
/*
* @Author: Atilla Tanrikulu
* @Date: 2018-04-16 10:10:45
* @Last Modified by: Atilla Tanrikulu
* @Last Modified time: 2018-04-16 10:10:45
*/
using System;
using System.Collections.Generic;
namespace SSO.UI
{
public class GrantsViewModel
{
public IEnumerable<GrantViewModel> Grants { get;... |
using Fbtc.Domain.Entities;
using System;
using System.Collections.Generic;
namespace Fbtc.Domain.Interfaces.Repositories
{
public interface IRecebimentoRepository
{
IEnumerable<Recebimento> GetAll(string objetivoPagamento);
Recebimento GetRecebimentoById(int id);
string DeleteById(i... |
using Microsoft.Azure.WebJobs.Host.Config;
using Microsoft.Extensions.DependencyInjection;
using Sfa.Poc.ResultsAndCertification.Functions.Application.Configuration;
using Sfa.Poc.ResultsAndCertification.Functions.Application.Interfaces;
using Sfa.Poc.ResultsAndCertification.Functions.Application.Repositories;
using S... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
namespace ex1
{[Serializable]
public class Complex
{
private double a, b;
public double A
... |
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Threading.Tasks;
namespace Com.Colin.WcfService
{
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IService1”。
[ServiceContract]
public interface IDemoService1
{
[OperationContract]
string GetData(int value);
... |
using System;
using System.Collections.Generic;
using Microsoft.Win32;
using System.Text;
using System.IO;
using System.Net;
using System.Linq;
using System.Media;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Text.RegularExpressions;
namespace AuroraDownloadPictu... |
using UnityEngine;
public class SidePositionChecker : MonoBehaviour {
[SerializeField] protected PositionChecker _leftChecker;
[SerializeField] protected PositionChecker _rightChecker;
public bool isValid => isLeftValid || isRightValid;
public bool isLeftValid => _leftChecker.isValid;
public bool isRightV... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using BuiltCodeWeb.Models;
using BuiltCodeWeb.Models.ViewModel;
using BuiltCodeWeb.Repository;
using BuiltCodeWeb.Repository.IRepository;
using Microsoft.AspNetCore.Mvc.Rend... |
namespace WinAppDriver.Handlers
{
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Automation;
using Newtonsoft.Json;
using WinAppDriver.UI;
[Route("POST", "/session/:sessionId/element")]
[Route("POST", "/session/:sessionId/element/:id/element")]
... |
using System;
using System.Diagnostics;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Cors;
using System.Web.Http.Description;
using System.Web.Script.Serialization;
using System.Data.SqlClient;
using System... |
using System;
using System.Linq;
using AutoService.Core.Contracts;
using AutoService.Core.Validator;
using AutoService.Models.Common.Contracts;
using AutoService.Models.Common.Models;
using AutoService.Models.Validator;
namespace AutoService.Core.Commands
{
public class IssueInvoices : ICommand
{
... |
using Framework2D.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace Framework2D.Extensions
{
//TODO: Move to engine.
class ParticleSystem
{
private Particle[] particlePool;
EmitterProperties emitterProperties;
public ParticleSystem(EmitterPr... |
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT
#if !UNIUM_DISABLE && ( DEVELOPMENT_BUILD || UNITY_EDITOR || UNIUM_ENABLE )
using gw.proto.utils;
using gw.gql;
namespace gw.unium
{
////////////////////////////////////////////////////////////////////////////////////////////////... |
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT
using System;
using System.Collections.Generic;
using gw.proto.http;
namespace gw.unium
{
////////////////////////////////////////////////////////////////////////////////////////////////////
public class Route
{
... |
using JMusic.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using JMusic.Helper;
using System.Diagnostics;
using System.Net.Http.Headers;
using System.Net;
namespace JMusic.Services
{
class T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Entidades.Vistas
{
public class vSL_LIQESTAMPILLAS
{
public decimal ID { get; set; }
public string AGE_REC { get; set; }
public Nullable<short> VIG_LIQ { get; set; }
public Nullable<... |
using System;
using System.Data;
using System.Linq;
using System.Linq.Dynamic;
using System.Linq.Dynamic.Core;
using System.Linq.Expressions;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Abp.UI;
using Abp.AutoMapper;
using Abp.Authorization;
using Abp.Linq... |
/*********************************************************************
* HErC (Hercules Dias Campos)
* Save The Date
*
* Laser Beahaviour
* Created: Feb 24, 2019
* Last Modified: Feb 24, 2019
*
* Inherits from MonoBehaviour
*
* - Tracks destructible objects when zoom is applied
* - Orients particle ... |
using System.Collections.Generic;
public abstract class CardInfoGatherer: WWWGatherer<Dictionary<string,string>>
{
public CardInfoGatherer(string baseUrl) : base(baseUrl) { }
abstract public ICollection<string> PotentialHits { get; }
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[Serializable]
public class MikeAsh_Fluid
{
public int N;
public float dt;
public float diff; // diffusion
public float visc; // Viscosity
public float[] s; // Density0
public float[] densit... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using BSMU_Schedule.Entities;
namespace BSMU_Schedule.Interfaces
{
public interface IScheduleRetrievingService
{
/// <summary>
///
/// </summary>
/// <param name="groupNumber"></pa... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace DA
{
public partial class Posts
{
public string tags { get; set; }
}
public class CategoryInPost_Checkup
{
public string N... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.