Catel.SerializationJsonModule.Initialize C# (CSharp) Метод

Initialize() публичный Метод

Initializes the specified service locator.
public Initialize ( IServiceLocator serviceLocator ) : void
serviceLocator IServiceLocator The service locator.
Результат void
        public void Initialize(IServiceLocator serviceLocator)
        {
            Argument.IsNotNull("serviceLocator", serviceLocator);

            serviceLocator.RegisterType<IJsonSerializer, JsonSerializer>();
        }
        #endregion
SerializationJsonModule