This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace ApplicationTask.CancellationTokenExample { | |
| /// <summary> | |
| /// Classe | |
| /// </summary> | |
| class Program { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using RestSharp; | |
| using RestSharp.Authenticators; | |
| namespace RabbitMQRestApiManager { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using MongoDB.Bson.Serialization.Attributes; | |
| using MongoDB.Driver; | |
| using Newtonsoft.Json; | |
| namespace MongoDBPersitDataExample { | |
| /// <summary> | |
| /// Programa principal | |
| /// Dependências NuGet: install-package mongocsharpdriver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using DNAuth.FrameworkUtility.Configs.Interfaces; | |
| using RedisBoost; | |
| using System.Threading.Tasks; | |
| namespace FrameworkUtility.Clients { | |
| /// <summary> | |
| /// Gerenciador de conexão do Redis | |
| /// </summary> | |
| public class CacheConnectionManager { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Newtonsoft.Json; | |
| using StackExchange.Redis; | |
| using StackExchange.Redis.Extensions.Core; | |
| using StackExchange.Redis.Extensions.Newtonsoft; | |
| namespace Library { | |
| /// <summary> | |
| /// Gerenciador de cache | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Linq.Expressions; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using Newtonsoft.Json; | |
| using Newtonsoft.Json.Linq; | |
| using StackExchange.Redis; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Timers; | |
| using Topshelf; | |
| namespace TopshelfTry { | |
| /// <summary> | |
| /// Camada de processamento | |
| /// </summary> | |
| public class ProcessLayer { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <boost/crc.hpp> | |
| #include <ios> | |
| #include <iostream> | |
| #include <string> | |
| //Define namespace | |
| using namespace std; | |
| //Main method | |
| int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Threading; | |
| public class TaskInfo { | |
| public RegisteredWaitHandle Handle = null; | |
| public string OtherInfo = "default"; | |
| } | |
| public class Example { | |
| public static void Main(string[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using Akka.Actor; | |
| namespace akkat1 { | |
| internal class Program { | |
| private static void Main() { | |
| var actorSystem = ActorSystem.Create("IDGActorSystem"); | |
| var basicActor = actorSystem.ActorOf<ConsoleActor>(); | |
| basicActor.Tell("Initialized"); | |
| Console.ReadLine(); |
OlderNewer