public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
		{
			UnityObjectSurrogate surrogate = new UnityObjectSurrogate();
			foreach (Type current in RuntimeReflectionUtilities.GetUnityObjectTypes())
			{
				surrogates.AddSurrogate(current, context, surrogate);
			}
		}
Пример #2
0
        public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
        {
            var unityObjectSurrogate = new UnityObjectSurrogate();

            foreach (Type unityObjectType in fiRuntimeReflectionUtility.GetUnityObjectTypes())
            {
                surrogates.AddSurrogate(unityObjectType, context, unityObjectSurrogate);
            }
        }
Пример #3
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context) {
     var unityObjectSurrogate = new UnityObjectSurrogate();
     foreach (Type unityObjectType in fiRuntimeReflectionUtility.GetUnityObjectTypes()) {
         surrogates.AddSurrogate(unityObjectType, context, unityObjectSurrogate);
     }
 }