Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/16 23:32:37 (8 years ago)
Author:
thasling
Message:

#2615:
delete unneeded project, appended code style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/thasling/DistributedGA/DistributedGA.Core/Implementation/MessageContractImpl.cs

    r13887 r13924  
    44using DistributedGA.Core.Interface;
    55
    6 namespace DistributedGA.Core.Implementation
    7 {
    8     [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
    9     public class MessageContractImpl : IMessageContract
    10     {
    11         public void SendData(PeerInfo sender, byte[][] data)
    12         {
    13             MessageRecieveEventArgs args = new MessageRecieveEventArgs() { Sender = sender, data = data };
     6namespace DistributedGA.Core.Implementation {
     7  [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
     8  public class MessageContractImpl : IMessageContract {
     9    public void SendData(PeerInfo sender, byte[][] data) {
     10      MessageRecieveEventArgs args = new MessageRecieveEventArgs() { Sender = sender, data = data };
    1411
    15             if (MessageRecieved != null)
    16             {
    17                 MessageRecieved(this, args);
    18             }
    19         }
     12      if (MessageRecieved != null) {
     13        MessageRecieved(this, args);
     14      }
     15    }
    2016
    21         public event EventHandler<MessageRecieveEventArgs> MessageRecieved;
     17    public event EventHandler<MessageRecieveEventArgs> MessageRecieved;
    2218
    23     }
     19  }
    2420}
Note: See TracChangeset for help on using the changeset viewer.