text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace test15._3and15._4
{
public partial class Form2 : Form
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
public class ExportLuaCode
{
private static byte[] key = new byte[] { 35, 253, 201, 27, 47, 201, 73, 200, 184, 238, 134, 232, 150, 246, 225, 163, 92, 88, 173, 164, 53, 156, 66, 211, 123, 252, 215, 45, 70, 175, 1... |
using CommonLib.Core.Utility;
using CommonLib.Utility;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace CommonLib.Core.Helper
{
public static class PersistenceExtensions
{
public static void Push(this Object data, String objectName = ... |
using UnityEngine;
using System.Collections;
using Puppet.API.Client;
using Puppet;
using System;
using Puppet.Service;
[PrefabAttribute(Name = "Prefabs/Dialog/Gameplay/DialogGameplayBetting", Depth = 9)]
public class DialogBettingView : BaseDialog<DialogBetting, DialogBettingView>
{
#region UnityEditor
publi... |
using System;
/// <summary>
/// Advent of Code - Day 5 namespace
/// </summary>
namespace AdventOfCodeDay5
{
/// <summary>
/// Intcode invalid opcode exception class
/// </summary>
public class IntcodeInvalidOpcodeException : Exception
{
/// <summary>
/// Opcode
/// </summa... |
namespace SincolPDV.Repositorio.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class acerto_FK : DbMigration
{
public override void Up()
{
DropIndex("dbo.Fornecedor", new[] { "DadosBancariosID" });
AlterColumn("dbo.Fornecedor",... |
using System;
using System.Collections.Concurrent;
using Discord;
namespace PlebBot.Caches
{
// Based on https://github.com/RogueException/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Messages/MessageCache.cs
internal class MessageCache
{
private const int ProcessorCountRefreshIntervalM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Web.Models
{
public class SearchGridView
{
public int Status { get; set; }
public string MakeID { get; set; }
public string ModelID { get; set; }
public string VehicleTrimID { get;... |
using System.Collections.Generic;
namespace Turbomix
{
public interface IRecetaService
{
void Guardar(Receta _Receta);
Receta Lee(string _Nombre);
void Delete(string _Nombre);
void Update(string _Nombre, string _NuevoNombre);
IList<Receta> Lista();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Kinect;
using ServerKinect.Skeleton;
using ServerKinect.DataSource;
using ServerKinect.Shape;
namespace ServerKinect.SKDMicrosoft
{
public class SDKSkeletonFrame : NUISkeletonFrame
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AddressBook
{
public class Constants
{
public const string Heading = "\t\t\t\t\t\tADDRESS BOOK APPLICATION";
public const string SwitchStatements = "\nPLEASE SELECT ONE... |
using CoordControl.Core.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CoordControl.Core
{
/// <summary>
/// Участок дискретизации
/// </summary>
public class Region
{
/// <summary>
/// Длина участка
/// </summary>
public double Lenght { get; set;... |
using Content_Manegement.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Content_Manegement.BusinessLayer.Interfaces
{
public interface ICustomerServices
{
Customer RegisterCustomer(Customer customer);
bool Login(string Email, string Password);
in... |
using UnityEngine;
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
public class CsvFileWriter : MonoBehaviour
{
// Private members
private StreamWriter Writer;
public CsvFileWriter(string path)
{
Writer = new StreamWriter(path);
}
public void WriteRow(String colum)... |
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades.Estoque.Suprimentos
{
public class Almoxarifado
{
[CampoTabela("IDALMOXARIFADO")]
public decimal IDAlmoxarifado { get; set; } = -1;
[CampoTabela("DESCRICAO")]
public string Descricao { get; set; }
[CampoTabela("TIPO... |
using Microsoft.Phone.Shell;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rank_Nation_Football_Team
{
public static class Global
{
public static NationTeam Current_Team = null;
}
}
|
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the ab... |
/* SLTrace
* JSON.cs
*
* Copyright (c) 2010, Ewen Cheslack-Postava
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyr... |
using System;
using System.Runtime.InteropServices;
namespace IntegracaoMFE.DLLs
{
internal static class DLLMfe
{
/// <summary>
/// Consultar MFE
/// </summary>
/// <param name="numeroSessao">Número da Sessão</param>
[DllImport(@"mfe.dll", CallingConvention = CallingCo... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
//NAME: JaJuan Webster
//INSTRUCTOR: Chris Cascioli
//MonoGame Text & Input
namespace Webster_MonoGame_Text_Input
{
/// <summary>
/// This is the main type for your ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab4
{
class Notebook
{
Page[] pages;
int numberOfPages;
double width;
double height;
double fontWidth;
double lineHeight;
publ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMouseScript : MonoBehaviour
{
Vector2 mouseLocation;
float mouseHoldDuration;
public Vector3 GetMousePosition()
{
// Do we need to be so protective of the mouse location, I wonder?
retur... |
// Accord Statistics 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 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using vmware.samples.common;
using vmware.samples.common.authentication;
using vmware.vcenter;
namespace Deployer2._0.Models
{
public class Virtu... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NetFabric.Hyperlinq
{
public static partial class ArrayExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static List<TSource> ToList<TSource>(this Span<TSource> source)... |
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------
using Microsoft.Extensions.Opt... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Task9.cs" company="">
//
// </copyright>
// <summary>
// The task 9.
// </summary>
// ----------------------------------------------------------------------------------------... |
using System;
using System.Linq;
namespace Battleship.Model
{
public class Ship
{
public Ship(int size, string name)
{
Size = size;
Name = name;
_hits = new bool[Size];
}
public int Size { get; }
public string Name { get; }
... |
using UnityEngine;
using System.Collections;
// Require these components when using this script
[RequireComponent(typeof (Animator))]
[RequireComponent(typeof (CapsuleCollider))]
[RequireComponent(typeof (Rigidbody))]
public class BotControlScript : MonoBehaviour
{
[System.NonSerialized]
public float animSpeed ... |
class SegmentTree<T>
{
public int Count { get; private set; }
T Identity;
T[] Data;
Func<T, T, T> Merge;
int LeafCount;
public SegmentTree(int count, T identity, Func<T, T, T> merge)
{
Count = count;
Identity = identity;
Merge = merge;
LeafCount = 1;
w... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RequesterController.cs" company="">
//
// </copyright>
// <summary>
// The requester controller.
// </summary>
// ------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class SysManege_NewRoleInfo : System.Web.UI.Page
{
PDTech.OA.BLL.ROLE_INFO rBll = new PDTech.OA.BLL.ROLE_INFO();
string rId = "";
protected void Page_Lo... |
//
// 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;
#endregion
namespace DotNetNuke.Services.Log.EventLog
{
[Serializable]
public class LogTypeInfo
{
publ... |
using BigEndian.IO;
using System;
namespace nuru.IO.NUI.Cell.Glyph
{
public class GlyphASCIIReader : IGlyphReader
{
public virtual char Read(BigEndianBinaryReader reader)
{
return Convert.ToChar(reader.ReadByte());
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SavarankikasAdvansed1
{
struct Studentas
{
public int PirmasTrimestras;
public int AntrasTrimestras;
public int TreciasTrimestras;
public Studentas(int... |
/*
* 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... |
//
// 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;
using System.Web.UI;
using System.Web.UI.WebControls;
using DotNetNuke.Framework;
using DotNetNuke.Framework.JavaScriptLibr... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace TrashCollectorApp.Data.Migrations
{
public partial class V33 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "AspNetRoles",
ke... |
using System;
namespace RO
{
[CustomLuaClass]
public enum PhotographMode
{
SELFIE,
PHOTOGRAPHER
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MyWpf
{
class AnotherClass
{
}
}
|
namespace Kraken.Models
{
using System.ComponentModel.DataAnnotations;
public class ApplicationUser
{
[Key]
public string UserName { get; set; }
public string OctopusApiKey { get; set; }
}
}
|
using Xunit;
namespace MonoGame.Extended.Tests.Primitives
{
public class ShapeTests
{
[Fact]
public void CircCircIntersectionSameCircleTest()
{
IShapeF shape1 = new CircleF(Point2.Zero, 2.0f);
IShapeF shape2 = new CircleF(Point2.Zero, 2.0f);
Assert.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccessLayer.basis;
using Model.DataEntity;
using Model.Schema.EIVO;
using System.Text.RegularExpressions;
using Model.Resource;
using System.Globalization;
using Model.Locale;
using Model.InvoiceManagement.ErrorHandle;
usi... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using Tsu.CLI.SourceGenerator.CommandManager;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static Microsoft.CodeAnalysi... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace DotNetCoreSwagger.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class OpenAPIListify : ControllerBase
{
... |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.EventSystems;
public class Dungeon : MonoBehaviour
{
DungeonStateHandler dungeonStateHandler;
public Room currentRoom;
public PlayerEntity player;
public Component[] enemies;
public Dunge... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Li... |
using System;
using System.Collections.Generic;
using KRF.Core.FunctionalContracts;
using KRF.Core.Repository;
using KRF.Core.Entities.Sales;
using KRF.Core.DTO.Sales;
namespace KRF.Persistence.RepositoryImplementation
{
public class EstimateManagementRepository : IEstimateManagementRepository
{
priva... |
namespace XShare.Data
{
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using XShare.Data.Models;
public interface IXShareDbContext
{
IDbSet<User> Users { get; set; }
IDbSet<Rating> Ratings { get; set; }
IDbSet<Car> Cars { get; set; }
IDbSet<Re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using BPiaoBao.AppServices.DataContracts.DomesticTicket;
using BPiaoBao.AppServices.StationContracts.DomesticTicket;
using BPiaoBao.DomesticTicket.Platform.Plugin;
using JoveZhao.Framework;
namespace BPiao... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreStuff : GameManager {
public Text[] HighScoreText;
private int[] hightScoreValue;
private static ScoreStuff instance = null;
// Use this for initialization
void Start () {
hightScoreValue =... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Fundamentals.Models.Authorization
{
public class UserViewModel
{
[Key]
[Required]
public int Id { get; set; }
public MemberType MemberType { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class ObjectGenerator : MonoBehaviour
{
[SerializeField] private GameObject cubePrefab;
[SerializeField] private GameObject spherePrefab;
[SerializeField] private GameObject capsulePrefab;
private GameO... |
/*
* Copyright © 2016 - 2020 EDDiscovery development team
*
* 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 applica... |
using SharpPcap.Packets;
using System;
using System.Collections;
using System.Net.NetworkInformation;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace TrafficDissector.UI.PacketHeadersUserControls
{
internal partial class EthernetHeaderUserControl : BaseHeaderUserControl
{
#r... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlatformSpawner : MonoBehaviour
{
public GameObject platform;
public GameObject[] platforms;
public Transform spawnPoint;
public float distance;
private int platformChoice;
private float[] platform... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DynamoDbDemo.Models;
using DynamoDbDemo.Persistence;
namespace DynamoDbDemo.Services
{
public class ProductReviewService : IProductReviewService
{
private readonly IProductReviewRepository _productRe... |
using System;
namespace Carpark.Register.Application.Extensions
{
public static class TimeSpanExtensions
{
public static int RoundedUpHours(this TimeSpan timeSpan)
{
return (int)Math.Ceiling(timeSpan.TotalHours);
}
}
}
|
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades
{
public class FormaDePagamento
{
[CampoTabela("IDFORMADEPAGAMENTO")]
[MaxLength(18)]
public decimal IDFormaDePagamento { get; set; } = -1;
[CampoTabela("CODIGO")]
[MaxLength(2)]
public decimal Codigo { get; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EqualityLogic
{
public class StartUp
{
public static void Main()
{
int n = int.Parse(Console.ReadLine());
SortedSet<Person> peopleSorted = new Sort... |
using SafeSpace.domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SafeSpace.console
{
class Program
{
static void Main(string[] args)
{
// Kiran Self Reporting
UserService kiran = new Us... |
using AutoMapper;
using ImmedisHCM.Data.Entities;
using ImmedisHCM.Services.Models.Core;
namespace ImmedisHCM.Services.Mapping
{
public class EmergencyContactMapping : Profile
{
public EmergencyContactMapping()
{
CreateMap<EmergencyContact, EmergencyContactServiceModel>()
... |
using UnityEngine;
using System.Collections;
public class Parallax : MonoBehaviour {
public Rigidbody2D player;
// public int yPosition;
// Use this for initialization
void Start () {
player = GetComponent<Rigidbody2D>();
}
// Update is called once per frame
void Update () {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoFinalParadigmas
{
[Serializable]
public class colectivo
{
public string patente;
bool estado;
combustible combustible;
//permite mostrar l... |
using CodeOwls.PowerShell.Paths;
using Moq;
using System;
using System.IO;
using System.Linq;
using System.Management.Automation;
using TreeStore.Model;
using TreeStore.PsModule.PathNodes;
using Xunit;
namespace TreeStore.PsModule.Test.PathNodes
{
public class FacetPropertyNodeTest : NodeTestBase
{
#r... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Boundary {
public float xMin, xMax, yMin, yMax;
}
public class PlayerController : MonoBehaviour {
public float speed = 30f;
public float tilt;
public Boundary boundary;
priv... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using System;
using Random = UnityEngine.Random;
public class Hero : MonoBehaviour {
public Guid ID;
public bool Idle = true;
public string Name;
public ClassTypeEnum ClassType = ClassTypeEnum.Warrior... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace Retail.Tests
{
[TestClass]
public class CustomerTests
{
[TestMethod]
public void TestSerialize()
{
var... |
using Newtonsoft.Json;
using System;
/// <summary>
/// Scribble.rs ♯ JSON converters namespace
/// </summary>
namespace ScribblersSharp.JSONConverters
{
/// <summary>
/// A class used for convert game state to JSON and vice versa
/// </summary>
internal class GameStateJSONConverter : JsonConverter<EGa... |
// ------------------------------------------------------------------------------
using System;
namespace GameProgrammingPatterns
{
public enum Direction
{
DIR_LEFT,
DIR_RIGHT
}
public class Volume
{
}
public class Sprite
{
}
public class Worl... |
using System;
using System.Collections;
using System.Net;
namespace Siemens.Simatic.RfReader
{
/// <summary>
/// Helper class to contain the initialization data for a reader.
/// </summary>
public class RfReaderInitData
{
/// <summary> This is the default port for communication channel</summary>
... |
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using OmniSharp.Extensions.DebugAdapter.Protocol.Requests;
using OmniSharp.Extensions.DebugAdapter.Testing;
using OmniSharp.Extensions.JsonRpc.Testing;
using Xunit;
using Xunit.Abstractions;
namespace Dap.Tests.Integration... |
using System;
using System.Linq;
namespace FinalliziedProject.Databases
{
public class DummyDataCreator
{
public void createDummyData(string dbName)
{
using (var dataContext = new SampleDBContext(dbName))
{
Console.WriteLine( "db created..." );
... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace UMA
{
public abstract class UMAMeshCombiner : MonoBehaviour
{
public abstract void UpdateUMAMesh(bool updatedAtlas, UMAData umaData, string[] textureNameList, int atlasResolution);
}
}
|
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
string expected = "Hi, Peera";
string actual = null;
Assert.AreEqual(exp... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CardView : MonoBehaviour {
public SpriteRenderer background;
public Image topImage;
public Text title;
public void SetData(CardData cardData)
{
title.text = card... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyObstacle : MonoBehaviour
{
//플레이어의 무적상태 여부를 알려주는 변수
void Start()
{
}
void Update()
{
//장애물을 왼쪽으로 이동 시키고 왼쪽 화면 밖으로 완전히 나가면 오른쪽 화면 밖으로 이동 시킨다(돌려쓰기)
this.transform.positio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using Contoso.Transport.Services.Models;
namespace Contoso.Transport.Services.Controllers
{
[Authorize]
[RoutePrefix("api/package")]
public ... |
using UnityEngine;
public class camera : MonoBehaviour
{
public Transform player;
[Space(25)]
[SerializeField] float cameraOffsetY = -1;
Transform player1, player2;
private Transform cameraObject;
float distance;
void Update()
{
transform.position = new Vector3(player.positio... |
namespace CloneDeploy_Entities.DTOs.ClientPartition
{
public class ClientVolumeGroupHelper
{
public long AgreedPvSizeBlk { get; set; }
public bool HasLv { get; set; }
public bool IsFusion { get; set; }
public long MinSizeBlk { get; set; }
public string Name { get; set; }... |
//
// 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.Net.Http;
using DotNetNuke.Entities.Modules;
namespace DotNetNuke.Web.Api
{
public interface ITabAndModuleInfoProvider
{
boo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Recipes.Models;
namespace Recipes.Controllers
{
public class HomeController :Controller
{
private IRecipeRepository repository;
public HomeController(IRecipeR... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace TabbedPage
{
// Learn more about making custom code visible in the Xamarin.Forms previewer
// by visiting https://aka.ms/xamarinforms-... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Envision.MDM.Location.Domain.Common
{
public interface ICommandRepository<T> where T : IAggregateRoot
{
IUnitofWork UnitofWork { get; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialNaikLevel3 : MonoBehaviour
{
public void NaikLevel() {
PlayerPrefs.SetInt("x", 59);
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using ZiZhuJY.Common.Extensions;
namespace ZiZhuJY.Common.Helpers
{
public class FileHelper
{
public static string GetHash(FileStream stream)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Clearcheck : MonoBehaviour
{
public csvReader csv;
public GameSetting setting;
public CardSetting cardsetting;
public UiManager u;
public void Clear()
{
if (GameSetting.nowStage + 1 <= 3)
... |
using System;
namespace Grisaia.Extensions {
/// <summary>
/// Extensions for <see cref="string"/> objects.
/// </summary>
public static partial class StringExtensions {
#region Surround
/// <summary>
/// Returns the string that starts and ends with <paramref name="openClose"/>.
/// </summary>
/// <p... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace NaturalDisasterDatabaseWebsite.Models
{
public class EarthquakeViewModel
{
[Key]
public int ID { get; set; }
[Display(Name ="年份")]
... |
using Probelms.Kattis.Com.Core;
namespace RussianDolls.Kattis.Com
{
public class DollComparer : ItemComparer
{
protected override int ActualCompare(IItem item1, IItem item2)
{
Doll d1 = (Doll) item1;
Doll d2 = (Doll) item2;
if (d1 == null && d2 == null) retu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.FullTextSearch.Service
{
/**
* Interface IProviderService
*
* @since 15.0.0
*
* @package OCP\FullTextSearch\Service
*/
interface IProviderService {
/**
* Check if the provider providerId is already indexed.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using Test.Server;
using System.Threading;
namespace Test.LoadBalancerApp
{
public class ServerInfo
{
public int ConnectedClients;
Socket tcpSocket;
string ipad... |
//
// 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;
using DotNetNuke.Common;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Security.Pe... |
using Game;
using UnityEngine;
namespace Steamworks.NET
{
public class SteamStatsAndAchievements : MonoBehaviour
{
// The achievements assigned as enum as indexes to the database
private enum Achievement : int
{
ACH_START_GAME,
ACH_KILLENEMY_5,
ACH_D... |
using System;
using System.Data;
using System.IO;
using NPOI.HSSF.UserModel;
using NPOI.SS.Formula.Eval;
using NPOI.SS.UserModel;
using NPOI.SS.Util;
using NPOI.XSSF.UserModel;
using NPOI.XWPF.UserModel;
using System.Text;
using System.Collections.Generic;
namespace Rays.Utility
{
/// <summary>
/// NPOIHelper... |
using MongoDB.Bson;
using System;
namespace Domain.Entities
{
public class AdminMaster : IEntity
{
public AdminMaster()
{
CreatedDate = DateTime.UtcNow.ToString();
ModifiedDate = DateTime.UtcNow.ToString();
logInDateTime = DateTime.UtcNow.ToString();
... |
using System;
namespace SGDE.Domain.ViewModels
{
public class ReportQueryViewModel
{
public DateTime startDate { get; set; }
public DateTime endDate { get; set; }
public int? workerId { get; set; }
public int? workId { get; set; }
public int? clientId { get; set; }
... |
using System;
using Language.Analyzer;
namespace Language.Generator
{
public class Register : IPlace
{
public string B64 { get; }
public string B32 { get; }
public string B16 { get; }
public string B8 { get; }
public static readonly Register Rax = new Register("rax", "... |
using System;
using System.Numerics;
namespace AddrConverter
{
// All functions are a part of Cryptocurrency.Net library
public static class Extensions
{
/// <summary>
/// Appends a new byte to the beginning of the given byte array and returns a new array with a bigger length.
/// ... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Web.UI.WebControls;
using Ctrip.SOA.Comm;
using WebServiceTestTools.Config.Config.Implement;
using WebServiceTestTools.Config.Config.Implement.CommonSetting;
using WebServiceTestTools.Contract.M... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.