Catel.IoC.TypeFactory.ConstructorCacheKey.ConstructorCacheKey C# (CSharp) Method

ConstructorCacheKey() public method

public ConstructorCacheKey ( Type type, object parameters ) : System
type System.Type
parameters object
return System
            public ConstructorCacheKey(Type type, object[] parameters)
            {
                string key = type.GetSafeFullName(true);
                foreach (var parameter in parameters)
                {
                    key += "_" + ObjectToStringHelper.ToFullTypeString(parameter);
                }

                Key = key;
                _hashCode = Key.GetHashCode();
            }
            #endregion
TypeFactory.ConstructorCacheKey