text stringlengths 13 6.01M |
|---|
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Edge;
using OpenQA.Selenium.PhantomJS;
using System.Web.Configuration;
using OpenQA.Selenium.Remote;
using System.Threading;
using BoDi;
namespace FC_TestFramework.Core.Set... |
using Project.Interface;
using Project.Presenter;
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 Project.View
{
public partial class Sign... |
using System;
using Alura.LeilaoOnline.Core;
namespace Alura.LeilaoOnline.ConsoleApp
{
class Program
{
public static void UmLance() {
//Arrange
var modalidade = new MaiorValor();
var leilao = new Leilao("Van Gogh", modalidade);
var fulano = ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using ApartmentApps.Api.Modules;
using ApartmentApps.Portal.Controllers;
namespace ApartmentApps.Api.ViewModels
{
[DisplayName("Messages")]
public class MessageViewModel : BaseViewModel
{
public string Body { get; set; }
... |
namespace Application.Views.Home
{
using System;
using System.Text;
using Common;
using Common.Utilities;
using Models.ViewModels;
using SimpleMVC.Interfaces.Generic;
public class Details : IRenderable<DetailsGameViewModel>
{
private readonly string header = Constants.HeaderHtm... |
// 文 件 名:Project.cs
// 功能描述:自动运行实体
// 修改描述:
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PlanMGMT.Model
{
public class Project
{
/// <summary>
/// 项目ID
... |
//==============================================================================
// Copyright (c) 2012-2020 Fiats Inc. All rights reserved.
// https://www.fiats.asia/
//
using System;
using System.Collections.Generic;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace Financ... |
using Core.Interface;
using Core.Model;
using System.Collections.Generic;
using System.Linq;
namespace Core.Controller
{
public class AchievementHandle : IAchievement
{
public bool AddInfo(Model.Info info)
{
Info origen = DataHelper<Entities, Info>.FindBy(t => t.UserId.Equals(info.... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Journey.WebApp.Data;
using Microsoft.AspNetCore.Authorization;
using System.Net.Http;
using Journey.WebApp.Models;
namespace Journey.WebApp.Views.Home
{
public class TravelerC... |
using UnityEngine;
using Npc;
using System.Collections;
using System.Collections.Generic;
public class NpcCore : MonoBehaviour
{
// base components
[HideInInspector] public Transform myTransform;
[HideInInspector] public GameObject myGameObject;
// spawner
[HideInInspector] public NpcSpawner spaw... |
using NSchedule.Entities;
using NSchedule.ViewModels;
using NSchedule.Views;
using Plugin.Toast;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace NSchedule.Views
{
... |
using ServiceStack.DataAnnotations;
using System;
namespace LeadChina.CCDMonitor.Infrastrue.Entity
{
[Serializable]
[Alias("bas_loc")]
public class LocEntity
{
[Alias("loc_no")]
public string LocNo { get; set; }
[Alias("loc_name")]
public string LocName { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TP.Entities
{
[Table("Reports")]
public class ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sqo;
namespace siaqodatabase
{
class Program
{
static void Main(string[] args)
{
var dbPath = Path.Combine(Path.GetDirectoryName(Environment.Ge... |
using System;
using System.ComponentModel.DataAnnotations;
using DashBoard.Data.Enums;
namespace DashBoard.Data.Entities
{
public class User
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Username { get; set... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using DistCWebSite.Core.Entities;
using System.Web.Http;
using DistCWebSite.Infrastructure;
namespace DistCWebSite.Controllers
{
public class DictionaryController : ApiController
{
/// <summary>
/// 根据类型获... |
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;
using VendingMachine.Domain.Business;
using VendingMachine.Domain.Models;
namespace Ven... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using RWCustom;
using Rainbow.Enum;
namespace Rainbow.CreatureAddition
{
public class SmallCentiwingAI : ArtificialIntelligence, IUseARelationshipTracker
{
public SmallCentiwingAI(AbstractCreature ... |
/*/
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using System;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Builders;
using System.Collections.Generic;
namespace desafio.connection {
public class Connection{
MongoClient _client;
MongoServer _server;
MongoDataba... |
using System;
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
[Migration(201304041154)]
public class RelaxCareerNotNulls : Migration
{
public override void Down()
{
// need to drop and recreate indexes
//Alter.Column("OrganizationID").OnTable("PRF... |
namespace TripDestination.Web.MVC.Areas.Admin.Controllers
{
using System.Web.Mvc;
using Kendo.Mvc.Extensions;
using Kendo.Mvc.UI;
using TripDestination.Services.Data.Contracts;
using TripDestination.Common.Infrastructure.Mapping;
using TripDestination.Web.MVC.Areas.Admin.ViewModels;
using T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace capacited_facility_location_problem
{
class Program
{
static void Main(string[] args)
{
InputFacilityProblemDataReader dataReader = new InputFacilityProblem... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace vega3.Models
{
[Table("VechileFeatures")]
public class VehicleFeature
{
[Required]
public int Vehi... |
using Tomelt.Events;
namespace Tomelt.Environment {
public interface ITomeltShellEvents : IEventHandler {
void Activated();
void Terminating();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerAttack : MonoBehaviour {
Animator ani;
[SerializeField]
private ParticleSystem fire1;
[SerializeField]
private ParticleSystem fire2;
private int type;
//玩家攻击对象之所以放进列表是因为,有的招数技能攻打的是一个区域内的小兵,并不一定是一个
... |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System;
using Fbtc.Application.Interfaces;
using Fbtc.Domain.Entities;
namespace Fbtc.Api.Controllers
{
[RoutePrefix("api/Perfil")]
public class PerfilController : ApiController
{
private readonly ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChild.Gameplay.Objects
{
public class MaterialTime : IsolatedTime,IVisualBody, IVisualTime
{
[SerializeField]
[HideInInspector]
private MaterialTimeHandler m_handler;
private float m_delta... |
namespace Funding.Common.Constants
{
public class Account
{
public const string AdminName = "admin@admin.com";
public const string AdminPassword = "admin11";
public const string ProjectName = "Funding";
}
}
|
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HW2
{
public class GamesManager
{
public static List<Profile> profiles = new List<Profile>();
public static int countPr... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace _2018_07_02
{
class Program
{
static List<int> primes = new List<int>();
static void Main(string[] args)
{
Stopwatch sw = new Stopwatch();
Console.WriteLine("We are finding prim... |
using UnityEngine;
namespace Project.Game
{
public class BaseControls : MonoBehaviour
{
internal protected struct TouchV2
{
public Touch touch;
public bool availability;
public Vector2 origin;
public Vector2 Position { get { return touch.positio... |
using NUnit.Framework;
using Xamarin.UITest;
using Xamarin.UITests.POP.PageObjects;
namespace Xamarin.UITests.POP.Tests
{
[TestFixture(Platform.Android)]
[TestFixture(Platform.iOS)]
public class BaseTestFixture<T> where T : BasePageObject
{
protected IApp App => AppManager.App;
protecte... |
using Sirenix.OdinInspector.Editor;
using Sirenix.Utilities;
using UnityEngine;
namespace XNodeEditor.Odin
{
[DrawerPriority( 91, 0, 0 )]
public class DynamicNoDataNodePropertyPortDrawer<T> : OdinValueDrawer<T>
{
protected override bool CanDrawValueProperty( InspectorProperty property )
{
return property.C... |
using RecipesFinal.Data.Context;
using RecipesFinal.Data.Model;
using RecipesFinal.Data.Repository.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RecipesFinal.Data.Repository.Implementation
{
public class WeredaRepository:Repository<Woreda>, I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using System.IO;
namespace Les8Exercise5
{
public class Student
{
//public string lastName;
//public string firstName;
//public string uni... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ismetles
{
class Program
{
static Random rnd = new Random();
static int[] SzamTomb = new int[60];
static void Main(string[] args... |
using System;
namespace Crystal.Plot2D.Charts
{
public interface IDateTimeTicksStrategy
{
DifferenceIn GetDifference(TimeSpan span);
bool TryGetLowerDiff(DifferenceIn diff, out DifferenceIn lowerDiff);
bool TryGetBiggerDiff(DifferenceIn diff, out DifferenceIn biggerDiff);
}
}
|
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;
public partial class View_WSDashBoard : System.Web.UI.Page
{
static string Condition = "";
DashBoard d = new DashBoard();
pro... |
namespace Memento
{
// This editor exposes API for any app to apply filter, change brightness etc for a photo
// The editor also supports undo
public class PhotoEditor
{
private Photo _photo;
public PhotoEditor(Photo photo)
{
_photo = photo;
}
// Edi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace ClaimDi.Intergration.K4KObject
{
#region K4KReauest
[XmlRoot(ElementName = "data")]
[DataContract]
public c... |
namespace GraphicalEditorServer.DTO
{
public class DoctorDTO
{
public string Name { get; set; }
public string Surname { get; set; }
public string Jmbg { get; set; }
public DoctorDTO() { }
public DoctorDTO(string name, string surname, string jmbg)
{
... |
using BinaryTree.Models;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace BinaryTree
{
public class Tree<T> : ICollection<Node<T>> where T : IComparable
{
private int _count;
private Node<T> _rootNode;
public int Count => _count;
public bool IsReadOnly ... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using tellick_admin.Repository;
namespace tellick_admin.Controllers {
[Authorize]
[Route("api/[controller]")]
public class LogController : Controller {
privat... |
using System;
using Net01_1.Inerface;
namespace Net01_1.Model
{
class VideoMaterial:BaseTrainingMaterial, IVersionable, ICloneable
{
public Uri VideoUri { get; set; }
public Uri HeadBandUri { get; set; }
public VideoFormat VideoFormat { get; set; }
public Byte[] Version { get; ... |
/// <summary>
/// 2015
/// Ben Redahan, redahanb@gmail.com
/// Project: Spectral - The Silicon Domain (Unity)
/// GameState component: handles the GameState for transitions between scenes, Saving and Loading savefiles
/// </summary>
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using ... |
namespace gView.Framework.Symbology
{
public interface IFontColor
{
GraphicsEngine.ArgbColor FontColor { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HASRental.Models
{
public class Proizvodjac
{
public int Id { get; set; }
public string Naziv { get; set; }
}
}
|
using AkCore.E2ETests.Enums;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AkCore.E2ETests
{
[TestClass]
public class LoginTests : E2ETestsBase
{
private static TestContext _context;
[ClassInitialize]
public static void TestClassInitialize(TestContext context)
... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using RabbitMQ.Client.Core.DependencyInjection;
using VetClinicPublic.Web.Interfaces;
using VetClinicPublic.Web.Services;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG.Common.Effects
{
/// <summary>
/// Effect of the CALL action. Invokes a method in the target code class.
/// </summary>
public class CallEffect : Effect
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightingBook.Tests.Api.Dto.Dto.GetFinalItinerary.Response.Search.Passenger
{
public class PersonalMembership
{
public string MembershipNumber { get; set; }
public strin... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
namespace CursoCsharp.Colecoes
{
class ColecoesQueue
{
public static void Executar()
{
var fila = new Queue<string>(); // esse usa o using System.Collections.Generic;
fila.Enque... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Mars.Helpers
{
class ScenarioContextData
{
public Int64 intNum { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
public class ItemController : MonoBehaviour
{
void OnTriggerEnter2D(Collider2D c2d_)
{
Collider2D c2d = this.gameObject.GetComponent<Collider2D>();
if (c2d && c2d.isTrigger)
{
//GlobalRef.s_gr.PlaySound(ESound.SOUND_ITEM_COLLISI... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Acquiring.Sdk {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.acquiring.sdk']/class[@name='ThreeDsData']"
[global::Android.Runtime.Register ("ru/tinkoff/acquiring/sdk/ThreeDsData", DoNotGenerate... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BE;
using System.Xml.Linq;
namespace DAL
{
internal class Dal_XML : IDal
{
public int addMother(Mother m)
{
DS.DatasourceXML.Mothers.Add(m.toXML());
... |
using NGeoNames.Entities;
namespace NGeoNames.Entities
{
/// <summary>
/// Provides geolocation related extension methods.
/// </summary>
public static class GeoExtensionMethods
{
/// <summary>
/// Calculates the distance from this instance to destination location (in meters).
... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace SP_Bewegungserkennung
{
/**
* Class point, which describes an 2-dimentional vector, and it's operations
*/
[DataContract]
public class point : IComparable<point>, IEquatable<point>
{
[DataM... |
// <copyright file="ScriptLoad.cs" company="Morten Larsen">
// Copyright (c) Morten Larsen. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// </copyright>
namespace AspNetWebpack.AssetHelpers
{
/// <summary>
/// Defines how to load... |
namespace FeriaVirtual.Infrastructure.Persistence.OracleContext.Configuration
{
sealed class EventStoreConfig
: DBConfig, IDBConfig
{
public string GetConnectionString { get; }
public string GetDatabaseName { get; }
private EventStoreConfig()
: base()
{
... |
public class Solution {
public bool IsPalindrome(string s) {
int left = 0, right = s.Length - 1;
while (left < right) {
if (!IsAlphaNumeric(s[left])) {
left ++;
continue;
}
if (!IsAlphaNumeric(s[right])) {
right --;
... |
namespace TextFilter
{
using System;
public class Startup
{
public static void Main(string[] args)
{
Console.WriteLine(Execute());
}
private static string Execute()
{
var args = Console.ReadLine()
.Split(new[] { ' ', ',' }, S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.RoleAuthorize
{
public class AccessControlBusiness : BaseProvider<AccessControl>
{
public static AccessControlBusiness Instance
{
get { return new AccessControlBusiness(); }
... |
using CsvHelper;
using Data.ViewModel;
using Repository.ImportData.Extensions;
using System;
using System.IO;
using System.Text;
namespace Repository.ImportData.SeedingData
{
public class ScoreDetailImportStrategy : IScoreImportStrategy
{
public void SeedToContext(Stream stream, SeedingContext context, int year)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using TheMapToScrum.Back.DAL.Entities;
using TheMapToScrum.Back.DTO;
namespace TheMapToScrum.Back.BLL
{
internal static class MapUserStoryContentDTO
{
internal static UserStoryDTO ToDto(UserStory objet)
{
UserStoryD... |
namespace Alabo.Framework.Core.WebUis.Services {
public interface IAutoImageService {
}
} |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitirmeParsing.GenreParser
{
public class GenreParserAlperen : ParserBase<Movie>
{
// Action Adventure Adult Anim... |
using UnityEngine;
public class Player : MonoBehaviour {
public Transform planetTransform; //惑星objectをInspectorから代入
float playerPosFix;
float playerPosJ;
void Start() {
//惑星の大きさに合わせて位置を補正する変数
playerPosFix = planetTransform.localScale.x / 2 + 0.5f;
}
void Update() {
//AS←→入力で角度を変更
transform.Rot... |
using Crypteron;
using System;
using System.Collections.Generic;
using System.Text;
namespace eMAM.Data.Models
{
public class Email
{
public int Id { get; set; }
public string GmailIdNumber { get; set; }
public int StatusId { get; set; }
public Status Status { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Query.SyncObject;
using EBS.Query.DTO;
namespace EBS.Query
{
/// <summary>
/// Pos 数据同步查询
/// </summary>
public interface IPosSyncQuery
{
IEnumerable<AccountSync> Quer... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DAL.Entities
{
public class UserBankAccount
{
public int Id { get; set; }
public string AppUserId { get; set; }
public string Bank { get; set; }
public string MerchantId { get; set; }
public st... |
/*
This source file is under MIT License (MIT)
Copyright (c) 2019 Ian Schlarman
https://opensource.org/licenses/MIT
*/
namespace REvE.Configuration
{
/// <summary>
/// Contract for a type that can provide a generic Configuration Model.
/// </summary>
/// <typeparam name="TResult">The Configuration Mod... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Proj... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Clutter : MonoBehaviour
{
[SerializeField]
private Transform[] clutter;
protected void Awake()
{
int idx = Random.Range(0, clutter.Length);
Instantiate(clutter[idx], transform.position, transfo... |
using System;
namespace Algorithms.Lib.Interfaces
{
//public struct PairNode
//{
// public PairNode(INode node, bool isX)
// {
// Node = node ?? throw new ArgumentNullException(nameof(node));
// IsX = isX;
// }
// public INode Node { get; }
// public b... |
using System;
using System.Threading;
using System.Windows.Threading;
namespace BearSubPlayer
{
public static class XAMLExtensions
{
public static void InvokeIfNeeded(this DispatcherObject dispatcher, Action action)
{
if (Thread.CurrentThread != dispatcher.Dispatcher.Thread)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace shipment
{
class Program
{
static void Main(string[] args)
{
Shipment ship = new Shipment();
ship.addPkg(new Package("auto",15,2000,"1A"));
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CarritoCompras.Modelo
{
public class Departamento
{
public string nombredepartamento { get; set; }
}
}
|
using System;
using System.Runtime.Serialization;
namespace CODE.Framework.Core.Exceptions
{
/// <summary>
/// This exception is thrown whenever part of Milos requires a configuration setting that is not present.
/// </summary>
[Serializable]
public class MissingConfigurationSettingException : Exc... |
using Senparc.CO2NET.Extensions;
using Senparc.Core.Enums;
using Senparc.Core.Utility;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
//using WURFL;
namespace Senparc.Core.Models
{
#region 全局
/// <summary>
/// 分页
/// </summary>
/// <typeparam name="T"></typep... |
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the root of the repo.
/*
This file configures auth for the add-in.
*/
using Owin;
using System.IdentityModel.Tokens;
using System.Configuration;
using Microsoft.Owin.Security.OAuth;
using Microsoft.Owin.Securit... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AppointmentManagement.Entities.Concrete.Procedure
{
public class uspGetOrderAsnLineToOrderHeaderId
{
public Guid OrderAsnLineID { get; set; }
public Guid OrderLineID { get; set; }
public string OrderNumber { g... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TimeTracker.Infrastructure.Entities;
namespace TimeTracker.Infrastructure.Mappings
{
public cla... |
using Microsoft.EntityFrameworkCore;
using server.Models.Domain;
namespace server.Models.Database
{
public class MySqlDbContext : DbContext
{
public MySqlDbContext(DbContextOptions<MySqlDbContext> options) : base(options)
{
Database.EnsureCreated();
}
public DbSet<P... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Shipwreck.TypeScriptModels.Decompiler.Transformations.Members
{
[TestClass]
public class FieldDeclarationTest
{
private class TestClass
{
#pragma warning disable CS0649
protected int _IntegerField;
#pragma warning re... |
// <author>Edson L. dela Torre</author>
// <email>edsondt@yahoo.com</email>
using IpswichWeather.Entities.WUnderground;
using System;
namespace IpswichWeather.Entities.Ipswitch
{
/// <summary>
/// This takes in a CurrentObservation object and extracts the needed data to be displayed to the console.
/// I... |
using System;
using Isop.Client.Transfer;
namespace Isop.Gui.ViewModels
{
public interface IReceiveResult
{
string Result { get; set; }
IErrorMessage[] Errors { get; set; }
}
}
|
using System.Web.Services.Protocols;
namespace com.Sconit.WebService
{
public class Authentication : SoapHeader
{
public string UserName { get; set; }
public string Password { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tests.Data.Oberon
{
public enum DataFileType
{
CSV,
Excel
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kadastr.Data.Model
{
/// <summary>
/// Пункт геодезической сети
/// </summary>
class GeodesicBase
{
public int Id { get; set; }
/// <summary>
/// На... |
using System;
using System.Threading.Tasks;
namespace tellick_admin.Cli {
class Program {
static void Main(string[] args) {
TpConfigReaderWriter tpConfigReader = new TpConfigReaderWriter();
TpConfig tpConfig = tpConfigReader.TpConfig;
if (String.IsNullOrEmpty(tpConfig.O... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using WebApiBluesea.Utils;
namespace WebApiBluesea.Controllers
{
public class ReceiveMOController : ApiController
{
// POST api/receivem... |
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeneralResources.XUnitExample.CollectionTests
{
public class Tests
{
[Fact]
p... |
using System.Collections.Generic;
using System.Linq;
namespace Ejercicio
{
public class Raven : Titan
{
List<string> pensamientos;
int cantidadDePorciones;
int felicidad;
public Raven(int tristeza) : base(tristeza)
{
this.pensamientos = new List<string>();
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ScriptKit
{
public class JsWeakReference
{
internal JsWeakReference(IntPtr value)
{
this.Value = value;
}
private IntPtr Value { get; set; }
public JsObject Target
{
... |
using UnityEngine;
using UnityEditor;
using System;
public class PhaseModule : Module
{
public float VelocityThreshold = 0.2f;
public float PositionThreshold = 0.2f;
public float Window = 0.5f;
public bool ShowVelocities = true;
public bool ShowPositions = true;
public bool ShowKeys = true;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SomeTechie.RoundRobinScheduler
{
using System.Windows.Forms;
public class Paintable : Control
{
public Paintable()
{
this.DoubleBuffered = true;
// or
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShowMeDateBusiness
{
public class ShowMeDateBusiness
{
public string GetDate()
{
ShowMeDateDataLayer.ShowMeDateDataLayer date = new ShowMeDateDataLayer.Show... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.ComponentModel;
namespace KartSystem
{
public class AXLAccount_Movement : Entity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
... |
using System.Collections.Generic;
using System.Data.Common;
using Phenix.Core.Mapping;
namespace Phenix.Business.Core
{
internal interface IRefinedlyObject : IRefinedly
{
#region 方法
void FillAggregateValues(FieldAggregateMapInfo fieldAggregateMapInfo);
bool DeleteSelf(DbTransaction transaction, ref ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.