text stringlengths 13 6.01M |
|---|
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Xml.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Newtonsoft.Json;
using ND.FluentTaskScheduling.CrawlKeGui.getModifyAndRefundStipulates;
/// <summary>
///... |
using Project.DbConnect;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Model
{
class SettingsModel
{
Transactions trans = new Transactions();
public DataTable... |
namespace FamousQuoteQuiz.Data.ServiceModels
{
public class UserAnsweredQuizReview
{
public string Quiz { get; set; }
public string UserAnswer { get; set; }
public string CorrectAnswer { get; set; }
public string User { get; set; }
}
}
|
namespace RockPaperScissors.Basics
{
public enum Sign { Rock, Paper, Scissors }
public static class Signs
{
static readonly private bool?[,] _beats;
public static bool? Beats(Sign s1, Sign s2) => _beats[(int)s1, (int)s2];
public static int Count => (int)Sign.Scissors + 1;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using alg;
/*
* tags: bs
* Time(n), Space(1)
* divide into two parts, left is a[0..i-1] and b[0..j-1], right is a[i..m-1] and b[j..n-1], where i=[0..m], j=[0..n]
* make sure max(left) <= min(right) and count(left)==count(right) [+ 1 if odd]
*/
n... |
using MediatR;
using MikeGrayCodes.BuildingBlocks.Application;
using System;
using System.Runtime.Serialization;
namespace MikeGrayCodes.Ordering.Application.Application.Commands
{
public class ShipOrderCommand : Command<Unit>
{
[DataMember]
public Guid OrderNumber { get; private set; }
... |
using LocusNew.Persistence;
using LocusNew.Core.Models;
using System.Linq;
using LocusNew.Core.Repositories;
namespace LocusNew.Persistence.Repositories
{
public class GlobalSettingsRepository : IGlobalSettingsRepository
{
private readonly ApplicationDbContext _ctx;
public GlobalSettingsRepos... |
using System;
using System.Runtime.InteropServices;
namespace SenseHat {
/// <summary>
/// Misc. Raspberry Pi SenseHat Library Utils
/// </summary>
public static class SenseHat {
public static readonly Version LibraryVersion = new Version(1, 1, 0, 0); // Version of Library
// Probe to... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ellenseg : MonoBehaviour
{
protected Animator anim;
protected Rigidbody2D rb;
protected AudioSource death;
// Az alkalmazás vagy a fájl meghívásakor lefutó kód
protected virtual void Start()
... |
public class MinStack {
private Stack<int> st1;
private Stack<int> st2;
/** initialize your data structure here. */
public MinStack() {
st1 = new Stack<int>();
st2 = new Stack<int>();
}
public void Push(int x) {
st1.Push(x);
if(st2.Count == 0 || x <= st2... |
using System.Net.Sockets;
namespace pjank.BossaAPI.Fixml
{
public class MarketDataFullRefreshMsg : FixmlMsg
{
public const string MsgName = "MktDataFull";
public int RequestId { get; private set; }
public MarketDataFullRefreshMsg(Socket socket) : base(socket) { }
protected override void Parse... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace VesApp.Domain
{
public class Event
{
[Key]
public int IdEvent { get; 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 InoDrive.Api.Providers;
using InoDrive.Domain;
using InoDrive.Domain.Models;
using InoDrive.Domain.Repositories.Abstract;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Th... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
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.Windo... |
using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wpf.Dao;
using Wpf.Model;
namespace Wpf.ViewModel
{
class IndexViewModel : ViewModelBase
{
IndexDao indexDao = new I... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Stone : Block
{
public override string Name
{
get
{
return "Stone";
}
}
public override int BlockID
{
get
{
return 3;
}
}
p... |
using Newtonsoft.Json.Linq;
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace MusicAPI.APIs
{
public class WikiPediaClient : IWikiPediaClient
{
private readonly IApiHelper _ApiHelper;
public WikiPediaClient(IApiHelper apiHelper)
{
... |
using Cafe.API.Models.Entities;
using Cafe.API.Models.Repository;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Cafe.API.Controllers
{
[Route("api/clients")]
[ApiController]
public class ClientController : C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MVP.Base.BaseRepository;
using MVP.Sample.Web.IRepositories;
namespace MVP.Sample.Web.Repositories
{
public class DependencyUC1Repository : BaseRepository<object>, IDependencyUC1Repository
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace SAAS.Mq.Socket.Channel
{
public class ClientMqConfig: MqConnectConfig
{
/// <summary>
/// 服务端 host地址
/// </summary>
public String host = "127.0.0.1";
/// <summary>
/// 服务端 监听端口号
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Dapper;
namespace DemoF.Persistence.Repositories
{
using Core.Repositories;
using DemoF.Core.Contracts;
using System.Data;
using System.Data.SqlClient;
publi... |
namespace AppendLists
{
using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
public static void Main()
{
List<List<string>> numbers = Console.ReadLine()
.Split('|')
.Reverse()
.Select(s... |
using Alabo.Data.People.UserTypes;
using Alabo.Validations;
using Alabo.Web.Mvc.Attributes;
using MongoDB.Bson.Serialization.Attributes;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Alabo.Data.People.Circles.Domain.Entities
{
/// <summary>
/// 商圈
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StrongEffect : MonoBehaviour {
public Transform pos;
MuniaControllerScript muniaS;
Rigidbody2D rb;
bool faceRight = true;
private void Awake()
{
rb = GetComponent<Rigidbody2D>();
muniaS ... |
using System;
using System.Activities.Presentation.Toolbox;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using Phenix.Core;
using Phenix.Core.Reflection;
using Phenix.Core.Workflow;
using Phenix.Workflow.Windows.Desinger.PropertyEditing;
namespace Phenix.Workflow.Windows.Desinger.Helper
{
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace DataAccessLayer.Migrations
{
public partial class initiate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "ContactNumbers");
migra... |
using System;
using ApiTemplate.Common.Enums.Exceptions;
namespace ApiTemplate.Common.Exceptions
{
public class NullArgumentException:AppException
{
public NullArgumentException()
: base(CustomStatusCodes.ArgumentNull)
{
}
public NullArgumentException(string messag... |
// -----------------------------------------------------------------------
// <copyright file="TypeExtensions.cs" company="AnoriSoft">
// Copyright (c) AnoriSoft. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Anori.Extensions
{
using Syst... |
using System;
namespace iSukces.Code.AutoCode
{
public interface IDirectCodeWriter
{
void ChangeIndent(int plus);
void OpenNamespace(string ns);
string TypeName(Type type);
void WriteLn(string txt);
}
} |
//
// Copyright (c) Autodesk, Inc. All rights reserved.
//
// This computer source code and related instructions and comments are the
// unpublished confidential and proprietary information of Autodesk, Inc.
// and are protected under Federal copyright and state trade secret law.
// They may not be disclosed to, copi... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using DG.Tweening;
using System.Text.RegularExpressions;
public class UIController : MonoBehaviour
{
public Canvas levelCanvas;
public Canvas hud;
public Text headerText;
public Text footerText;
public Text levelText;
public T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace BuyNSell.Models
{
public class CustomValidationDataAnnotation
{
}
public class EmailIdExistOrNot : ValidationAttribute
{
protected override Valida... |
using Entities.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace Entities.Configuration
{
class PhoneNumberConfiguration : IEntityTypeConfiguration<PhoneNumber>
{
public void ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace BanSupport
{
public class ScrollGalleryAutoArrangeWindow : EditorWindow
{
private ScrollGallery scrollGallery;
private float spacing = 10;
private Vector2 scaleDelta = new Vector2(-0.1f, -0.1f);
priv... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoConsumerDesktopApp.Models
{
public class SensorDaten
{
public ObservableCollection<BarometerSensor> SensorData
{
g... |
namespace MTD.SDVTwitch.Models
{
public class Config
{
public string TwitchName { get; set; }
public string ClientId { get; set; }
}
} |
using System;
using System.Collections.Generic;
using Aloha.ItemSystem;
using UniRx;
using UnityEngine;
public class CollectionPreviewer : MonoBehaviour
{
public event Action<string, IItem> OnPreviewingItemChanged;
private Dictionary<string, IItem> _previewingItems = new Dictionary<string, IItem>()... |
namespace Athenaeum.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class FkUpdate : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Comments",
c => new
{
... |
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Options;
using Ofl.Net.Http.ApiClient.Json;
using Ofl.Threading.Tasks;
namespace Ofl.Atlassian.Jira.V3
{
public class JiraClient : JsonApiClient, IJiraClie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using KartObjects.Entities;
namespace KartSystem
{
public class POSGroupSettings:Entity
{
public override string FriendlyName
{
get { return "Свойства группы устройств"; }
... |
using DChild.Gameplay.Combat.StatusEffects.Configurations;
using DChild.Gameplay.Objects.Characters;
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild.Gameplay.Combat.StatusEffects
{
public class CorrosionInflicter : StatusInflicter<CorrosionStatus, CorrosionConfig> { }
} |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.Experimental.UIElements.GraphView;
using UnityEngine;
using UnityEngine.Experimental.PlayerLoop;
using UnityEngine.Experimental.UIElements;
using Random = UnityEngine.Random;
public class Agent : MonoBehavio... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AGCompressedAir.Windows.Common;
using AGCompressedAir.Windows.Models;
using AGCompressedAir.Windows.Services.DialogService;
using AGCompressedAir.Windows.Services.PartService;
using AGCompressedAir.Windows.ViewModels.Base;
using Prism.... |
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Transactions;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using Org.Common;
using Org.Common.DataProvider;
using Org.Common.Domain;
using Org.Common.Excep... |
using Alabo.Datas.Ef.SqlServer;
using Microsoft.EntityFrameworkCore;
namespace Alabo.Datas.UnitOfWorks.SqlServer {
/// <summary>
/// 工作单元
/// </summary>
public class SqlServerUnitOfWork : MsSqlUnitOfWork, IUnitOfWork {
/// <summary>
/// 初始化工作单元
/// </summary>
... |
using System;
using System.Numerics;
using System.Text;
namespace Tools
{
public class DynamicMatrix
{
private dynamic matrix;
public DynamicMatrix(dynamic Array2D)
{
matrix = Array2D;
}
public static DynamicMatrix operator +(DynamicMatrix a, DynamicMatrix ... |
using System.Collections.Generic;
using Flux.src.Platform.OpenGL;
namespace Flux.src.Flux.Renderer
{
public abstract class VertexArray
{
public abstract void Bind();
public abstract void Unbind();
public abstract void AddVertexBuffer(VertexBuffer vertexBuffer);
public abstract void SetIndexBuffer(IndexBuffe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Uintra.Core.Controls.FileUpload;
using Uintra.Infrastructure.Caching;
using Umbraco.Web.WebApi;
namespace Uintra.Controllers
{
public class FileCon... |
namespace Communicator.Core.Domain
{
public enum UserStatusType
{
Iam=0,
Imnot=1,
DontDistrub=2,
Another=3
}
}
|
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using ODL.DomainModel;
using ODL.DomainModel.Organisation;
namespace ODL.DataAccess.Mappningar
{
public class OrganisationAvtalMappning : EntityTypeConfiguration<OrganisationAvtal>
{
public OrganisationAvta... |
using GHCIQuizSolution.DBContext;
using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace GHCIQuizSolution.Controllers.UserControllers
{
public class UserQuizController : BaseQuizController
{
private static Logger ... |
//------------------------------------------------------------------------------
// <copyright file="MainWindow.xaml.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace Mic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CEMAPI.Models
{
public class InvoiceBrkupDtlDTO
{
public InvoiceBrkupDtlDTO()
{
this.CompanyName = "";
this.CompanyAddress = "";
this.CompanyCIN = "";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Client.Globalize;
using Newtonsoft.Json;
namespace Client.Internal
{
public class Settings : ISettings
{
private readonly Internal.ILogger _logger;
public Settings()
... |
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 CIS016_2.Week1
{
public partial class CountriesForm : Form
{
pub... |
/*
Extension de la classe d'entité Etat
!!Attention!!
Ce code source est généré automatiquement, toutes modifications seront perdues
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Windows.Controls;
using System.Globalizat... |
using Xamarin.Forms;
namespace AsNum.XFControls {
/// <summary>
/// 边框
/// </summary>
public class Border : ContentView {
/// <summary>
/// 圆角大小
/// </summary>
public static readonly BindableProperty CornerRadiusProperty =
BindableProperty.Create("CornerRa... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class Global : MonoBehaviour {
private static readonly string UIModulePath = "Prefabs/UI/UIModule";
private static Global instance;
private bool destructing;
public InputManager Input { get; private set; }
... |
using LoanAPound.Db.Model;
using System;
namespace LoanAPound.LoanEngine
{
/// <summary>
/// Represents the call to the third party credit score provider
/// </summary>
public class CreditScoreProviderClient : ICreditScoreProviderClient
{
private static readonly Random random = new Random(... |
using System;
using System.Configuration;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Newtonsoft.Json;
using SlackBot;
namespace Bot.Extensions
{
public static class Collector
{
private static readonly CloudBlobClient BlobClient;... |
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 SimonSaysProject_OfekRon_ItayShachar
{
public partial class Form_SimonSays : Form
{
... |
using OnlineTitleSearch.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace OnlineTitleSearch.Context
{
public class SearchDbContext : DbContext
{
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OrgMan.DataContracts.Repository.RepositoryBase;
using OrgMan.DataModel;
namespace OrgMan.DataContracts.Repository
{
public interface IIndividualPersonRepository : IGenericRepository<Individual... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.Scripts.HUD
{
public class StatusBars
{
private float currHealth;
private float currEnergy;
private float maxHealth;
private float maxEnergy;
privat... |
using System.Windows;
namespace CODE.Framework.Wpf.Mvvm
{
/// <summary>This interface defines standard features defined in a theme</summary>
/// <remarks>
/// When a theme implements this interface, it not only must implement the interface, but the resulting
/// class name must be configured in the re... |
using System;
namespace VehicleInventory.Services.DTOs
{
public class VehicleInStockDTO
{
public string Make { get; set; }
public string Model { get; set; }
public int Year { get; set; }
public decimal PriceBought { get; set; }
public decimal PriceSold { get; set; }... |
using System;
using System.Collections.Generic;
using ApartmentApps.Api.BindingModels;
using ApartmentApps.Portal.Controllers;
namespace ApartmentApps.Api.ViewModels
{
public class IncidentReportViewModel : BaseViewModel
{
public string Title { get; set; }
public DateTime RequestDate { get; set... |
namespace Sila.Models.Database
{
using System;
/// <summary>
/// Describes a database model for a part.
/// </summary>
public class Part : AssemblyOrPart
{
/// <summary>
/// The color of the part.
/// </summary>
public String? Color { get; set; }
/// <summary>
/// The material of the part.
/// </s... |
using UnityEngine;
[RequireComponent(typeof(VirusPopper))]
public class VirusPopper : MonoBehaviour
{
public bool Able = false;
private Animator animator;
private float TimeAt = 0f;
private float TimeTo = 10f;
void Awake()
{
animator = GetComponent<Animator>();
}
public void ... |
using ADOExam.Model;
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.W... |
using Newtonsoft.Json;
namespace ConsoleApp.Model
{
public class Currency
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("symbol")]
public string Symbol { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MapPoint
{
public class MapPointConstants
{
public const int PORT = 8888;
public const string REQUEST_END = "$";
public const char DELIM = ';';
public const string COMMAND_END = "~";... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace CollaborativeFiltering
{
public class DataReader
{
public IEnumerable<Movie> ReadMovies(string path)
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using Syst... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NPC : MonoBehaviour
{
Rigidbody thisRigidbody;
Objective currentObjective;
public void Awake()
{
thisRigidbody = GetComponent<Rigidbody>();
}
public void CompleteObjective(Objective what)
{
if (what == currentObje... |
using System;
using UnityEngine;
using UnityEditor;
using Unity.Mathematics;
using static Unity.Mathematics.math;
namespace IzBone.Common {
/**
* EditorGUIに対する便利処理
*/
internal static partial class EditorGUIUtility8
{
// ------------------------------------- public メンバ -------------------------------------------... |
using System;
namespace consoleproject
{
public class Fight
{
public Fight()
{
}
Random random = new Random();
// Take in a player and an enemey
public Boolean fightEnemy(Player player, Enemy enemy)
{
int num = random.Next(10);
i... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TaskNF
{
[Table("Books")]
public class Book
{
[Key]
public int IdBook { get; set; }
public string Title { get; set; }
p... |
namespace Kremen.Models
{
class OldCouple : Couple
{
private const int NumberOfRooms = 3;
private const decimal RoomElectricity = 15;
private decimal stoveCost;
public OldCouple(decimal pensionOne, decimal pensioTwo, decimal tvCost, decimal fridgeCost, decimal stoveCost)
... |
using System;
class Fibonacci
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
int Fibonacci(int a, int b, int count, int number)
{
if (count < number)
{
return Fibonacci(b, a + b, count + 1, number);
}
else... |
using System;
using Xunit;
namespace DotNetCross.Memory.Tests
{
public class Unsafe_RefAtByteOffset_Test
{
public class ObjectValue
{
public int Value = 42;
}
[Fact]
public static unsafe void RefAtByteOffset_Object()
{
var obj = new Objec... |
using System.Data.Entity;
using SimpleMVC.App.Models;
using SimpleMVC.App.MVC.Interfaces;
namespace SimpleMVC.App.Data
{
public class NotesAppContext : DbContext, IDbIdentityContext
{
public NotesAppContext() : base("NotesAppContext")
{
}
public virtual DbSet<User> Users { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Breeze.AssetTypes.DataBoundTypes;
using Microsoft.Xna.Framework;
namespace Breeze.Helpers
{
public static class VectorHelpers
{
public static FloatRectangle AdjustForMargin(this Fl... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Domain.ValueObject
{
/// <summary>
/// 单据类型
/// </summary>
public enum BillIdentity
{
[Description("销售订单")]
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class TransformMisc
{
public static void ResetPRS(this Transform root)
{
root.localPosition = Vector3.zero;
root.localRotation = Quaternion.identity;
root.localScale = Vector3.one;
}
p... |
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.Net.Http;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace WebPageTest.Controllers
{
public class HomeController : Controller
{
private readonly HttpClient _client = new HttpClient();
public ActionResult Index()
{
return View();
}
... |
using System.Reflection;
using CYJ.Utils.Extension.ReflectionExtension;
// ReSharper disable once CheckNamespace
namespace Aquarium.Util.Extension.ReflectionExtension
{
public static class PropertyExtension
{
/// <summary>An object extension method that gets the properties.</summary>
/// <para... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Web.Models.MRP
{
public class FlowClassify
{
[Display(Name = "FlowClassify_Flow", ResourceType = typeof(Resources.MRP.FlowClassify))]
public st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Query.SyncObject
{
public class ChangeDataSync
{
public int Id { get; set; }
public string DomainName { get; set; }
public int DataId { get; set; }
... |
using AbiokaScrum.Api.Entities;
namespace AbiokaScrum.Api.Data
{
public interface ILabelOperation : IOperation<Label>
{
}
} |
namespace CurriculumManagement.Migrations
{
using CurriculumManagement.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configur... |
using Microsoft.Extensions.Logging.Configuration;
using Microsoft.Extensions.Options;
namespace Sentry.Extensions.Logging;
internal class SentryLoggingOptionsSetup : ConfigureFromConfigurationOptions<SentryLoggingOptions>
{
public SentryLoggingOptionsSetup(
ILoggerProviderConfiguration<SentryLoggerProvide... |
using System.IO;
namespace TechEval.Commands
{
public class FileUploadCommandBase
{
public Stream UploadedFile { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace OnboardingSIGDB1.Domain.Empresas.Dtos
{
public class EmpresaFiltroDto
{
public string Cnpj { get; set; }
public string Nome { get; set; }
public DateTime? DataFundacaoInicio { get; set; }
public DateTi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NotepadDemo
{
public interface INotepad
{
void WriteOnPage(int pageNumber, string text);
void OverwritePageText(int pageNumber, string text);
vo... |
using AbstractFactory.factory;
using System;
using System.Collections.Generic;
using System.Text;
namespace AbstractFactory.ListFactory
{
public class ListLink : Link
{
public ListLink(string caption, string url) : base(caption, url)
{
}
public override string Mak... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TableroComando.Clases
{
public abstract class FormMode
{
public FormMode(){}
public abstract void AfterSave<FormClass>(Form form) where FormClass : Form;
... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Labyrinth
{
public enum Direction{ LEFT, RIGHT, UP, DOWN};
public class Bullet
{
public Vector2 bulletPosA;
private Vector2 startPos;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.