ReSharper.NTriples.Cache.IdentifierInfo.CreateClassDeclaration C# (CSharp) Method

CreateClassDeclaration() public static method

public static CreateClassDeclaration ( bool isClassDeclaration, string declaredTypePropertyNames ) : IdentifierInfo
isClassDeclaration bool
declaredTypePropertyNames string
return IdentifierInfo
        public static IdentifierInfo CreateClassDeclaration(bool isClassDeclaration, string[] declaredTypePropertyNames)
        {
            var info = new IdentifierInfo
                {
                    Kind = IdentifierKind.Subject,
                    IsClassDeclaration = isClassDeclaration,
                    IsTypePropertyDeclaration = declaredTypePropertyNames.Length > 0,
                    DeclaredTypeNames = new string[0],
                    DeclaredTypePropertyNames = declaredTypePropertyNames
                };
            return info;
        }