You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -0,0 +1,48 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <copyright file="PeerPresenceInfo.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace System.Net.PeerToPeer.Collaboration
|
||||
{
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Encapsulates the presence information for a collab peer
|
||||
/// </summary>
|
||||
public class PeerPresenceInfo
|
||||
{
|
||||
private PeerPresenceStatus m_peerPresenceStatus;
|
||||
private string m_descriptiveText;
|
||||
|
||||
public PeerPresenceInfo() {}
|
||||
|
||||
public PeerPresenceInfo(PeerPresenceStatus presenceStatus, string description) {
|
||||
m_peerPresenceStatus = presenceStatus;
|
||||
m_descriptiveText = description;
|
||||
}
|
||||
|
||||
public PeerPresenceStatus PresenceStatus
|
||||
{
|
||||
get{
|
||||
return m_peerPresenceStatus;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_peerPresenceStatus = value;
|
||||
}
|
||||
}
|
||||
public string DescriptiveText
|
||||
{
|
||||
get{
|
||||
return m_descriptiveText;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_descriptiveText = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user