text stringlengths 13 6.01M |
|---|
using AngleSharp.Html.Parser;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace NicoLiveAlertTwitterWPF.niconico
{
class NicoLiveHTMLProgram
{
/... |
//
// BoardTests.cs
//
// Author:
// Jon Thysell <thysell@gmail.com>
//
// Copyright (c) 2016, 2017, 2018 Jon Thysell <http://jonthysell.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using HardwareInventoryManager.Helpers;
using HardwareInventoryManager.Models;
using System.Collections.Generic;
using System.Linq;
namespace HardwareInventoryManager.Tests.Services
{
[TestClass]
public class PermissionHelperTests
{
... |
/************************************
* Ryan Bunker
* Final Project
* IT 3045
* Due December 4 2017
* Prof: Bill Nicholson
* Create the GUI for GPS software
* The form with the logic to decide
* *********************************/
using System;
using System.Collections.Generic;
using System.Component... |
using System;
namespace SKT.WMS.WMSRstorage.Model
{
[Serializable]
public class WMSSourcesGroupInfo
{
private Int32 sourcesID;
private String sourcesName;
private String tABLEMAPID;
private String createPerson;
private DateTime createDateTime;
private String... |
/*
* DialMyCalls API
*
* The DialMyCalls API
*
* OpenAPI spec version: 2.0.1
* Contact: support@dialmycalls.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... |
// Richard Patrick
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ShoppingCartAppliation.Controller;
namespace ShoppingCartAppliation.WebForms
{
public partial class Checkout : System.Web.UI.Page
{
List<... |
using System;
using System.Linq;
using TodoApiDTO.Controllers;
using Xunit;
namespace TodoApiDTO.Test
{
public class TodoItemsControllerTest
{
public TodoItemsController Setup()
{
return new TodoItemsController();
}
[Fact]
public void GetTodoItemsReturnsEight... |
using System;
using System.Text.Json.Serialization;
namespace TasksWeb.Model
{
public sealed class TaskModel
{
/// <summary>Task identifier</summary>
[JsonPropertyName("id")]
public Guid Id { get; set; }
[JsonPropertyName("display_name")]
public string DisplayName { ge... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace BlumAPI.MyB.Versions
{
public class V2011 : MybVersion
{
public V2011(VersionMyBusinessPos version, DirectoryInfo directory, DirectoryInfo virtualDirectory) : base(version, directory, virtualDirect... |
using UnityEngine;
public class Meteor : MonoBehaviour
{
//public int health;
public float startingSpin;
public float speed;
private GameObject Player;
private Rigidbody2D rigid;
void Start()
{
Player = FindObjectOfType<PlayerController>().gameObject;
//rigid = GetComponent<Rigidbody>()... |
using System;
namespace ORTRulesEngine
{
public class ExpressionSpecification<T> : CompositeSpecification<T>
{
private Func<T, bool> expression;
public ExpressionSpecification(Func<T, bool> expression)
{
if (expression == null)
{
throw new Argum... |
using RazorEngine.Templating;
using System;
using System.Collections.Generic;
using System.Net.Mail;
using Utility;
using Utility.Email;
using Utility.Logger;
namespace JKMServices.BLL.EmailEngine
{
/// <summary>
/// Class Name : ExceptionTemplate
/// Author : Ranjana Singh
/// Creation ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class FroggerTrafficRedirect : MonoBehaviour
{
public GameObject nextWaypoint;
private void OnTriggerEnter(Collider other)
{
if (other.CompareTag("Traffic"))
{
other.tra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace BPiaoBao.AppServices.ConsoContracts.SystemSetting.DataObjects
{
/// <summary>
/// 商户输入
/// </summary>
[KnownType(typeof(RequestBuyer))]
public abstract class RequestB... |
using FitChildPanel.Attributes;
using FitChildPanel.Models.Classes;
using FitChildPanel.Models.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace FitChildPanel.Controllers
{
//[Authorize]
public class StoryContro... |
using Microsoft.AspNet.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BrighterFutures.ViewModels
{
public enum AlertTypes
{
Success,
Info,
Warning,
Danger
}
public static class Constants
{
pu... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System.IO;
using System.Xml;
using DotNetNuke.Services.Installer.Packages;
#endregion
namespace DotNetNuke.Services.Installer.Wri... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Jieshai.Core
{
public class JieshaiManager
{
public static JieshaiManager Instace { private set; get; }
static JieshaiManager()
{
Instace = new JieshaiManager();
}
public JieshaiM... |
namespace PlayTennis.Dal.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class RemoveUserMig : DbMigration
{
public override void Up()
{
AddColumn("dbo.WxMessage", "BaseUserId", c => c.Guid(nullable: false));
}
publ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShowOnly : MonoBehaviour {
public GameObject target;
public GameObject original;
public void ShowTarget()
{
try
{
original.SetActive(false);
}
catch (Sy... |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MMSdb.dbo.Tables
{
[Table("tbl_HospitalInfo")]
public class tbl_HospitalInfo
{
[Key]
public long hosp_ID { get; set;... |
using System.Threading.Tasks;
using Microcharts;
namespace DartsTracker.Interfaces
{
public interface IGroupFragmentPresenter
{
/*
* Gets data of played game modes for statistics from database
*/
public Task<Entry[]> GetGameModeEntries(string [] keys);
/*
* ... |
using System.Runtime.Serialization;
namespace RedLine.Models.Browsers
{
[DataContract(Name = "Autofill", Namespace = "v1/Models")]
public class Autofill
{
[DataMember(Name = "Name")]
public string Name
{
get;
set;
}
[DataMember(Name = "Value")]
public string Value
{
get;
... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
namespace UI
{
[SLua.CustomLuaClass]
public class Dialog
{
public delegate void DialogShowedDelegate(UIDialogView source);
public delegate void DialogCloseDelegate(UIDialogView source, Dial... |
using AutoMapper;
using NameSearch.Api.Controllers.Interfaces;
using NameSearch.App.Helpers;
using NameSearch.Extensions;
using NameSearch.Models.Domain;
using NameSearch.Repository.Interfaces;
using NameSearch.Utility.Interfaces;
using Newtonsoft.Json;
using Serilog;
using System;
using System.Collections.Generic;
us... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace NaturalDisasterDatabaseWebsite.Models
{
public class ForestDetailsViewModel
{
[Key]
public int ID { get; set; }
[Display(Name = "发生时间"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
* 观察者接口
*/
interface IObserver
{
void infoUpdate(object data, string msgName);
}
|
using System;
using System.Collections.Generic;
namespace doob.Scripter.Shared
{
public class ScriptFunction
{
private readonly IScriptEngine _scriptEngine;
public string Name { get; }
public Dictionary<string, Type> ParameterTypes { get; }
public ScriptFunction(string name,... |
using System;
using Server.Items;
using Server.Network;
namespace Server.Items
{
public class SkillCapToken : Item
{
public static int MaxSkillCap = 15000;
[Constructable]
public SkillCapToken() : base( 0x2AAA )
{
Name = "a reward token";
LootType = LootType.Blessed;
Light = LightTyp... |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace WindowsForm.Extensions
{
public static class HttpContentExtensions
{
public static async Task<T> ReadAsAsync<T>(this HttpContent content) where T:class,new()
{
var stringEntity =awai... |
using System;
using Unity;
namespace Crowswood.CbusLogger
{
class Resolver
{
#region Members
private static readonly Lazy<Resolver> instance = new(() => new Resolver());
private readonly UnityContainer container = new();
#endregion
#region Properties
public... |
using RevolutionCAD.Placement;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RevolutionCAD.Tracing
{
/// <summary>
/// Трассировка по четырехлучевому методу
/// </summary>
public class TracingFourBeam
{
/// <su... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Sunny.HttpRequestClientConsole.Interface
{
/// <summary>
/// ISVProfileResource entity
/// </summary>
public class IntellectualPropertyServicesProfileRes... |
using System;
using System.Linq;
using ManagementStocks.Core.Entities;
using ManagementStocks.Core.Interfaces;
using ManagementStocks.MVC.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using StockManagement.Utils.QueryUtils;
namespace ManagementStocks.MVC.Controllers
{
public class P... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace console
{
public class _009DecodeWay
{
/// <summary>
/// A message containing letters from A-Z is being encoded to numbers using the following mapping:
/// 'A' -> 1
/// 'B' -> 2
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Smart.Distribution.Station.Domain
{
public abstract class PanelEntityBase : EntityBase
{
#region Properties
/// <summary>
/// 六氟化硫
/// </summary>
... |
namespace SFA.DAS.Notifications.Domain.Configuration
{
public class Template
{
public string Id { get; set; }
public string EmailServiceId { get; set; }
}
}
|
using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APIEcommerce.Models
{
[Table("Pedido")]
public class Pedido : BaseModel
{
public Pedido()
{
Itens = new List<PedidoItem>();
}
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Alarmy.ViewModels;
using Alarmy.Common;
using NSubstitute;
using Alarmy.Tests.Utils;
namespace Alarmy.Tests.ViewModels
{
[TestClass]
public class MainViewModelTests
{
private FakeMainView view;
private FakeAlarmService... |
namespace ns17
{
using System;
using System.Xml;
internal class Class94 : Class92, Interface10, Interface12
{
private readonly XmlElement xmlElement_0;
public Class94(XmlElement element) : base(element)
{
this.xmlElement_0 = element;
}
public void ... |
using System.ComponentModel.DataAnnotations.Schema;
using MvcExample.Domain.Abstract;
namespace MvcExample.Domain.Role
{
[Table("Role",Schema = "auth")]
public class Role :EntityBase
{
public string Name { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Soul : MonoBehaviour
{
public int value = 1;
float startingBounceTime = 1.2f;
float currentTime;
float velocity = 3f;
Vector2 bounceDestination;
CircleCollider2D circleColl;
private void OnEnable()... |
using Apache.Ignite.Core;
using Apache.Ignite.Core.Compute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IgniteDemo
{
class Computer
{
static void Main(string[] args)
{
Computer.Compute();
... |
using System.Linq;
using System.Net;
using System.Web.Mvc;
using Asset.BisnessLogic.Library.Organizations;
using Asset.Models.Library.EntityModels.OrganizationModels;
namespace AssetTrackingSystem.MVC.Controllers.Organizations
{
[Authorize]
public class DesignationsController : Controller
{
privat... |
using System;
using System.Collections.Generic;
using System.Text;
using Entity;
using System.IO;
namespace Business
{
public class MatHangBO
{
public static String defaultImagePath = "default.jpg";
public static String defaultDirectory = "";// cái này đc set trong setting
... |
using System;
using System.Linq;
using IronMan.Core;
using IronMan.Weapons;
using IronMan.Weapons.Missiles;
using LightInject;
namespace IronMan.Jarvis
{
public static class Jarvis
{
public static void Main()
{
try
{
var container = ConfigureContainer();... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.StudentInfo
{
public enum Specialties
{
Biology, Chemistry, History
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Data;
using System.Linq;
namespace _17110094_NguyenAnh_Login
{... |
namespace W3ChampionsStatisticService.CommonValueObjects
{
public static class HeroIconsExtensions
{
public static string ParseReforgedName(this string heroIcon)
{
if (string.IsNullOrEmpty(heroIcon)) {
return "unknown";
}
if (heroIcon == "jai... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InterfaceTestability
{
class Program
{
static void Main(string[] args)
{
var orderProcessor = new OrderProcessor(new ShippingCalculator());
or... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class PlaceTourism
{
[Key]
public int PlaceID { get; set; }
public double Latitude { get; set; }
... |
using DiegoG.Utilities.IO;
using MessagePack;
using System;
namespace D_API.Models.DataKeeper
{
[MessagePackObject]
public class DailyUsageTracker
{
[Key(0)] public DateTime Created { get; set; }
[Key(1)] public TimeSpan Expiration { get; set; }
[Key(2)] public double Upload { get;... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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 required by appl... |
namespace MiHomeLibrary.Communication.Responses
{
public class HeartBeatRsp : ICommandResponse
{
public string cmd { get; set; }
public string model { get; set; }
public string sid { get; set; }
public string short_id { get; set; }
public string token { get; set; }
... |
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using System;
[RequireComponent(typeof(CanvasGroup))]
public class BasePanel : MonoBehaviour
{
[HideInInspector]
public CanvasGroup canvasGroup;
protected Button closeButton;
protected Ctrl ctrl;
protected UIManager UIManage... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace basicWeb
{
public class Graph
{
private string n1;
private string n2;
private double weight;
public Graph(string _n1, string _n2, double _weight)
{
... |
using Newtonsoft.Json;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
/// <summary>
/// A symbol kind.
/// </summary>
[JsonConverter(typeof(NumberEnumConverter))]
public enum SymbolKind
{
File ... |
namespace Models
{
using System.ComponentModel.DataAnnotations;
public class appmodel
{
[Display(Name = "User")]
[Required(ErrorMessage = "Enter user name")]
public string User{ get; set; }
[Display(Name = "Application Name")]
[Required(ErrorMessage = "Enter us... |
using GAPT.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GAPT.Controllers
{
public class InPrincipleController : Controller
{
private GaptDbContext _context;
public InPrincipleController()
{
_co... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
/*
This Application Is Created By Bits Developments / Hasan Elsherbiny
Feel Free To use Any code here but DON'T Forget To Mention Th... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EmptyHand : MonoBehaviour
{
public float range = 10f;
public string[] canPickupTag;
public Camera fpsCam;
private Transform parent;
void Start()
{
parent = transform.parent;
}
// U... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Patterns.Factory
{
class FactoryPizza
{
public Pizza createPizza(string type)
{
Pizza _pizza = null;
if (type.Equals("cheese"))
... |
// <copyright file="UnitOfWork.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace Library.Repositories
{
using System.Threading.Tasks;
/// <summary>
/// This class that receives our AppDbContext instance as a dependency and exposes method... |
using System.Collections.Generic;
namespace WordCounterAPI.Helpers
{
public interface IFile
{
//extend class to add properties and methods
string FileUrl { get; set; }
}
} |
// Accord Imaging Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by ... |
using System.Data.Entity;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Azure.Identity;
using Azure.Security.KeyVault.Secrets;
using Azure.Core;
using System.Configuration;
using System;
namespace HCL.Academy.Model
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using POS_SP.Data;
using POS_SP.Models;
namespace POS_SP.Controllers
{
public class InstallmentSchedulePay... |
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class IndependentTest : SingleTonGO<IndependentTest>
{
public static IndependentTest Instance
{
get
{
return SingleTonGO<IndependentTest>.Me;
}
}
protected override void Awake()
{
if (null == SingleTonGO<IndependentTe... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using ZeroFormatter.Formatters;
namespace ZeroFormatter.Tests
{
[TestClass]
public class TupleFormatterTest
{
[TestMethod]
public void KeyTupleTest()
{
... |
using Domain.Exceptions;
using Domain.SeedWork;
using System;
namespace Domain.Aggregates.ListAggregates
{
public class ListItem : AuditableEntity
{
private Guid _productId;
private string _productName;
private int _units;
private decimal _unitPrice;
public Guid Produc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Game
{
class token
{
//Declare private global variables
PictureBox tokenPB;
Bitmap tokenImage;
//Cons... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StartScene : MonoBehaviour {
public enum LEVEL {EASY, NORMAL, HARD};
public static LEVEL Level;
public int Sequence;
private float Timer;
private bool jumpflag=false;
private void StartGame(int i){
Application.LoadLe... |
using Rabbit.DataUp.Domain;
using System.Collections.Generic;
using System.Data.Entity;
using System.Reflection;
namespace Rabbit.DataUp
{
public interface IDataUpHandlerSearchWorker
{
IEnumerable<IDataUpHandler> GetRemainingRevisions(IDbSet<Revision> systemRevisions, string[] tags, params Assembly[] a... |
using System.Collections.Generic;
using UnityEngine;
public class Ball : MonoBehaviour
{
[SerializeField] Paddle paddle;
[SerializeField] float xPush = 1f;
[SerializeField] float yPush = 15f;
[SerializeField] List<AudioClip> audioClips;
AudioSource audioSource;
Vector3 ballOffset;
bool hasGameStarted ... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace UMA
{
public class TextureProcessPROCoroutine : TextureProcessBaseCoroutine
{
Transform[] textureModuleList;
UMAData umaData;
RenderTexture destinationTexture;
Texture[] resultingTextures;
UMAGeneratorBase umaG... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Claytondus.Square.Models
{
public sealed class SquareListOrder
{
private readonly string _name;
private readonly int _value;
public static readonly SquareListOrder ASC = new SquareLis... |
using UnityEngine;
using System.Collections;
public class Transistor : IObstacle
{
[SerializeField]
private float attackRange;
[SerializeField]
private float attackIntaval;
[SerializeField]
private float attackDamage;
public override void InitObstacle()
{
base.InitObstacle();
... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("AlertPopup")]
public class AlertPopup : DialogBase
{
public AlertPopup(IntPtr address) : this(address, "AlertPopu... |
using SkillsGardenApi.Models;
using SkillsGardenApi.Repositories;
using SkillsGardenDTO;
using SkillsGardenDTO.Response;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SkillsGardenApi.Services
{
public class ExerciseService
{
private ExerciseRepository exe... |
using System.Collections;
using System.Collections.Generic;
using OCP.Files.Cache;
namespace OC.Files.Cache
{
/**
* Fallback implementation for moveFromCache
*/
public abstract class MoveFromCacheTrait
{
/// <summary>
/// store meta data for a file or folder
/// </summary>
//... |
namespace Library_System.ViewModels
{
using System.Collections.Generic;
public class TreeNode
{
public string Name { get; set; }
public string Url { get; set; }
public IEnumerable<TreeNode> Items { get; set; }
public bool HasChildren { get; set; }
}
} |
using API.Entities;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace API.Data
{
public class DataContext : IdentityDbContext<AppUser, AppRole, int, IdentityUserClaim<int>, AppUserRole, IdentityUserLogin<int>,
Ident... |
using System;
namespace KRF.Core.Entities.Sales
{
public class Estimate
{
/// <summary>
/// Estimate unique identifier
/// </summary>
public int ID { get; set; }
/// <summary>
/// Name of the estimate
/// </summary>
public string Name { get; set... |
using System;
namespace Class1017
{
class Program
{
static void Main(string[] args)
{
string.Compare("hello", "world");
string firstName = "Steve";
bool truth = firstName.Equals("Frank");
Console.WriteLine(truth);
int finder = firstN... |
using System;
using System.Collections.Generic;
using System.Text;
namespace QQWry
{
public struct IpLocation
{
public string Ip, Country, Area;
}
}
|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Asset.Models.Library.EntityModels.AssetsModels.AssetSetups
{
public class AssetModel
{
[Required]
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; ... |
using System;
using Xunit;
using LeafsBoolTwoTrees.Classes;
namespace LeafsBoolTwoTreesTDD
{
public class UnitTest1
{
/// <summary>
/// Test for method that counts number of leafs
/// </summary>
[Fact]
public void CountingNumberOfLeafsTest1()
{
FileSt... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Validation.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project root for licens... |
using Alarmy.Common;
using System.Linq;
namespace Alarmy.Core
{
internal class MissedAlarmReminderManager : AlarmReminderManager
{
public MissedAlarmReminderManager(IAlarmService alarmService, ITimer reminderTimer) : base(alarmService, reminderTimer) {}
protected override string PrepareMessag... |
using System;
using System.Text;
using System.IO;
using System.Net;
namespace TTW
{
public class translater
{
#region Constants
const string cApiCallUrl = "https://api.microsofttranslator.com/v2/http.svc/Translate?appid={0}&text={1}&from={2}&to={3}";
const string cTokenU... |
using Exiled.Events.EventArgs;
using MEC;
using Exiled.API.Features;
using System;
using System.Linq;
namespace Scp330Control
{
public class EventHandlers
{
public static Random rng = new Random();
public bool doorLocked = false;
public void OnRoundStarted()
{
if ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayeCtrl : MonoBehaviour
{
//플레이어 스탯관련
private float m_f_h;
private float m_f_v;
private float m_f_r;
private Transform m_T_tr;
private float m_f_speed = 4f; //마우스 회전속도
[SerializeField]
private... |
namespace Vasily.Model
{
public enum OperatorChar
{
AND,
OR,
GTR,
EQU,
NEQ,
LSS,
GEQ,
LEQ
}
}
|
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using DotNetNuke.Services.FileSystem;
namespace DotNetNuke.Services.Assets
{
public class FolderPathComparer : ICom... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using VKDesktop.Core.Messages;
using VKDesktop.Core.Users;
namespace VKDesktop.Api
{
class Request
{
static string getU... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class StatusEffectController : MonoBehaviour {
[SerializeField]
List<StatusEffect> statusEffects;
[SerializeField]
List<GameObject> statusEffectPanels;
[SerializeField]
GameObject status... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyAttack : MonoBehaviour
{
float nextTimeAttackIsAllowed = -1.0f;
[SerializeField] float attackDelay = 1.0f;
[SerializeField] int damageDealt = 5;
void OnTriggerStay(Collider other)
{
if (othe... |
using System.Collections.Generic;
using Models;
namespace Assignment_1.Data
{
public interface ITFamilyManager
{
IList<Family> getFamilies();
IList<Adult> getAdults();
Family get(int id);
void AddAdult(Adult adult, int id);
void AddPet(Pet pet, int id);
void Add... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.Cashbag
{
/// <summary>
/// 还款记录
/// </summary>
public class RepaymentLogDto
{
/// <summary>
/// 流水号
/// </summary>
public string Seria... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.