Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added query methods to support Android SDK 1.3.0 #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 135 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
root = true

[*]
indent_style = space
trim_trailing_whitespace = true

##### .NET Framework/.NET Core Projects #####

[*.sln]
charset = utf-8-bom
indent_style = tab
insert_final_newline = true

[*.{csproj,dcproj,vbproj}]
charset = utf-8-bom
indent_size = 2
insert_final_newline = true

[*.{cs,csx,vb,vbx}]
charset = utf-8-bom
indent_size = 4
insert_final_newline = true
max_line_length = 120

dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
dotnet_style_require_accessibility_modifiers = always:warning
dotnet_style_readonly_field = true:warning
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_auto_properties = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion

csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_style_expression_bodied_methods = true:suggestion
csharp_style_expression_bodied_constructors = true:suggestion
csharp_style_expression_bodied_operators = true:suggestion
csharp_style_expression_bodied_properties = true:suggestion
csharp_style_expression_bodied_indexers = true:suggestion
csharp_style_expression_bodied_accessors = true:suggestion
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion

csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
csharp_prefer_simple_default_expression = true:suggestion
csharp_prefer_braces = true:suggestion

visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion

dotnet_sort_system_directives_first = true

csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left

csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false

csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true

##### Documents #####

[*.{json,json5,xml}]
charset = utf-8
indent_size = 2

[*.md]
charset = utf-8
insert_final_newline = true

[*.{yml}]
charset = utf-8
indent_size = 2
insert_final_newline = true

##### Shell Scripts #####

[*.{bat,cmd}]
charset = utf-8
end_of_line = crlf
indent_size = 2
insert_final_newline = true

[*.ps1]
charset = utf-8-bom
indent_size = 2
insert_final_newline = true

[*.sh]
charset = utf-8
end_of_line = lf
indent_size = 2
insert_final_newline = true

##### Web Projects #####

[*.{css,html,js,jsx,less,sass,scss,svg,ts,tsx}]
charset = utf-8
indent_size = 2
insert_final_newline = true
max_line_length = 120
120 changes: 120 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
* text=auto
*.7z binary
*.ai binary
*.bat text eol=crlf
*.bmp binary
*.class binary
*.cmd text eol=crlf
*.coffee text
*.cs text diff=csharp
*.csproj text
*.css text diff=css
*.csv text
*.dll binary
*.doc diff=astextplain
*.dockerignore text
*.docx diff=astextplain
*.dot diff=astextplain
*.env text
*.eot binary
*.eps binary
*.exe binary
*.gif binary
*.gz binary
*.htm text diff=html
*.html text diff=html
*.ico binary
*.ini text
*.jar binary
*.java text diff=java
*.jpg binary
*.jpeg binary
*.js text
*.json text
*.jsp text
*.jsx text
*.less text
*.m4a binary
*.m4v binary
*.md text
*.meta text
*.mid binary
*.midi binary
*.mov binary
*.mp3 binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogg binary
*.otf binary
*.pbxproj binary -merge=union
*.pdf binary
*.php text diff=php
*.pl text diff=perl
*.pm text diff=perl
*.png binary
*.psd binary
*.ps1 text
*.pxd text
*.py text diff=python
*.py3 text diff=python
*.pyc binary
*.pyd binary
*.pyo binary
*.pyw text diff=python
*.pywz binary
*.pyx text
*.pyz binary
*.rar binary
*.rb text diff=ruby
*.rtf diff=astextplain
*.sass text
*.scss text
*.sh text eol=lf
*.sln text
*.so binary
*.sql text
*.styl text
*.svg text
*.svgz binary
*.tar binary
*.tif binary
*.tiff binary
*.ts text
*.tsv text
*.tsx text
*.ttf binary
*.txt text
*.war binary
*.wav binary
*.wbmp binary
*.webm binary
*.webp binary
*.woff binary
*.woff2 binary
*.xhtml text diff=html
*.xml text
*.xz binary
*.yaml text
*.yml text
*.zip binary
.editorconfig text
.eslintrc text
.gitattributes text
.gitconfig text
.gitignore text
.htaccess text
AUTHORS* text
CHANGELOG* text
CHANGES* text
CONTRIBUTING* text
COPYING* text
COPYRIGHT* text
Dockerfile text
INSTALL* text
LICENSE* text
Makefile text
makefile text
NEWS* text
README* text
TODO* text
Loading