This file contains 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
/// <summary> | |
/// Subscribes collection child item events to some specific handler. | |
/// The logic of subscription and unsubscription can be complicated, | |
/// considering that you need to take into account collection changes, | |
/// new child items have to subscribe, while unused and removed items | |
/// need to unsubscribe. | |
/// </summary> | |
public class CollectionSubscription<TItem, THandler> | |
{ | |
private Action<TItem> subscribe; |
This file contains 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
Mon Aug 06 15:31:34 | |
Mon Aug 06 15:31:34 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability. | |
Mon Aug 06 15:31:34 | |
Mon Aug 06 15:31:34 versionCmpTest passed | |
Mon Aug 06 15:31:34 versionArrayTest passed | |
Mon Aug 06 15:31:34 shardObjTest passed | |
Mon Aug 06 15:31:34 shardKeyTest passed | |
Mon Aug 06 15:31:34 isInRangeTest passed | |
Mon Aug 06 15:31:34 [initandlisten] MongoDB starting : pid=2848 port=27017 dbpath=..\data 32-bit host=Cybertron | |
Mon Aug 06 15:31:34 [initandlisten] |
This file contains 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
public class Wrapper | |
{ | |
public Wrapper(string value) | |
{ | |
_value = value; | |
} | |
private string _value; | |
} |
This file contains 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
class Program | |
{ | |
static Program() | |
{ | |
var thread = new Thread(o => { }); | |
thread.Start(); | |
thread.Join(); | |
} | |
static void Main() |
This file contains 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
public class Test | |
{ | |
public bool CheckIfAnyoneSeeMe() | |
{ | |
return true; | |
} | |
} |