text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Serilog;
namespace Meetup.Errors.ServiceCaller
{
using MassTransit;
using MassTransit.Policies;
class Program
{
static void Main(string[] args)
{
var logger = new LoggerConfiguratio... |
namespace PW.InternalMoney.Tests
{
public interface ITestsConstants
{
string WebSiteHttpAddress { get; }
string WebSiteTitle { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace Supermarket.Model.Entities
{
[Keyless]
[Table("log_sessions")]
public partial class LogSession
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Configuration;
namespace ConverToTif
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Assets.Code.Items
{
class Key : IItem
{
public string Name
{
get { return "Key"; }
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using DChild.Gameplay.Objects.Characters.Enemies;
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using UnityEngine;
namespace DChildEditor.Gameplay.Enemies
{
[CustomEditor(typeof(HauntingGhostBrain))]
public class HauntingGhostBrain_Inspector ... |
using Machine.Specifications;
using Machine.Specifications.AutoMocking.Rhino;
using Profiling2.Domain.Scr;
using Profiling2.Domain.Scr.Person;
using System.Collections.Generic;
using Profiling2.Domain.Contracts.Tasks.Screenings;
using Profiling2.Tasks.Screenings;
namespace MSpecTests.Profiling2.Screening
{
public... |
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
namespace Beeffective.Tests.Data.CellRepositoryTests
{
class Add : TestFixture
{
[Test]
public async Task Contains_AddedCell()
{
Sut.Add(CellEntity1);
var cellEntities = await Sut.LoadA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
private SqlConnection con;
private SqlDataReader reader;
protected void P... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
float t = 0;
public Text title;
public Image logo;
public GameObject b1, b2;
bool allowLoad;
// Start is called bef... |
using Alabo.Validations;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Cloud.People.UserRightss.Domain.Dtos
{
/// <summary>
/// 增加端口
/// </summary>
public class AddPortsInput
{
/// <summary>
/// 登陆用户Id
/// </summary>
[Range(0, ulong.MaxValue, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DesignPatterns.Structural.Composite
{
public abstract class Employee
{
public string Name { get; set; }
public string Title { get; set; }
public List<Employee> DirectReports { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CEMAPI.Models
{
public class SuccessInfo
{
public int listcount { get; set; }
public int fromrecords { get; set; }
public int torecords { get; set; }
public int totalrecords { get; s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace Task5
{
[Serializable()]
class StateFolder
{
public List<StateFile> State;
public DateTime St... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Framework.Core.Common;
namespace Tests.Pages.Van.SocialOrg.DifferentTasks
{
public class PostAMessageToFacebook:GeneralTask
{
public PostAMessageToFacebook(Driver driver) : base(driver) { }
}
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Plugin.Permissions;
using Plugin.Permissions.Abstractions;
using Xamarin.Forms;
namespace PermissionsExemplo
{
public partial class MainPage : ContentPage
{
public MainPage()
... |
using System;
namespace Max_Number
{
class Program
{
static void Main(string[] args)
{
int numberOfInputs = int.Parse(Console.ReadLine());
int maxNumber = int.MinValue;
int input;
while (numberOfInputs != 0 )
{
input =... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using TestBrokenApp.Models;
using TestBrokenApp.Events;
using Prism.Navigation;
using Prism.Commands;
using Prism.Events;
namespace TestBrokenApp.ViewModels
{
class NewTaskViewModel : BaseViewMod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI.WebControls;
using Sind.BLL;
using Sind.Model;
using Sind.Web.Publico.Code;
using Sind.Web.Publico.Controles;
using Sind.Web.Publico.Helpers;
namespace Sind.Web.Cadastros
{
public partial class GruposVisoesDetalhe : System.Web.... |
using Sentry.Internal.Http;
namespace Sentry.Tests;
public partial class HubTests
{
private readonly ITestOutputHelper _output;
private class Fixture
{
public SentryOptions Options { get; }
public ISentryClient Client { get; set; }
public ISessionManager SessionManager { get; s... |
using System.Globalization;
using System.Windows.Controls;
namespace GymWorkout.Validation
{
public class StringLenghtValidation : ValidationRule
{
public StringLenghtValidation()
{
_min = 0;
_max = 50;
}
private int _min;
public int Min
... |
using Newtonsoft.Json;
using NStandard.Json.Converters;
using System;
using System.Text.Json;
using Xunit;
using NewtonsoftJson = Newtonsoft.Json.JsonConvert;
using SystemJson = System.Text.Json.JsonSerializer;
namespace NStandard.Json.Test
{
public class VariantTests
{
private readonly JsonSerializer... |
// Copyright (c) Bruno Brant. All rights reserved.
using AutoFixture;
using AutoFixture.AutoNSubstitute;
using AutoFixture.Xunit2;
namespace RestLittle.Tests
{
/// <summary>
/// Specialization of <see cref="AutoDataAttribute"/> to work
/// with <see cref="NSubstitute"/>.
/// </summary>
public class AutoSubstitut... |
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using SurveyValidation.Models;
namespace SurveyValidation.Controllers
{
public class SurveyController : Controller
{
[HttpGet("")]
public IActionResult Index()
{
return View();
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RPG.Characters
{
[CreateAssetMenu ( menuName = "RPG/Special Ability/Power Attack" )]
public class PowerAttackConfig : AbilityConfig
{
[Header ( "Power Attack Specific" )]
[SerializeField] float extraDamage = 10f;
public... |
using System;
using Newtonsoft.Json;
namespace CC.Utilities.Services
{
public class ServiceException:Exception
{
[JsonProperty("type")]
public virtual string Title{ get; set; }
public ServiceException ():base()
{
Title = "";
}
public ServiceException (string message):base... |
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 Info;
using Session;
namespace Swift_Student
{
public partial class PartAdd :... |
namespace Uintra.Core.Feed.Models
{
public class FeedFilterStateViewModel
{
public bool ShowSubscribed { get; set; }
public bool ShowPinned { get; set; }
public bool IncludeBulletin { get; set; }
}
} |
namespace TripDestination.Services.Data
{
using System;
using Contracts;
using TripDestination.Data.Common;
using TripDestination.Data.Models;
using System.Linq;
using System.Collections.Generic;
using System.Data.Entity;
using Common.Infrastructure.Models;
public class Notificatio... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Behaviors
{
class BehaviorWraithEmitter : Behavior, ITickable
{
static Random Random = new Random();
public ICurio Curio;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Clase que se encarga de recibir el input de un control y mover a su respectivo modelo.
/// Tambien se encarga de las animaciones.
/// </summary>
public class Player : MonoBehaviour
{
private InputControl inputCont... |
namespace streamdeck_client_csharp.Messages
{
internal interface IMessage
{
string Event { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Bb.Wordings
{
public enum MultiplicityEnum
{
Undefined,
Singular,
Plurials
}
}
|
using System.Linq;
namespace EPI.Arrays
{
/// <summary>
/// Write a function that takes as input an array A of digits encoding a decimal number D
/// and updates A to represent the number D + 1
/// </summary>
/// <example>
/// If A = [1, 2, 9] then you should update A to [1, 3, 0]
/// </example>
public static... |
using System;
using Cysharp.Threading.Tasks;
using Cysharp.Threading.Tasks.Linq;
using UnityEngine;
using UnityEngine.Networking;
namespace UniTaskSample
{
public class UniTaskAsyncEnumerableSample : MonoBehaviour
{
// URIの配列
[SerializeField] private string[] _uris;
private async UniTa... |
using ND.FluentTaskScheduling.Model.enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//**********************************************************************
//
// 文件名称(File Name):AddCommandQueueItemRequest.CS
// 功能描述(Descript... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CAPCO.Infrastructure.Domain;
using CAPCO.Infrastructure.Data;
namespace CAPCO.Areas.Admin.Controllers
{
public class ProductSizesController : BaseAdminController
{
private readonly IRe... |
using Edument.CQRS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Events.Cafe
{
public class TabOpened : IEvent
{
public Guid Id { get; set; }
public int TableNumber;
public string Waiter;
}
}
|
using FaceRepository.Models;
using System;
using System.Collections.Generic;
namespace FaceRepository.dbmodel
{
public partial class Noidlog
{
public int Idnoidlog { get; set; }
public string Idcardno { get; set; }
public JsonObject<PictureInfoNoid> Capturephoto { get; set; }... |
namespace Etherama.Common {
public static class TokensPrecision {
public const int Ethereum = 18;
}
}
|
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace L2k2021_02_18_Graphics2
{
// Класс для прорисовки изображений
class Painter
{
// Толщина рисуемых линий
private int lineSize = 3;
// Цвет рисуемых линий
public Color VertexColor = Color.BlueViole... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Plugin.Media;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Newtonsoft;
namespace Proyecto_AppMoviles_
{
public partial class PaginaPagos : Cont... |
using Chess.v4.Models.Enums;
namespace Chess.v4.Models
{
public class Piece
{
public Color Color { get; set; }
public char Identity { get; set; }
public PieceType PieceType { get; set; }
public int OrderOfOperation { get; set; }
public Piece()
{
}
... |
namespace DistributedCollections
{
public interface ISerializer
{
byte[] Serialize<TValue>(TValue value);
TValue Deserialize<TValue>(byte[] bytes);
}
} |
using DataAccess.Interfaces;
using Delivery.Interfaces;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading.Tasks;
/*
* interactor or usecase
*/
namespace Mobile.UseCases.Member.BackgroundJobs
{
public class UpdateDeliveryStatusJob : IJob
{
private readonly IDbContext _dbC... |
namespace PrettyLink.Api.Configuration
{
using System.Diagnostics.CodeAnalysis;
using System.IO;
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.PlatformAbstractions;
using PrettyLink.Domain.DataAccess;
using PrettyLink.Domain.Services... |
using System.Collections;
using System.Collections.Specialized;
using UnityEngine;
public class ray : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
//Debug.Log("a");
Vector3 orig... |
using AutoFixture;
using AutoFixture.Xunit2;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Moq;
using SFA.DAS.Tools.Support.Core.Models;
using SFA.DAS.Tools.Support.Infrastructure.Services;
using SFA.DAS.Tools.Support.UnitTests.AutoFixture;
using SFA.DAS.Tools.Support.W... |
using System;
namespace Vlc.DotNet.Core
{
public sealed class VlcMediaPlayerEndReachedEventArgs : EventArgs
{
}
} |
namespace ChoiceCenium.Services
{
public class LoginService
{
public const string CeniumUsername = "choiceadmin";
public const string CeniumPassword = "choiceadmin123!";
public const string DefaultUser = "defaultadmin";
public const string DefaultPassword = "defaultadmin123!";... |
using UnityEngine;
using System.Collections;
public class ScriptTutorial : MonoBehaviour {
public Sprite[] listTuto;
private int cont;
private SpriteRenderer spriteRenderer;
// Use this for initialization
void Start () {
cont = 0;
spriteRenderer = this.gameObject.GetComponent<SpriteRenderer>();
}
// Up... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EasyDev.PL
{
/// <summary>
/// 普通主键生成器,生成GUID编码
/// </summary>
public class CommonIdentityGenerator : IGenerator
{
public CommonIdentityGenerator() { }
#region IGenerator ... |
using UnityEngine;
public class MainGameController : MonoBehaviour
{
public LevelCreator[] AvailableLevels;
private PlayerMovement _playerMovement;
private ArtController _artController;
private UIController _uiController;
private SaveController _saveController;
private LVLBuilder _lvlBuilder;
private CoinsCont... |
//-----------------------------------------------------------------------
// <copyright file="IDocumentWriter.cs" company="4Deep Technologies LLC">
// Copyright (c) 4Deep Technologies LLC. All rights reserved.
// <author>Darren Ford</author>
// <date>Thursday, April 30, 2015 3:00:44 PM</date>
// </copyright>
//-... |
using System;
using System.Runtime.Serialization;
using System.Threading;
namespace Aquamonix.Mobile.Lib.Domain.Requests
{
public interface IDetailsApiRequest
{
RequestResponseHeader Header { get; set; }
CancellationToken CancellationToken { get; set; }
}
//[DataContract]
//public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Tails_Of_Joy.Models
{
public class Adoption
{
public int Id { get; set; }
public int AnimalId { get; set; }
public int UserProfileId { get; set; }
public int IsA... |
using System;
using System.Collections.Generic;
using System.Text;
namespace pathtest
{
//고양이와 쥐를 표현할 유닛
class CUnit
{
public int [] m_iPos = null; //현재 위치
private List<CNaviNode> m_vecPath; //A*알고리즘에 의해서 찾아진길의 노드
bool m_bMove; //현재 목표점으로 이동... |
using System.Collections.Generic;
using System.Web.Http;
using ILogging;
using ServiceDeskSVC.Domain.Entities.ViewModels.AssetManager;
using ServiceDeskSVC.Managers;
using ServiceDeskSVC.Managers.AssetManager;
namespace ServiceDeskSVC.Controllers.API.AssetManager
{
public class HardwareController : ApiController
... |
using System.Collections.Generic;
using System.Xml.Serialization;
namespace Witsml.Data
{
[XmlRoot("logs", Namespace = "http://www.witsml.org/schemas/1series")]
public class WitsmlLogs : IWitsmlQueryType
{
[XmlAttribute("version")]
public string Version = "1.4.1.1";
[XmlElement("lo... |
using System.Collections.Generic;
using System.Linq;
using System.Web.Services;
using com.Sconit.Entity.ACC;
using com.Sconit.Entity.VIEW;
using com.Sconit.Service;
namespace com.Sconit.WebService
{
[WebService(Namespace = "http://com.Sconit.WebService.SecurityService/")]
public class SecurityService : BaseWe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Services;
using System.Web.Services;
namespace WebApp
{
/// <summary>
/// Summary description for cmssvr
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(Co... |
using System.Collections;
using System.Collections.Generic;
using TimeManipuation;
using UnityEngine;
public enum PlatformRotation { NoRotation = 0,
TowardsCenter = 1,
AwayFromCenter = 1 << 1}
[RequireComponent(typeof(TimeInteractable))]
public class expe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
/// <summary>
/// フィールド内のフラグやUIを管理する
/// </summary>
public class FieldManeger : SingletonMonoBehaviour<FieldManeger>
{
[System.NonSerialized]
public bool[] playerGameOvers = ... |
using gView.Framework.Data;
using gView.Framework.Geometry;
using gView.Framework.system.UI;
using gView.Framework.UI;
using System;
using System.IO;
using System.Threading.Tasks;
namespace gView.DataSources.Shape.UI
{
[gView.Framework.system.RegisterPlugIn("665E0CD5-B3DF-436c-91B4-D4C0B3ECA5B9")]
public class... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Gap.NetFest.DataAccess.DTO
{
[Table("Invoice_Details")]
public class Invoice_Details
{
[Key]
[Column("id")]
public long Id { get; set; }
[Column("id_inv... |
using System;
using System.ComponentModel.DataAnnotations;
using Lottery.Repository.Interfaces;
namespace Lottery.Repository.Entities
{
public class BigLotteryRecordSequence : IEntity, ILotteryRecord
{
[Key]
public int ID { get; set; }
[Required]
public int First { get; set; }... |
using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using System.Windows.Automation;
using FrameworkLibraries;
using FrameworkLibraries.Utils;
using FrameworkLibraries.ActionLibs;
using FrameworkLibraries.AppLibs.QBDT;
using TestStack.BDDfy;
using TestStack.White.UIItems;
using TestSt... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameManager
: MonoBehaviour
, SignalListener<DamageSignal>
, SignalListener<PointSignal>
, SignalListener<OpenForceFieldSignal>
, SignalListener<ResetSignal>
{
public GameObject prefabTile;
public GameObject pre... |
using Cs_Notas.Dominio.Entities;
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;
namespace Cs_Notas.Infra.Data.EntityConfig
{
public class NaturezasC... |
using Nancy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NancyExample
{
public class ResourceModule : NancyModule
{
public ResourceModule() : base("/products")
{
// would capture routes to /products/list sent as a synch... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace SpeedSlidingTrainer.Desktop.Converters
{
public sealed class SwitchConverter : IValueConverter
{
private static readonly... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InheritanceApp
{
class HrEmployee : CompanyEmployee
{
public HrEmployee(string name, string salary, DateTime? date) : base(name, salary, date)
{
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Pobs.Domain.Entities;
using Pobs.Tests.Integration.Helpers;
using Pobs.Web.Models.Notifications;
using Xunit;
namespace Pobs.Tests.Integration.Notifications
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Capstone.Classes
{
public class Candy : Item
{
public override string GetSound()
{
return "Munch munch, yum!";
}
public Candy(string name, decimal price)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Models
{
public class Podcast
{
public string Url { get; set; }
public int Avsnitt { get; set; }
public string Namn { get; set; }
public int Frekvens { get; set; }
public... |
namespace ElementsInRange
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class ListExtensions
{
public static string GetProductsToString(this List<Product> list)
{
StringBuilder sb = new StringBuilder();
foreach ... |
using System;
namespace CourseHunter_62_OptionalsParametrs
{
class Program
{
static void Main(string[] args)
{
Calculator calc = new Calculator();
calc.CalcTriangleArea(10, 20, 30, true);
Console.ReadLine();
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Main : MonoBehaviour {
public GameObject pedra;
public GameObject pena;
public GameObject lesmo;
float salto = 0;
public GameObject raul;
public LayerMask chao;
public CapsuleCollider2D coliderau... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace Sarah
{
public class GameOverScript : MonoBehaviour
{
public static GameOverScript instance;
// Outlets
public Text scoreText;... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Core.Code;
using Core.Entities;
using Core.Extensions;
using Core.Interfaces;
using Core.Models;
using Microsoft.AspNetCore.Hosting;
using Shared.DbInit.Repository;
namespace Core.Services
{
pub... |
using System;
using Alabo.App.Share.TaskExecutes.Domain.Services;
using Alabo.Framework.Tasks.Queues.Models;
using Alabo.Test.Base.Attribute;
using Alabo.Test.Base.Core;
using Alabo.Test.Base.Core.Model;
using Microsoft.AspNetCore.Http;
using Xunit;
using ZKCloud.Open.Share.Models;
namespace Alabo.Test.Core.Tasks.Doma... |
using Newtonsoft.Json.Linq;
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Configuration;
using System.Security.Claims;
using Microsoft.AspNetCore.Http;
using Microsoft.BotCore... |
using UnityEngine;
using UnityEngine.Tilemaps;
using System.Collections.Generic;
using System;
public class BinaryTilemapRenderer : MonoBehaviour {
[SerializeField]
private Tilemap tilemap = null;
[SerializeField]
private TileBase tile = null;
[SerializeField]
public int mapSize;
private... |
#if NET6_0_OR_GREATER
using System;
using System.ComponentModel;
using System.Linq;
namespace NStandard
{
[EditorBrowsable(EditorBrowsableState.Never)]
public static class DateOnlyExtensions
{
/// <summary>
/// Gets a past day for the specified day of week.
/// </summary>
/... |
namespace RosPurcell.Web.Controllers.Sitemap
{
using System.Net.Mime;
using System.Text;
using System.Web.Mvc;
using System.Xml;
using RosPurcell.Web.Controllers.Pages.Base;
public class XmlSitemapController : BasePageController
{
public ContentResult XmlSitemap()
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using SeMo.Extensions;
namespace SeMo
{
public class EncryptionManager
{
public string EncryptWithPub... |
using System;
public partial class Hidden_Fields : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
int a = Convert.ToInt32(hfValue.Value);
lblValue.Text = "Current value is "+a;
}
}
protected void ... |
using System;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
namespace BELCORP.GestorDocumental.DDP.TJ_NotificarPublicados.Features.TJ_NotificarPublicados
{
/// <summary>
/// Esta clase controla los eventos generad... |
using System.Collections.Generic;
using System.Web;
using MVP.Base.BasePresenter;
namespace MVP.Base.BaseUserControl
{
public static class BaseControlCollection
{
/// <summary>
/// Gets the controls.
/// </summary>
public static Dictionary<string, Dictionary<string, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace DMS.Admin
{
public partial class MedicineMaster : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using System;
using System.Windows.Media;
namespace Crystal.Plot2D
{
public static class ColorHelper
{
private readonly static Random random = new();
/// <summary>
/// Creates color from HSB color space with random hue and saturation and brighness equal to 1.
/// </summary>
/// <returns></r... |
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GDS.Comon
{
public class ExcelUtility : IDisposable
{
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem53 : ProblemBase {
private Dictionary<double, double> _factorials = new Dictionary<double, double>();
public override string Pro... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour {
public Tower tower;
private GameObject target;
// Use this for initialization
public float speed = 20f;
void Start () {
tower = GetComponentInParent<Tower> (); //箭塔对于子弹来说相当于父物体
Destroy (this... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class Inventory {
private List<ScriptableItem> items = new List<ScriptableItem>();
public void Add (ScriptableItem item)
{
items.Add(item);
}
public void Remove (ScriptableItem item)
{
items.Remov... |
using UnityEngine;
using System.Collections;
public class Engine : MonoBehaviour {
public GameObject camera,light,bird,floor,background,pipeCreator, thumb;
private PipeCollider pipeCollider;
GameObject birdCamera;
bool hasPipeCollider;
//GUI Bool Elements
bool isNotStarted = true;
bool scoreTicker = false;
... |
using System;
namespace BartlettGenesisLogFileParser
{
internal class BartlettInfo
{
public DateTime DateTime { get; set; }
public decimal Cost { get; set; }
public int BoardTemp { get; set; }
public string FirmwareVersion { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSVHandler
{
public class TransactionFactory
{
public static Transaction createTransaction(String aTransaction)
{
String transDate, transType, vendor, trans... |
// 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 FiiiCoin.Wallet.Win.Common;
using FiiiCoin.Wallet.Win.Models;
using FiiiCoin.Wallet.Win.ValidationRules;
using System;
namesp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using VenteApi.Models;
using System.Text;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System.Threading;
u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.