예제 #1
0
 private void OnDeserialized(StreamingContext streamingContext)
 {
     cmp              = (Func <KeyValuePair <TKey, TPriority>, KeyValuePair <TKey, TPriority>, bool>)DelegateSerializationHelper.Deserialize(serializedCmp);
     access           = (Action)DelegateSerializationHelper.Deserialize(serializedAccess);
     serializedCmp    = null;
     serializedAccess = null;
 }
예제 #2
0
 private void OnDeserialized(StreamingContext streamingContext)
 {
     _access           = (Action)DelegateSerializationHelper.Deserialize(_serializedAccess);
     _serializedAccess = null;
 }