Skip to content

Commit

Permalink
Fixing code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
einari committed Feb 28, 2024
1 parent d7c27b9 commit 3627161
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ public class MyNotifyingObject : INotifyPropertyChanging
    {
       get
       {
          return this.\_name;
          return this._name;
       }

       set
       {
          if ((this.\_name != value))
          if ((this._name != value))
          {
             this.OnPropertyChanging("Name");
             this.\_name = value;
             this._name = value;
             this.OnPropertyChanged("Name");
          }
       }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ The schemes you return should only be the name of the scheme, without the "://"
```csharp
public class WcfFileLoader : Balder.Content.IFileLoader
{
public Stream GetStream(string fileName)
{
// Do magical WCF calls and return a stream
}
public bool Exists(string fileName)
{
// Do some more magical WCF calls and return wether or not the file exists
public Stream GetStream(string fileName)
{
// Do magical WCF calls and return a stream
}

public bool Exists(string fileName)
{
// Do some more magical WCF calls and return wether or not the file exists
}

public string[] SupportedSchemes { get { return [] { "wcf" }; }
}
public string\[\] SupportedSchemes { get { return \[\] { "wcf" }; } }
```

The filename would then be something like : "wcf://my3DModel.ase".

0 comments on commit 3627161

Please sign in to comment.