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);
     }
 }