text stringlengths 13 6.01M |
|---|
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using EdjCase.JsonRpc.Router.Abstractions;
using FiiiChain.Business;
using FiiiChain.Framework;
using System;
namespace FiiiChain.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2._2_Operrator_Explicit_Implicit
{
class Program
{
static void Main(string[] args)
{
Money m = new Money(42.42M);
//Invoca o operador implicit... |
namespace EPI.Arrays
{
public static class CelebrityMatching
{
///<summary> Let F be an n x n boolean 2Darray representing the relationship between the people in a party
/// F[a,b] is true if and only if a knows b.
/// At a party everyone knows someone else.
/// But there is one celebrity joining the party n... |
using System;
using System.Collections.Generic;
namespace Andr3as07.Logging.Formater {
public interface ITextFormater {
string FormatText(LogLevel level, DateTime time, string message, Dictionary<string, object> context);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
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.Windows.Shapes;
... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Threading.Tasks;
using WebsiteManagerPanel.Data.Entities.Enums;
using WebsiteManagerPanel.Models;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace WebsiteManagerPane... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ScoutingModels.Data
{
/// <summary>
/// Includes all of the information about an event
/// -GeoEngel
/// </summary>
public class Event
{
/// <summary>
/// Name of the event
/// </summary>
... |
using MVVM_Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace Main.Events
{
public class AccountEntered : IEvent
{
public string Name { get; set; }
}
}
|
using Senai.Filmes.WebApi.Domains;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Senai.Filmes.WebApi.Repositories
{
public class GeneroRepository
{
private string StringConexao = "Data Source=.\\SqlExpress; initi... |
using System;
using System.ComponentModel;
using System.Globalization;
namespace DelftTools.Utils
{
public class DeltaShellTimeSpanConverter: TimeSpanConverter
{
const string format = "dd HH:mm:ss";
/// <summary>
/// converts datetime to format yyyy/MM/dd HH:mm:ss
/// </summar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProxyExample
{
class CustomerDataAccessObject : ICustomerDataAccessObject
{
public CustomerDataAccessObject()
{
Console.WriteLine("DB Conntect");
}... |
using System;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers.ContentSecurityPolicy
{
/// <summary>
/// Create a custom CSP directive for an un-implemented directive
/// </summary>
public class CustomDirective : CspDirectiveBuilderBase
{
/// <summ... |
namespace ChallengeTechAndSolve.Common.Constants
{
public class CommonInformation
{
public static string FileOutPut = "prueba_output.txt";
}
}
|
using DevsoftSDK.Model.DIAPI;
using System.Collections.Generic;
namespace Devsoft.AddonBase.Schema
{
public class MSS_DISTLOG
{
public const string TableName = "MSS_DISTLOG";
public static List<ValidValuesMDModelDIAPI> TipoInmueble = new List<ValidValuesMDModelDIAPI>();
public static L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyWebApp.Data.Entities.AuthenticationEnties
{
public class JwtToken
{
public string Id { get; set; }
public string TokenType { get; set; } = "JWT Bearer";
pub... |
using Alabo.Domains.Entities;
using Alabo.Web.Mvc.Attributes;
using MongoDB.Bson.Serialization.Attributes;
using System.ComponentModel.DataAnnotations.Schema;
namespace Alabo.App.Share.RewardRuless.Domain.Entities
{
[BsonIgnoreExtraElements]
[Table("Share_RewardConfig")]
[ClassProperty(Name = "分润配置", Icon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Text;
using System.IO;
using System.Threading;
using mr.bBall_Lib;
public partial class _P... |
namespace Sentry.Testing;
public static class StringExtensions
{
private static readonly string PathSeparator = Path.DirectorySeparatorChar.ToString();
public static string OsAgnostic(this string path) => path.Replace("/", PathSeparator);
public static string TrimLeadingPathSeparator(this string path) => ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace D9Framework
{
class IngredientValueGetter_Mass : IngredientValueGetter
{
public override float ValuePerUnitOf(ThingDef t)
{
return t.BaseMass;
}
... |
using MvvmHelpers;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace XamarinCustomLoader.ViewModel
{
public class CustomLoaderWithBlurEffectViewModel : BaseViewModel
{
public ICommand ButtonClicked { get; }
public CustomLoaderWithBlurEffectViewModel()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.Entity;
namespace BLL
{
public interface IOperation
{
int Insert<T>(T entity) where T : class, new();
int Delete<T>(Func<T, bool> whereLambd... |
using UnityEngine.AI;
using Project.Game.Player;
public class FreezeAttack : Attack
{
public override void AttackTarget()
{
base.AttackTarget();
sight.target.GetComponent<PlayerEngine>().speed = 0;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using WebApplication3.Models;
namespace WebApplication3.Controllers
{
public class HomeController : Controller
{
readonly DataContext _context;
public HomeController(Dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BELCORP.GestorDocumental.BE.DDP
{
[Serializable]
public class HistorialFlujoBE
{
public long ID { get; set; }
public int Version { get; set; }
public string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Register.Controllers
{
public class RegisterController : Controller
{
//
// GET: /Resister/
public ActionResult Register()
{
return View();
... |
using System.Collections.Immutable;
namespace GraphQLDynamic.Model
{
public record AttributeDefinition
(
string Name,
string Label,
string HintText,
string Category,
string Heading,
AttributeType AttributeType,
ImmutableList<DropDownItemDefinition> DropD... |
using System;
using System.Collections.Generic;
using System.Text;
namespace pathtest
{
class CAStarPathFinding
{
private List<CNaviNode> mOpenNode = null;
private List<CNaviNode> mCloseNode = null;
public void Delete()
{
mOpenNode = null;
mCloseNode ... |
using System.Collections.Generic;
using Atc.OpenApi.Tests.XUnitTestData;
using Microsoft.OpenApi.Models;
using Xunit;
namespace Atc.OpenApi.Tests.Extensions
{
public class OpenApiPathItemExtensionsTests
{
[Theory]
[MemberData(nameof(TestMemberDataForOpenApiPathItemExtensions.IsPathStartingSegm... |
using System;
// ReSharper disable once CheckNamespace
namespace Aquarium.Util.Extension.ObjectExtension
{
public static class ObjectValidExtension
{
#region IsValid
/// <summary>
/// An object extension method that query if '@this' is valid short.
/// </summary>
/... |
using System;
using System.Reflection;
using System.IO;
using System.Threading;
using System.Xml;
using EasyDev.Resources;
namespace EasyDev.Resources
{
/// <summary>
/// 国际化对象管理器
/// </summary>
public class GlobalizationManager
{
private static ob... |
using System;
using System.Collections.Generic;
namespace ServiceDeskSVC.DataAccess.Models
{
public partial class HelpDesk_Tasks_RelatedTasks
{
public int Id { get; set; }
public int TaskID { get; set; }
public int RelatedTaskID { get; set; }
}
}
|
using XH.Infrastructure.Query;
namespace XH.Queries.Tenants.Queries
{
public class ListTenantsQuery : ListQueryBase
{
public string Keywords { get; set; }
public bool? IsActive { get; set; }
}
}
|
using System;
namespace BitwiseJonMods
{
class InventoryFullException: Exception
{
public InventoryFullException()
: base() { }
public InventoryFullException(string message)
: base(message) { }
public InventoryFullException(string format, params object[] args)... |
using UnityEngine;
using System.Collections;
using System.IO.Ports;
using System;
using System.Collections.Generic;
public class KaktusController : MonoBehaviour
{
public bool isACTIVE;
public string SerialPortName = "COM4";
SerialPort stream;
string receivedData = "EMPTY";
public bool singleton... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace Model
{
/// <summary>
/// Пирамида
/// </summary>
[DataContract]
public class Pyramid : IFigure
{
[DataMember]
priva... |
using UnityEngine;
using System.Collections.Generic;
using LuaInterface;
using System.Collections;
using System.IO;
using System;
public class LuaWrap: LuaClient
{
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Notas.Dominio.Entities
{
public class Nomes
{
public int NomeId { get; set; }
public int IdPessoa { get; set; }
public int IdEscritura { get; set; }
... |
namespace Home
{
using PizzaMore.Utility;
public class StartUp
{
public static void Main()
{
Home.AddDefaultLanguageCookie();
if (WebUtils.IsGet())
{
Home.RequestParameters = WebUtils.RetrieveGetParameters();
if (Home.Req... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestoPOS
{
class Menu
{
public String IDMenu { get; set; }
public String Harga { get; set; }
public String NmMenu { get; set; }
public string Gambar { g... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TriggerTexture : MonoBehaviour {
// see TriggerNote_Or_Clip_AndEffect.cs for relevant comments. this script is much simpler; it just loops and stops looping a clip.
bool controllerInSphere = false;
enum PlayState ... |
using UnityEngine;
using System.Collections;
public class BodyPartManager : MonoBehaviour {
public string ItemName;
public SpriteRenderer TargertGraphic;
public Sprite[] ItemSprites;
private int indexOfWornItem = 0;
public int IndexOfWornItem
{
get
{
return indexOfWornItem;
}
set
{
if (value <... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SwinGameSDK;
namespace MyGame
{
static public class Collision
{
/// <summary>
/// For checking entities against the screen outsides
/// </summary>
/// <param name="g"... |
namespace gView.Framework.FDB
{
public interface IFDBDataset
{
ISpatialIndexDef SpatialIndexDef { get; }
}
}
|
using System.Collections.Generic;
namespace ContestsPortal.Domain.Models
{
public class MenuItem
{
public int MenuItemId { get; set; }
public string MenuItemTitle { get; set; }
public string HoverDescription { get; set; }
public string ControllerName { get; set; }
public stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using OpenQA.Selenium;
namespace ClientPortal
{
public class Error404
{
public IWebElement Take_me_back_to_Dashboard = Driver.Instance.FindElement(By.XPath("/htm... |
using System;
using System.Collections.Generic;
/// <summary>
/// Defines a possible chemical combination.
/// </summary>
public class Recipe
{
#region Properties
/// <summary>
/// The chemicals to combine.
/// </summary>
public List<string> InputChemicals { get; private set; }
/// <summary>
/// The ou... |
namespace Command
{
public class UndoCommand : ICommand
{
private readonly CommandHistory _commandHistory;
public UndoCommand(CommandHistory commandHistory)
{
_commandHistory = commandHistory;
}
public void Execute()
{
if (_commandHistory.S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using PayRentAndUse_V3.Models;
namespace PayRentAndUse_V3.Controllers
{
public class UserLoginController : Controller
{
private ApplicationDbContext _context;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Graphics
{
public partial class Form1 : Form
{
priva... |
using Pe.Stracon.SGC.Infraestructura.Core.Base;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Infraestructura.Core.QueryContract.Contractual
{
public interfac... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Zomz/Data/Level2Data", fileName = "Level2Data")]
public class Level2Data : LevelData {
public int BonfiresRequiredToWin = 4;
public List<Flammable> BonfiresLit = new List<Flammable>();
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleWCFService
{
public class TeaService : ITeaStore
{
// get tea details by name
public string GetTeaInfo(string teaName)
{
try
{
... |
using Microsoft.Win32;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing.Design;
using System.Globalization;
using System.Threading;
using System.Windows.Forms.Design;
namespace System.Windows.Forms
{
/// <summary>Drop down control that will display a formatted TimeSpan.</... |
namespace TownSuite.DapperExtras.Tests;
using Dapper.Contrib.Extensions;
[Dapper.Contrib.Extensions.Table("ExampleTable")]
public class ExampleTable
{
[Dapper.Contrib.Extensions.Key()]
public long Id { get; set; }
public string Col1 { get; set; }
public string Col2 { get; set; }
public DateTime ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SampleIfs
{
class Program
{
static void Main(string[] args)
{
int originalValue = 1;
string[] collection = new string[100];
forea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CodeGeneration
{
public abstract class Accessiblity
{
public static Accessiblity @public = new Public();
public static Accessiblity @protected = new Protected();
public static Accessiblity... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using DemoMediatR.WebApi.Context;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace DemoMediatR.WebApi.Domain.Person.Retreive
{
public class GetAllPersonQueryHandler : IRequestHandler<GetAllPerso... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class mediaAdaptor : MonoBehaviour {
public GameObject logo;
private Vector3 posicion;
private float posY;
private float posZ;
public int ancho = 1024;
// Use this for initialization
void Start () {
Debug.Log("Screen W... |
using babies.DomainLayer.Object_model;
using System;
using System.Collections.Generic;
using System.Text;
// a precondition can never contradict the conceptual model
namespace babies.ApplicationLayer.Application_services
{
// UC_Prec: user authorized
// UC_Post:
public static class CRUD_babies_... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GestorDeFlotasDesktop
{
class Pantalla
{
public string sPantallaID;
public string sDescripcion;
public Pantalla(string _sPantallaID, string _sDescripcion)
{
... |
namespace Sentry;
/// <summary>
/// Attachment type.
/// </summary>
public enum AttachmentType
{
/// <summary>
/// Standard attachment without special meaning.
/// </summary>
Default,
/// <summary>
/// Minidump file that creates an error event and is symbolicated.
/// The file should start... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class cameraBehaviour : MonoBehaviour
{
private Vector3 persoPos;
private Vector3 camPos;
public float lerpSpeed;
public Vector3 offsetPos;
public GameObject ObjectToFollow;
// Update is called o... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class OrderSwitchObject : MonoBehaviour {
//public List<int> orderList;
public List<GameObject> objectList;
public GameObject targetObject;
private int count;
//private variables
private bool bIsSolved;
// Use this for initiali... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LanguageProvider
{
public abstract class AbstractLanguageHandler : ILanguageHandler
{
private ILanguageHandler _nextLanguageHandler;
public ILanguageHandler SetNext(ILanguageHandler languageHandler)
{
... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
#nullable enable
namespace NW.ManyQueues {
public interface IManager {
public void WriteConf(string name, string value);
public void WriteConf<TValue>(string name, TValue value);
public void WriteConf<TValue>(E... |
using System;
using System.Collections.Generic;
namespace Server
{
public class Spell
{
string description;
List<Equation> equations = new List<Equation>();
public Spell (string desc)
{
description = desc;
}
public void AddEquation(Equation e) {
equations.Add (e);
}
}
}
|
namespace BattleEngine.Actors.Spells
{
public class BattleSpell : BattleObject
{
}
}
|
namespace PaymentService.Infrastructure.Messaging.Handlers
{
using System;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using MicroservicesPOC.Shared.Messaging.Events;
using PaymentService.Application.Common.Interfaces;
public class PolicyTermina... |
using Cs_Gerencial.Aplicacao.Interfaces;
using Cs_Notas.Aplicacao.Interfaces;
using Cs_Notas.Dominio.Entities;
using Cs_Notas.Windows.Escritura;
using Cs_Notas.WindowsAgurde;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Syste... |
namespace Alabo.Industry.Shop.Products.Dtos
{
public class ProductToExcel
{
public string RelationName { get; set; }
public string ProductName { get; set; }
public string Bn { get; set; }
/// <summary>
/// 市场价
/// </summary>
public decimal MarketPr... |
using Uintra.Features.CentralFeed.Models.GroupFeed;
namespace Uintra.Core.Activity.Models.Headers
{
public class ExtendedItemHeaderViewModel : IntranetActivityItemHeaderViewModel
{
public GroupInfo? GroupInfo { get; set; }
}
} |
using System;
namespace roguelike
{
/// <summary>
/// Enum defining every board square with Binary Flags to manage Spaces
/// </summary>
[Flags]
public enum State
{
Empty = 0,
Player = 1,
Minion = 2,
Boss = 4,
PowerupS = 8,
PowerupM = 16,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerHealth : MonoBehaviour
{
public int health;
private int maxHealth;
private Health h;
public int numOfHearts;
public Animator[] hearts;
private void Start()
{
h ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocialWorld.Business.DTOs.AppUserDtos
{
public class AppUserDto
{
public int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Effigy.Entity;
using Effigy.DataObject.UnitOfWork;
using System.Linq.Expressions;
using Effigy.Entity.DBContext;
namespace Effigy.Service
{
public class UserDataEntry : BaseFactory, IDataEntry... |
using System;
using System.Net;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Enyim.Caching.Memcached.Results;
namespace Enyim.Caching.Memcached
{
/// <summary>
/// Provides custom server pool implementations
/// </summary>
public interface IServerPool : IDisposable
... |
using System.Collections.ObjectModel;
using System.Collections.Generic;
using SpatialEye.Framework.Redlining;
using SpatialEye.Framework.Geometry;
using SpatialEye.Framework.Client;
using SpatialEye.Framework.Features;
using Lite.Resources.Localization;
namespace Lite
{
/// <summary>
/// The mapTrail view model... |
using UnityEngine;
public class FountainDoorScript : MonoBehaviour
{
// base components
[HideInInspector] public Transform myTransform;
[HideInInspector] public GameObject myGameObject;
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KartLib;
using KartLib.Views;
using KartObjects;
namespace KartSystem
{
public partial class StockManagementView : KartUserC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApplication1.Gateway;
using WebApplication1.Models;
namespace WebApplication1.Manager
{
public class StudentManager
{
StudentGateway studentGateway = new StudentGateway();
public List<Stu... |
using Firebase.Database;
using Firebase.Database.Query;
using AdminJonganggur.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
namespace AdminJonganggur.Services
{
public class DBFire
{
FirebaseClient client... |
namespace NomNom.Domain {
#region Using Directives
using System.IO;
using Models;
#endregion
public interface IFileCreationEventHandler {
void Handle(Monitor monitor, Stream fileCreated, string filePath);
}
} |
using AngleSharp.Dom;
using MyMovies.Domain.Entities;
using MyMovies.Domain.Enums;
using MyMovies.Parser.DataBase;
using MyMovies.Parser.Extensions;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Te... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using PingoSnake.Code.Engine;
using PingoSnake.Code.Entities;
using PingoSnake.Code.Spritefonts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PingoSnake.Code.LoadingS... |
using AutoMapper;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WebApp.Data.Models;
namespace WebApp.Services
{
public class ImageImportService
{
private RepositoryContext _dbContext { get; set; ... |
using Alabo.Domains.Repositories;
using Alabo.Framework.Reports.Domain.Entities;
using Alabo.UI.Design.AutoReports;
using Alabo.UI.Design.AutoReports.Dtos;
using MongoDB.Bson;
using System.Collections.Generic;
namespace Alabo.Framework.Reports.Domain.Repositories {
/// <summary>
/// 数据统计
/// </summar... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using J4F.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Options;
namespace J4F.Controllers
{
public class HomeController : Contr... |
using AudioText.Models;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace AudioText.DAL
{
public class AudioTextContext : DbContext
{
public AudioTextContext()
: base("AudioTextContext")
{
}
protected override void OnModel... |
using gView.Framework.Geometry;
namespace gView.Framework.Carto
{
public interface IGraphicsElementDesigning
{
//bool Selected { get; set; }
IGraphicElement2 Ghost { get; }
IHitPositions HitTest(IDisplay display, IPoint point);
void Design(IDisplay display, IHitPositions hit, d... |
using Sitecore;
using Sitecore.Data.Items;
using Sitecore.Globalization;
namespace SitecoreAdaptors
{
public class SitecoreContextWrapper : SitecoreContextBase
{
private readonly Context.ContextData _data;
private readonly Item _item;
private readonly Language _language;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlutoRover.Domain
{
public class Planet
{
private string _planetName;
private Coordinates _maxCoordinates = new Coordinates(0, 0);
private Coordinates... |
using System.Xml.Linq;
namespace iSukces.Code.VsSolutions
{
public class NugetPackage
{
public static NugetPackage Parse(XElement packageXElement)
{
var ver = (string)packageXElement.Attribute(Tags.Version);
if (string.IsNullOrEmpty(ver))
v... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
namespace CSharp_Tests
{
[TestClass]
public class TestDict
{
[TestMethod]
public void DictContainsWords()
{
Assert.IsTrue(Dict.EN.Contains("cat"));
Assert.IsFalse(Dict.EN.Contains("blo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Entities;
using System;
using Unity.Collections;
using Unity.Transforms;
using Unity.Rendering;
using Unity.Mathematics;
public class CreateCubeNotEcs : MonoBehaviour {
/*
EntityArchetype
An EntityArchetype是一个独... |
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Alabo.Industry.Shop.Products.Domain.Entities;
using Alabo.Industry.Shop.Products.Domain.Services;
using Microsoft.AspNetCore.Mvc;
namespace Alabo.Industry.Shop.Products.Controllers
{
[ApiExceptionFilter]
[Route("Api... |
namespace Strategy_Checkpoint
{
public class Jet : IVehicle
{
public double FuelPrice = 170.00;
public double FuelCost(int consumed)
{
return FuelPrice * consumed;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BELCORP.GestorDocumental.BE.Contratos
{
public class EmpresasBelcorpContrataBE
{
public int Id { get; set; }
public string Title { get; set; }
public int IdPais... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace Автошкола
{
public partial class AddEditStudentForm : Form
{
... |
namespace EPI.BinaryTree
{
/// <summary>
/// Design an algorithm that efficiently finds the kth node appearing in an inorder traversal.
/// Assume that each node also stores the number of nodes in the subtree rooted at the node
/// </summary>
public static class FindKthNodeInOrderTraversal<I>
{
... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Phenix.Core.Web;
using Phenix.Web.Client.Security;
namespace Phenix.Web.Client
{
/// <summary>
/// HttpClient
/// 配套Bin.Top目录下Host程序提供的WabAPI服务
/// </summary>
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.