Esempio n. 1
0
        public static string BuildPropertyName(
            this Type type,
            HierarchyKind hierarchyKind,
            string prefix)
        {
            var result = Invariant($"{hierarchyKind.BuildNameToken()}{prefix}{type.BuildNameToken()}Property");

            return(result);
        }
Esempio n. 2
0
        public static string BuildScriptedModelName(
            this DeclaredKeyMethod declaredKeyMethod,
            SetterKind setterKind,
            HierarchyKind hierarchyKind,
            TypeWrapperKind typeWrapperKind,
            string childIdentifier)
        {
            var result = Invariant($"{Settings.ModelBaseName}{declaredKeyMethod.BuildNameToken()}{setterKind.BuildNameToken()}{typeWrapperKind.BuildNameToken()}{hierarchyKind.BuildNameToken()}{childIdentifier}");

            return(result);
        }