﻿using Hardcore.ApplicationModel;

namespace Hardcore.Web.Test
{
    public partial class BllServiceProviderBehavior
    {
        private class PublicBlService
        {
        }

        private class StaticBlService
        {
        }

        private class IndexedBlService
        {
        }

        private class PrivateBlService
        {
        }

        private class TestBll : BizLogicLayer
        {
            private IndexedBlService _indexedBlService;

            public static StaticBlService StaticService { get; set; }

            private PrivateBlService PrivateProperty { get; set; }

            public int ValueProperty { get; set; }

            public PublicBlService PublicService { get; set; }

            public IndexedBlService this[int index]
            {
                get { return _indexedBlService; }
                set { _indexedBlService = value; }
            }

            public TestBll(PrivateBlService privateBlService)
            {
                PrivateProperty = privateBlService;
            }

            public TestBll()
            {
            }
        }
    }
}